Mails sent with wrong HELO #33

Closed
opened 3 years ago by max.mehl · 3 comments
max.mehl commented 3 years ago
Owner

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?
reinhard added the
prio:low
label 3 years ago
Owner

As discussed with Max in Jabber, whitelisting solved the issue, so this has low priority.

As discussed with Max in Jabber, whitelisting solved the issue, so this has low priority.
Poster
Owner

Whitelisting is not really recommended any more, as this also disables DKIM signing.

Whitelisting is not really recommended any more, as this also disables DKIM signing.
Poster
Owner

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

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
max.mehl added
prio:mid
bug
and removed
prio:low
labels 5 months ago
florian.vuillemot was assigned by max.mehl 3 months ago
max.mehl closed this issue 3 months ago
max.mehl self-assigned this 3 months ago
florian.vuillemot was unassigned by max.mehl 3 months ago
max.mehl removed their assignment 3 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.