Re: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-25 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stewart, John writes: Clueless hacker wrote: Is there any way to get this _RELAYSUNTRUSTED_ data into the Mail::SpamAssassin object somehow? Then I think I could hack amavisd-new to log this relay information. jm wrote: Hmm -- I

Re: [AMaViS-user] [SAtalk] RE: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-25 Thread Mark Lawrence
Is anyone else also getting some emails lately two or three times? As far as I know I am only subscribed to one of these lists... Perhaps one list is actually subscribed to the other? cheers. -- Mark Lawrence ([EMAIL PROTECTED]) --- This

Re: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-24 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stewart, John writes: Awesome! That did it! I'm now getting logging of untrusted relays from amavisd! You rock! Now I need to clean it up; I'll put out a patch file for the latest version of amavisd in case anyone else wants it (or Mark wants to

RE: [SAtalk] RE: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-24 Thread Chris Santerre
Okay, I whacked together a perl script to do some very rudimentary parsing of the SMTP relays logging I hacked into amavisd-new. 3 9 66.150.179.24 mailout24.specialtysquare.com 3 14 69.60.15.54 host.gifts-items.com *snip bunch of cool ips* I'm sort

[SAtalk] RE: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-23 Thread Stewart, John
Clueless hacker wrote: Is there any way to get this _RELAYSUNTRUSTED_ data into the Mail::SpamAssassin object somehow? Then I think I could hack amavisd-new to log this relay information. jm wrote: Hmm -- I suppose you could do my $untrusted = $per_msg_status-_get_tag

[SAtalk] RE: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-23 Thread Stewart, John
Okay, I whacked together a perl script to do some very rudimentary parsing of the SMTP relays logging I hacked into amavisd-new. I filtered out any host that delivered less than 2 emails, or had an average spam level of less than 5. This is what I ended up with for this afternoon's mail (since I

[SAtalk] RE: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-23 Thread Stewart, John
Unfortunately, the $untrusted variable always seems to be blank. This is what I see in the logs: my bad. try my $untrusted = $per_msg_status-_get_tag (RELAYSUNTRUSTED); no _'s. Awesome! That did it! I'm now getting logging of untrusted relays from amavisd! You

Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-22 Thread Stewart, John
John Stewart (not the talk show host, nor the singer) wrote: I'm sure SA must parse each of the Received headers to determine the SMTP servers, so at some point this information is available. Would it be possible to get this information logged somehow with the spam level? [EMAIL

Re: Amavisd-new and logging untrusted relays... was: RE: [SAtalk] [OT ] What is next step?

2003-10-22 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stewart, John writes: I'm guessing the -get_report function (object? Not sure the terminology with this OO stuff) is simply the text that normally appears at the bottom of an email when you do spamassassin -t. Alas, this would not contain the