Prevent header forgery

Jerry Benton jerry.benton at
Sun Sep 2 09:17:58 UTC 2018

Jerry Benton
+1   (843) 800-8605
+44 (020) 3883-8605

-----Original Message-----
From: MailScanner
< at> On
Behalf Of Antony Stone
Sent: Sunday, September 2, 2018 05:16
To: MailScanner Discussion <mailscanner at>
Subject: Re: Prevent header forgery

On Sunday 02 September 2018 at 11:08:57, Monis Monther wrote:

> Hi,
> 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).

Have you looked at the headers of emails on this list?

For example, the message you just sent arrived with me showing, amongst 

Return-Path: <mailscanner- at>

From: Monis Monther <mmmm82 at>

Reply-To: MailScanner Discussion <mailscanner at>

It's perfectly common for From to be different from Return-Path.



I conclude that there are two ways of constructing a software design: One
is to make it so simple that there are _obviously_ no deficiencies, and the 
other way is to make it so complicated that there are no _obvious_ 

 - C A R Hoare

                                                   Please reply to the list;
                                                         please *don't* CC

MailScanner mailing list
mailscanner at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5530 bytes
Desc: not available
URL: <>

More information about the MailScanner mailing list