Re: [SAtalk] Help with rules

2002-03-19 Thread Ed Kasky
Not using Exim here. Am I getting closer with the following? To =~ /^?$/i Ed ~~ At 12:52 PM Tuesday, 3/19/2002, dman wrote -=> >On Tue, Mar 19, 2002 at 09:10:08AM -0500, Greg Ward wrote: >| On 18 March 2002, Ed Kasky said: >| > I am in the process of learning regex and have a question if someon

Re: [SAtalk] Help with rules

2002-03-19 Thread Greg Ward
On 19 March 2002, dman said: > A simpler approach : > > If you're using exim 3 put > headers_check_syntax = true > in your config file. > > If you're using exim 4 put > require verify = header_syntax > in the acl_smtp_data ACL. Yes, those can both be useful. I've been using headers_ch

Re: [SAtalk] Help with rules

2002-03-19 Thread dman
On Tue, Mar 19, 2002 at 09:10:08AM -0500, Greg Ward wrote: | On 18 March 2002, Ed Kasky said: | > I am in the process of learning regex and have a question if someone has a | > minute | > | > Based on the following headers, is this the correct addition to | > 20_head_tests.cf? | > | > head

Re: [SAtalk] Help with rules

2002-03-19 Thread Greg Ward
On 18 March 2002, Ed Kasky said: > I am in the process of learning regex and have a question if someone has a > minute > > Based on the following headers, is this the correct addition to > 20_head_tests.cf? > > header UNDISC_RECIPTo =~ /^Undisclosed-Recipient*:\s*;$/ > describe

Re: [SAtalk] Help with rules

2002-03-18 Thread Olivier Nicole
Ed, >header UNDISC_RECIPTo =~ /^Undisclosed-Recipient*:\s*;$/ I think your regexpr miss to catch the < and > that surround the "Undiclosed...". It matchs a line starting with "Undisclosed" and continuing with "recipient" (none to many t at the end) followed by none to many spaces, e