|
| | 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
|