|
| | Subject: | How to block certain tld's | | Group: | Postfix-users | | From: | Jack Raats | | Date: | 16 Mar 2008 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I want to block certain tld's and somehow it doesn't work.
In main.cf I have
smtpd_recipient_restrictions =
....
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
....
check_client_access hash:/postfix/tables/blacklist,
...
In /postfix/tables/blacklist
.biz REJECT
.gov REJECT
.pro REJECT
.cn REJECT
Still I receive a lot of chinese spam.
Can anyone give me some clues?
and how to do the opposite?
To receive mail from only three tld's like .net, .com and .org?
Thanks for your time
Jack
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959
iD8DBQFH3ODgPh5RwW/NzC4RAjfXAJ0bnaKHNpQIwy9Q+LF2/5NEWLT9tgCfSHGS
Ep7TmsWOGIRAqB/DvBTh+Lc=
=LED9
-----END PGP SIGNATURE-----
|