I understand Davide, I knew this wasn't XMail fault, I only wanted to find a solution to prevent these types of forged froms.
I will have to add code into my script to parse the message header and look for the From: line, compare this from with the one in the SMTP transaction, if they are different do something. What do you guys think? -fred -----Original Message----- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 14 octobre 2009 13:01 To: XMail Users Mailing List Subject: Re: [xmail] Multiple from inside mail headers On Wed, 14 Oct 2009, fred wrote: > > Hello guys, > > This is not really XMail specific but I am a bit confused there and I need help from experts. > > Here is the problem, I am using a filter that works with SPF, everything is working fine except one thing. > > Sometimes forged froms pass through the filter because the filter is getting the return-path instead of a faked > from, see this example: OK guys, XMail is an MTA and could care less of the envelope From: header. Wherever you see FROM inside XMail, that the return-path (that is the address passed in the 'MAIL FROM:<...>' SMTP transaction. - Davide _______________________________________________ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail _______________________________________________ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail