OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: header check question

From: /dev/rob0 (rob0gmx.co.uk)
Date: Fri May 09 2008 - 16:21:38 CDT


On Fri May 9 2008 13:02:30 D Hill wrote:
> >> jeff donovan:
> >>> greetings
> >>>
> >>> can I do this without an if then endif?
> >>>
> >>> /^to: *friendpublic\.com$ && ^from: *usernameexample.com/ WARN
snip
> > okay did a bunch of reading. and the reoccurring theme is ;
> > Header (and body) checks process one header (or line, with body
> > checks) at a time.
> >
> > So my question is.
> > is there a better way to reject/bounce/warn when a message from
> > user1domain to user2domain shows up?
snip
> I would believe it shouldn't be too difficult to create a policy
> service to do this:

But note that the OP was talking about header addresses, whilst a
policy service does not have access to the message body, only the SMTP
envelope. The OP would be well advised to learn about how mail works.
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header