huan / docker-simple-mail-forwarder

Simplest and Smallest Email Forward Service based on Docker.
https://hub.docker.com/r/zixia/simple-mail-forwarder/
Apache License 2.0
544 stars 88 forks source link

Enable PostSRSd to avoid being marked as spam by failed SPF checks. #103

Closed haratosan closed 3 years ago

haratosan commented 3 years ago

Forwarding to a gmail account never worked for me. The problem was that the SPF check always failed. However, the problem was not my SPF entry, but that of the sender. After some research I found the solution: SRS (Sender Rewriting Scheme). The sender is replaced by a temporary sender from my domain and the SPF check passes. The required daemon was already installed in the container, but unfortunately not activated. With a few lines of code the daemon can be activated, a security key generated and Postfix configured so that now everything works. My mails now no longer end up as spam \o/.

I ask you to consider the changes and optionally enable SRS in the original branch. Thank you for your time

SRS

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

tamaro-skaljic commented 3 years ago

@huan

huan commented 3 years ago

@dimitrovs Thank you very much for the approval!