Nope, didn't work, the problem is with SpamAssassin 2.64 which provides =
an older version of Received.pm that doesn't include the variables id =
and envfrom (the error is something like: "need an explicit package").
Well, I guess the only fix to it is to switch to SA 3.0.0 that came out =
yesterd
I'm using SA 2.64, I guess that's why I had some problem with it at the =
beginning.
After tweaking it a little bit this is what I got working:
if (/\[XMail 1\.20 ESMTP Server\]/) {
if (/^from (\S+) \((${IP_ADDRESS}):\d+\) by (\S+) with \[XMail 1\.20 =
ESMTP Server\] id <([^>]+)> for /) {
$
Hey thanks! That's exactly what I was looking for... :)
Checking it right now... :)
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] =
Per conto di Jason J. Ellingson
Inviato: mercoled=EC 22 settembre 2004 17.38
A: [EMAIL PROTECTED]
Oggetto: [xmail] Re: R: Re: xmail s
Maybe a virus spreading from some internal client?
Davide, I know you're probably very busy with more important stuff, but =
I was wondering if you had time to fix the Received: IP:PORT message? Or =
can you give a look at the spamassassin received.pm module to give some =
advice?
TIA, Guido.
-
nking about it and go to sleep now. :)
Thank you very much, talk to you next time.
-Messaggio originale-
Da: Davide Libenzi [mailto:[EMAIL PROTECTED]
Inviato: venerd=EC 12 marzo 2004 23.38
A: [EMAIL PROTECTED]
Oggetto: [xmail] Re: R: Re: XMail received header
On Fri, 12 Mar 2004, POPOL
2004, POPOLI Guido wrote:
> I'm having a problem with Spamassassin 2.63 and XMail 1.17. When SA=20
> tries to parse the XMail Received header of an incoming message it=20
> gives a "received-header: unknown format:" error and fail to get the=20
> "from" IP address.
Hi all,
I'm having a problem with Spamassassin 2.63 and XMail 1.17. When SA
tries to parse the XMail Received header of an incoming message it gives
a "received-header: unknown format:" error and fail to get the "from" IP
address.
I've been trying to find a solution but haven't found anything hel