|
From: josh.pokorny on 1 Jun 2007 12:25 Hi all, 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?
From: ivakras1 on 2 Jun 2007 00:47 If it is a local system user-just remove his line (line w/ his username) from everywhere like that: virtual_alias_maps alias_maps Remap files with postmap and postfix will reject all mail to your user. On 1 , 20:25, josh.poko...(a)gmail.com wrote: > Hi all, > > 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?
From: Ralf Hildebrandt on 2 Jun 2007 07:11 On 2007-06-01, josh.pokorny(a)gmail.com <josh.pokorny(a)gmail.com> wrote: > Hi all, > > 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. 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.pokorny(a)gmail.com 554 User unknown Then run "postmap /etc/postfix/disabled" and "postfix reload" -- Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)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 plonk(a)charite.de
|
Pages: 1 Prev: About TLS problem on Postfix Next: want to get rid of the zombies please |