On 30.09.19 11:40, Christos Chatzaras wrote:
Add this line to main.cf :

smtpd_sender_login_maps = hash:/usr/local/etc/postfix/smtpd_sender_login_maps

And then add to smtpd_sender_login_maps :

[email protected] [email protected]

This only validates envelope from headers according to SASL login names.
It's good to check, though.

On 30.09.19 14:12, Christos Chatzaras wrote:
Many spammers using hacked accounts use different "From" than the e-mail 
address. So it helps in this case.

the problem is, people look on header "From:"
smtpd_sender_login_maps does NOT look at header "From:"

rarely someone notices they are different.
--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...

Reply via email to