In an older episode, on 2014-02-23 00:38, Peter Marius wrote:
So it is just a coincidence that the "MAIL FROM" and "From:" match for web.de?

Both ways of usage are common and legitimate, so I would not call it a coincidence. See
https://de.wikipedia.org/wiki/SMTP#Protokoll

Nothing wrong/fishy with the way GMX is using it?

Nothing wrong as far as I can tell.

Where would I filter the actual "From:" of the header? In Postfix or Dovecot?
I found header_checks, but maybe there is a simpler comand where I can reuse the
sender_access file?

In my view, header_checks is the only way to match From: header lines reliably in Postfix. Your posted sender_access file would not work for that since it does not contain any information which header line is supposed to be matched.

See
http://www.postfix.org/header_checks.5.html
or
man 5 header_checks on your server.

Hint:
/^From:.*whatever/ action

I am not a dovecot expert, but I would rather use sieve in Dovecot than header checks in Postfix if I had the choice.

BTW: I find DISCARD daring for such a filter, are you really sure you will not miss any important information concerning your freemailer accounts by simply sending those mails to oblivion?

Cheers,

wolfgang


Reply via email to