Re: [exim] How can a set up a ACL rule to filter on message subject?

2009-01-27 Thread John M Collins
On Mon, 2009-01-26 at 11:50 +, Ian Eiloart wrote: --On 25 January 2009 15:08:09 + John M Collins j...@xisl.com wrote: Please CC me as I'm not subscribed - thanks. I should like to look up message subjects in a file of regexps of spam message subjects like v[1i...@]gr[a@]

Re: [exim] How can a set up a ACL rule to filter on message subject?

2009-01-27 Thread Marc Sherman
John M Collins wrote: deny condition = ${lookup{$h_subject}nwildlsearch{CONFDIR/Bad-subject}{1}{0}} message= Message subject line $h_subject looks like spam.\n\ Please change subject and resend if not. Remove the quotes, and add a terminal : to $h_subject:. Header names

Re: [exim] How can a set up a ACL rule to filter on message subject?

2009-01-27 Thread Neil Youngman
deny condition = ${lookup{$h_subject}nwildlsearch{CONFDIR/Bad-subject}{1}{0}} message= Message subject line $h_subject looks like spam. Is the problem a missing colon? try deny condition = ${lookup{$h_subject:}nwildlsearch{CONFDIR/Bad-subject}{1}{0}} message=

[exim] logging lmtp delivery

2009-01-27 Thread Ian Eiloart
Hi, I'm testing a configuration that uses local delivery to an lmtp socket, for the first time. Previously, I was delivery by lmtp over tcp. Deliveries are working fine, but not being logged. Why would that be? I have log_selector set to: log_selector = +all -incoming_port -pid A message

Re: [exim] logging lmtp delivery

2009-01-27 Thread W B Hacker
Ian Eiloart wrote: Hi, I'm testing a configuration that uses local delivery to an lmtp socket, for the first time. Previously, I was delivery by lmtp over tcp. Deliveries are working fine, but not being logged. Why would that be? I have log_selector set to: log_selector = +all

[exim] Writing to file question

2009-01-27 Thread James Price
I'm sure I'm just searching for the wrong thing in the exim-users archive. This is a simple question and I'm sure there is a simple answer. I simply want to write a specific string to a file every time a specific warn, deny or defer is tripped in one of my ACL's. Thanks, James -- James

Re: [exim] Writing to file question

2009-01-27 Thread Jeremy Harris
James Price wrote: I'm sure I'm just searching for the wrong thing in the exim-users archive. This is a simple question and I'm sure there is a simple answer. I simply want to write a specific string to a file every time a specific warn, deny or defer is tripped in one of my ACL's.