2 msgSQL query as alias
3 msgMailfrom restriction and SASL clients
4 msgHow to inform outside users that domain soon wi...
31 msgASSP and NOOP
9 msgDouble restrictions for SMTP Authen question ?
5 msgResend 'virus' mails
3 msgmessage_size_limit exceptions
53 msgabout greylist.pl and alternatives
7 msgfailing to send a large mail
1 msgRe: Another weird cert question
2 msgRestrict sending to one address from one IP?
6 msgForcing PIX workarounds?

header checks are not working
\ LDB (29 May 2007)
. \ Noel Jones (29 May 2007)
. . \ LDB (29 May 2007)
. . . \ Noel Jones (29 May 2007)

9 msgrecipient_delimiter
3 msgDocumenting alias expansion in mails
5 msgDomain Change Notification
4 msgHow to do a defer_if_permit with a SMTP code 451?
4 msgvirtual: mbox fine, maildir generates 'fatal: g...
5 msgMultiple relays and rate control with anvil
19 msg550
Subject:header checks are not working
Group:Postfix-users
From:LDB
Date:29 May 2007


 
I am trying to allow only only users within a domain to send email to
all the users within the domain and not allow anyone outside the domain
to send email to the "sendall" list.

So, I have setup the following within header_checks,

if /^To: sendall@(|mailserver)(|\.)mydomain\.(com|org|net)/
!/^From: .*@(|mailserver)(|\.)mydomain\.(org|com|net)/ DISCARD Go away
endif


Any ideas???

Thanks,

LDB


© 2004-2008 readlist.com