On 21.01.20 07:08, rdquiterio wrote:
>In this case the Return-Path is kinda random, so there's no use to it.
return-path is header where the MDA uses to store original envelope from,
but usually not a real header.
>On the other hand, looking to the headers_checks examples I cannot see how
>could I allow all mail from a specific "Mail From:" to be relayed?
>Is it possible?
no. the "mail from:" is not a header, but an envelope from address, so you
must use check_sender_access instead.
However, you should not allow relaying based on envelope from address.
Maybe on SMTP authentication or source IP address.
Matus UHLAR - fantomas, [hidden email] ; 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.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]