Join the march to save individuality!

. . :. :: :.: ::.::: .:. .: : ::: .. :. .:..: :.. ::

N E G R E A . N E T   My place

HOME » ME FEEL HEAR SEE SPEAK READ WANDER
../ ARTICLE .:
<< PREV :.: NEXT >>
HOW TO FILTER EMAIL ADDRESSES IN POSTFIX


Enter your email address to keep you in touch!



please send comments and questions to mihai@negrea.net.



:. HOW TO FILTER EMAIL ADDRESSES IN POSTFIX

I was having some spam on an non-existent email address on my server from a lot of ip addresses. And the server was struggling to send error messages to the fake senders.
In postfix I have added in the main.cf:
smtpd_recipient_restrictions = reject_maps_rbl,regexp:/etc/postfix/access,permit_mynetworks,check_relay_domains

and in the access file i put
/^.*xxx@domain.ro$/ REJECT

and then ran:
postmap /etc/postfix/access
and
postfix reload


:. COMMENTS :: ADD
. . . BEING ALONE DRAWS ATTENTION
:. TRAFFIC


:. LATEST PHOTO
:. Nice Sites
:. China Domain Names and Hosting
© 2002-2004 Mihai Negrea.