Send one invalid email response to sender

Posted by Kafuka on Server Fault See other posts from Server Fault or by Kafuka
Published on 2012-12-07T20:22:24Z Indexed on 2012/12/09 23:12 UTC
Read the original article Hit count: 326

I discovered that my postfix/dovecot configuration isn't rejecting emails. If a person sends an email to an invalid email-address, it just drops it. I am fine with this behavior since I think it discourages spammers from mining emails (I have had some success). Recently a person I did not want to talk to emailed an address I cut off and didn't receive a response back. It would have saved me some problems if they knew to call me instead of sending 50+ emails. How would I configure Dovecot/postfix to send a message back to a sender of an email address and then limit this 1 per domain or unique email.

Debian Stable

Linux 3.6.5-linode47

Dovecot 1.2.15

Postfix 2.7.1

PSQL - backend if that matters

© Server Fault or respective owner

Related posts about postfix

Related posts about emailserver