All;
Ok, I've had enough spam for one lifetime.. ;)

I'm trying to get postfix to start filtering spam. It "will".

What I've added so far is:
(from the relevant section of main.cf)

# --------------------------------------------------------------------
# SPAM FILTER SECTION STARTS
#
# Look more info about spam filtering options at
# http://www.postfix.org/uce.html
#
# Open Relay Database filtering, look more info at
# http://www.ordb.org/
#
# Comments and improvements are welcome.
#
maps_rbl_domains =
blackholes.mail-abuse.org,
relays.ordb.org,
blackholes.wirehub.net,
relays.osirusoft.com,
blackholes.five-ten-sg.com

disable_vrfy_command = yes
smtpd_helo_required = yes
strict_rfc821_envelopes = yes

smtpd_recipient_restrictions =
permit_mynetworks,
reject_unauth_destination,
check_recipient_access hash:/etc/postfix/good_recipient.map,
reject_unauth_pipelining,
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_maps_rbl,
reject_unknown_client,
reject_unknown_hostname,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit

/etc/postfix/good_recipient.map:

abuse@
hostmaster@
postmaster@
@$mydomain

# ---------------

The problem with the above: Now mail has either become incredibly slow, or nothing is getting through. So I've gone amis somewhere.

Can anyone shed some llight on this? I want to be sure that all "real" local receipients still get their mail, but the spam gets filtered.

Thank you!!

Ric

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Reply via email to