This is a discussion on Re: Header Checks, examples? within the mailing.postfix.users forums, part of the Mail Servers and Related category; From: "Marshal Newrock" <marshal@idealso.com> > On Friday 18 February 2005 02:48, Michael Nguyen ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
From: "Marshal Newrock" <marshal@idealso.com>
> On Friday 18 February 2005 02:48, Michael Nguyen wrote: [snip] > I don't use these patterns, but this (crude example) occurs to me: > > # subject line checks. ignore forwarded messages. > if /^Subject: / > if !/^Subject: FW / > /evil pattern/ REJECT > endif > endif This is resonable. > # don't ever check received lines > !/^Received: / OK > > And keep in mind that OK in header and body checks means skip to the > next line, not accept this message. This isn't. This basically says that anything that's not a Received line should be skipped. Michael |