I have my user account on my system that I use for more than just
email. I would like to keep my account, but block all incoming mail to
this account. I would really like it to bounce, but blocking would be
ok. In other words, I want it to look like the user has been deleted.
I know I could just point /var/spool/mail/username to /dev/null, but
for spamming purposes, I would like it to bounce back like it doesnt
exist.
Is there a way to do this?
Put
check_recipient_access hash:/etc/postfix/disabled
at the end of your existing smtpd_recipient_restrictions (check the
current setting using "postconf smtpd_recipient_restrictions" !)
In /etc/postfix/disabled you write:
josh.p...@gmail.com 554 User unknown
Then run "postmap /etc/postfix/disabled" and "postfix reload"
--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hil...@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to pl...@charite.de