header check question
\ jeff donovan (9 May 2008)
. \ Noel Jones (9 May 2008)
. \ (Wietse Venema) (9 May 2008)
. . \ jeff donovan (9 May 2008)
. . . \ Noel Jones (9 May 2008)
. . . . \ D Hill (9 May 2008)
. . . . \ jeff donovan (12 May 2008)
. . . . . \ mouss (12 May 2008)
. . . \ D Hill (9 May 2008)
. . . . \ /dev/rob0 (9 May 2008)

12 msgverify parameters
4 msgConfigure postfix in big env
2 msgenvelope sender '<>' via uucp gets rewrit...
2 msgSpam filtering only for specific email accounts
3 msgPostfix 2.4 to 2.5: smtp(d)_tls_session_cache_d...
15 msgQuestion about 'standards' WRT BATV and SAV
7 msgmy solution to fight backscatter email
2 msgAUTO: Joe Grastara is out of the office (return...
12 msgQ about sender_dependent_relayhost_maps inbound...
16 msgMilter Suggestions
9 msgTransport table and postmap
3 msgArchiving e-mail?
8 msgError 550: unable to relay
1 msgFW: new subject
13 msgTLS handshake error
6 msgSeperating SMTP and POP/IMAP services
3 msgTest 2
1 msgTesting
12 msg[Fwd: ldap users & aliases config]
Subject:Re: header check question
Group:Postfix-users
From:/dev/rob0
Date:9 May 2008


 
On Fri May 9 2008 13:02:30 D Hill wrote:
> >> jeff donovan:
> >>> greetings
> >>>
> >>> can I do this without an if then endif?
> >>>
> >>> /^to: *friend$ && ^from: *username/ 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
> > user1@domain to user2@domain 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


© 2004-2008 readlist.com