|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: audit (audit
c2security.org)
Date: Mon Feb 04 2008 - 13:53:12 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a list of netblocks like 61.129.0.0/16, 61.133.0.0/16, etc that I
want to block from sending mail to us though postfix, how I would I set
something like that up within the main.cf file? I was thinking that I
could create a file called
/usr/local/etc/postfix/mx_access and then add in that file
61.129.0.0/16 #China Spam Block
61.133.0.0/16 #China Spam Block
and so on for all the blocks. But I'm not sure where to add it. Would adding
smtpd_recipient_restrictions = hash:/usr/local/etc/postfix/mx_access to the main.cf and then running postmap /usr/local/etc/postfix/mx_access work?
This is on a FreeBSD 6.2 server with Mailman and I'm also doing hosting.
Thanks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]