<div dir="ltr">Hi,<div><br></div><div>Is there a way to prevent users from changing the header. We do not want the envelope to be different than the header. (i.e: header from must match return-path).</div><div><br></div><div>I am able to achieve all kinds of restrictions in postfix restrictions and restriction classes, but they all apply to the envelope, however when it comes to the header From field, then that is part of the message and the only place to write rules for it is header_checks. I could not find a way in header_checks that can achieve this. It cannot match two different fields and compare them.</div><div><br></div><div>Am I missing something, Does MailScanner have a way to force this.</div><div><br></div><div>I am using postfix 2.10.1 and MailScanner 5.0.07 and dovecot 2.2.10</div><div><br></div><div> <br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards</div><div>Monis</div></div></div></div></div>