4 msgClient sporadically unknown
2 msgdisappearing admin mail
1 msgVirtual mailing list from SQL query
13 msgthe most popular domainkey signer?
2 msgAlias to nonexistent user
8 msgConfiguration... any issues or suggestions?
3 msgScript to 'click' on a URL in an e-mail?
2 msgLots of Connection Refused messages
4 msgGet rid of messages in Cyrillic?
6 msgDisabling cleanup of messages?
4 msgdomain name not appending for internal messages
2 msgOT: help with understanding domain key implicat...
7 msgrejecting spam that doesn't include the recipie...
4 msgQuestion: rejecting email normally, then callin...
3 msgdeny sender
7 msgPostfix SMTP service unavailable
4 msgcontrolling spamming using sender_access file
2 msgaddress not listed for hostname
3 msgBest method to handle invalid HELO hostnames?

How to block certain tld's
\ Jack Raats (16 Mar 2008)
. \ Justin Piszcz (16 Mar 2008)
. \ mouss (16 Mar 2008)

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


© 2004-2008 readlist.com