We experienced some issues with our spam filter because emails are being sent with the wrong HELO:
FILTER_HELO_BADIP(4.50){192.168.224.3;1;}
forms seems to take the local IP, but it has to be the FQDN of the docker host, so lund.fsfeurope.org in this case.
We can retrieve this name either by hardcoding it, or we can add $(hostname --fqdn) as an environment variable to docker-compose.
But I don't know how to change the HELO forms uses. Does anyone else?
We experienced some issues with our spam filter because emails are being sent with the wrong HELO:
`FILTER_HELO_BADIP(4.50){192.168.224.3;1;}`
forms seems to take the local IP, but it has to be the FQDN of the docker host, so `lund.fsfeurope.org` in this case.
We can retrieve this name either by hardcoding it, or we can add `$(hostname --fqdn)` as an environment variable to docker-compose.
But I don't know how to change the HELO forms uses. Does anyone else?
This is how it was solved in fsfe-cd. Should be doable to transfer it to forms:
https://git.fsfe.org/fsfe-system-hackers/fsfe-cd/commit/9e31648edfe117ee46d36faa570890f5bdd891f3
And a short follow-up fix (just the location of the env var): https://git.fsfe.org/fsfe-system-hackers/fsfe-cd/commit/71035c7a62584fd8fe3f6a65dc947e1ea33a3ef5
And this commit fixes the false MID: https://git.fsfe.org/fsfe-system-hackers/fsfe-cd/commit/c6964b1593ec72cce41901c722130c07be2ad65c
We experienced some issues with our spam filter because emails are being sent with the wrong HELO:
FILTER_HELO_BADIP(4.50){192.168.224.3;1;}
forms seems to take the local IP, but it has to be the FQDN of the docker host, so
lund.fsfeurope.org
in this case.We can retrieve this name either by hardcoding it, or we can add
$(hostname --fqdn)
as an environment variable to docker-compose.But I don't know how to change the HELO forms uses. Does anyone else?
As discussed with Max in Jabber, whitelisting solved the issue, so this has low priority.
Whitelisting is not really recommended any more, as this also disables DKIM signing.
This is how it was solved in fsfe-cd. Should be doable to transfer it to forms:
9e31648edf
And a short follow-up fix (just the location of the env var):
71035c7a62
And this commit fixes the false MID:
c6964b1593