On Tue, 2007-05-29 at 17:42 -0400, Patrick Shanahan wrote:
I am receiving spam to a local address, "at@wahoo....", which is aliased to root and then to me. I would like to limit the receipt of mail to that address to only local mail, but do not know how.
I have entered the address in access and header_checks as REJECT, but has no affect.
I set this up many moons ago so I don't remember where I got the info from. Perhaps webmin had info on it. I have a file in /etc/postfix called incoming_access that has entries like the following: root@ permit_mynetworks,reject mailer-daemon@ permit_mynetworks,reject virusalert@ permit_mynetworks,reject administrator@ permit_mynetworks,reject daemon@ permit_mynetworks,reject lp@ permit_mynetworks,reject news@ permit_mynetworks,reject uucp@ permit_mynetworks,reject There are many more entries. In main.cf I have an entry as follows (all on one line): smtpd_recipient_restrictions = hash:/etc/postfix/incoming_access,permit_mynetworks,reject_unauth_destination Some of the entries I know are not kosher, especially the one for mailer-daemon, but I no longer get mail for root or any others in the list unless it comes from my local domain. You'll need to run postmap /etc/postfix/incoming_access and restart postfix for this to work. Hope this helps. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org