HiI am using smtpd_sender_login_maps on submission port to enforce the envelope 
'mail from:' command, and its working as expected. the problem however is that 
the user can still use any arbitrary 'From:' header field that she wants and 
opendkim will happily sign it. I am looking for a way to enforce the from: 
header filed to match the sasl authenticated username. ideally this should 
happen before queuing so i can reject the message while smtp session is still 
in progress.It is my understanding that header_checks can't be used for this as 
it's functionality is very limited.
What are my options? can anyone please help?Thank you in advance

Best Regards,

Reply via email to