Re: uridnsbl checks on domains in headers

2013-06-21 Thread Axb
On 06/21/2013 05:29 PM, Fabio Sangiovanni wrote: I'm using amavisd-new to pass messages to SA. Envelope recipients are in the mail message, as payloads of my custom X-header. That's why I asked for a way to check headers against URI BLs. I'm considering filtering out bad recipient domains using b

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Fabio Sangiovanni
Il 21/06/13 17:16, Axb ha scritto: On 06/21/2013 05:07 PM, Fabio Sangiovanni wrote: Il 21/06/13 16:27, Axb ha scritto: This is possible against standard headers. you can see how it's done in 20_dnsbl_tests.cf DNS_FROM_AHBL_RHSBL Ok, so I assume there's no way to force checks against custom he

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Fabio Sangiovanni
Il 21/06/13 16:49, Martin Gregorie ha scritto: On Fri, 2013-06-21 at 15:21 +0200, Fabio Sangiovanni wrote: I normally already scan the BCCed message *only*. The main submission channel doesn't have an antispam system on its own; instead, an out-of-band antispam stack (postfix + amavisd-new + sp

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Axb
On 06/21/2013 05:07 PM, Fabio Sangiovanni wrote: Il 21/06/13 16:27, Axb ha scritto: This is possible against standard headers. you can see how it's done in 20_dnsbl_tests.cf DNS_FROM_AHBL_RHSBL Ok, so I assume there's no way to force checks against custom headers. Plus, I'm more interested in

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Fabio Sangiovanni
Il 21/06/13 16:27, Axb ha scritto: This is possible against standard headers. you can see how it's done in 20_dnsbl_tests.cf DNS_FROM_AHBL_RHSBL Ok, so I assume there's no way to force checks against custom headers. Plus, I'm more interested in check against envelope recipients. Why do you nee

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Martin Gregorie
On Fri, 2013-06-21 at 15:21 +0200, Fabio Sangiovanni wrote: > I normally already scan the BCCed message *only*. The main submission > channel doesn't have an antispam system on its own; instead, an > out-of-band antispam stack (postfix + amavisd-new + spamassassin) is in > place; it receives BC

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Axb
On 06/21/2013 03:21 PM, Fabio Sangiovanni wrote: Il 21/06/13 14:19, Martin Gregorie ha scritto: Assuming that the copy is sent to a maildir format mailbox you can periodically run a shell script something this: for m in maildir/* do spamc <$m | rescanned_results_filter mv $m scanned_dir

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Fabio Sangiovanni
Il 21/06/13 14:19, Martin Gregorie ha scritto: Assuming that the copy is sent to a maildir format mailbox you can periodically run a shell script something this: for m in maildir/* do spamc <$m | rescanned_results_filter mv $m scanned_dir done This could be a second pass through your no

Re: uridnsbl checks on domains in headers

2013-06-21 Thread Martin Gregorie
On Fri, 2013-06-21 at 10:27 +0200, Fabio Sangiovanni wrote: > Hi everybody, > > I've configured my MSA (Postfix) so that a copy of submitted mail is > sent (BCC'd) to a postfix/amavisd-new/spamassassin system for > out-of-band antispam analysis. > The MSA is set to write envelope from/rcpt addre

uridnsbl checks on domains in headers

2013-06-21 Thread Fabio Sangiovanni
Hi everybody, I've configured my MSA (Postfix) so that a copy of submitted mail is sent (BCC'd) to a postfix/amavisd-new/spamassassin system for out-of-band antispam analysis. The MSA is set to write envelope from/rcpt addresses in custom headers. Is it possibile to check this addresses' domai