Re: SA-Exim and acls [solved]

2008-12-12 Thread David Purton
On Fri, Dec 12, 2008 at 12:35:50PM -0600, lee wrote: > Ok, I wanted to find out something and added acl_not_smtp: > > > [...] > acl_not_smtp = acl_other_protocol > acl_smtp_helo = acl_check_helo > acl_smtp_rcpt = acl_check_rcpt > acl_smtp_data = acl_check_data > [...] > begin acl > ah - nice.

Re: SA-Exim and acls

2008-12-12 Thread lee
On Fri, Dec 12, 2008 at 03:34:05AM -0600, lee wrote: > On Fri, Dec 12, 2008 at 05:50:10PM +1030, David Purton wrote: > > On Fri, Dec 12, 2008 at 12:34:57AM -0600, lee wrote: > > > On Fri, Dec 12, 2008 at 12:26:10AM +1030, David Purton wrote: > > > > > > > acl_check_rcpt: > > > > warn hosts = : >

Re: SA-Exim and acls

2008-12-12 Thread lee
On Fri, Dec 12, 2008 at 05:50:10PM +1030, David Purton wrote: > On Fri, Dec 12, 2008 at 12:34:57AM -0600, lee wrote: > > On Fri, Dec 12, 2008 at 12:26:10AM +1030, David Purton wrote: > > > > > acl_check_rcpt: > > > warn hosts = : > > >set acl_m0 = do-not-scan > > > > > > then in sa-exim

Re: SA-Exim and acls

2008-12-11 Thread David Purton
On Fri, Dec 12, 2008 at 12:34:57AM -0600, lee wrote: > On Fri, Dec 12, 2008 at 12:26:10AM +1030, David Purton wrote: > > > acl_check_rcpt: > > warn hosts = : > >set acl_m0 = do-not-scan > > > > then in sa-exim.conf I have > > > > SAEximRunCond: ${if !eq {$acl_m0}{do-not-scan} {1}{0}}

Re: SA-Exim and acls

2008-12-11 Thread lee
On Fri, Dec 12, 2008 at 12:26:10AM +1030, David Purton wrote: > acl_check_rcpt: > warn hosts = : >set acl_m0 = do-not-scan > > then in sa-exim.conf I have > > SAEximRunCond: ${if !eq {$acl_m0}{do-not-scan} {1}{0}} > > But it's not working :( The message gets scanned anyway. > > The

SA-Exim and acls

2008-12-11 Thread David Purton
Hi, I'm trying to control whether emails are scanned for spam or not. So for example when mail is locally generated, I'm setting acl_m0 to do-not-scan in Exim's acl_check_rcpt. e.g., acl_check_rcpt: warn hosts = : set acl_m0 = do-not-scan then in sa-exim.conf I have SAEximRunCond: