|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Combining tests in one postfix regex
From: /dev/rob0 (rob0
gmx.co.uk)
Date: Tue Oct 11 2005 - 18:12:33 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Rich! I remember you. You probably don't remember me, but I was on
a.o.l.slackware some time ago when you popped in. Your friend Rob (from
PLUG) is a friend/colleague of mine.
On Tuesday 2005-October-11 18:02, Rich Shepard wrote:
> I'd like to have a single postfix mime_header_check to see if a
> message has both ".*^Content-type: html" and
> "^Content-Transfer-Encoding:.*base64." How would I put those two
> together in a single rule?
>
> I can do the 'or' tests with a vertical bar but have not before
> tried an 'and'.
Header checks cannot do this. They can only check one header at a time,
and take one action based on what is in that header. There is no state
information kept.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]