Manually sending back a "mail server rejected" email reply
In these cases, does Postfix allow me to "reject" their email address after the fact? In other words, to send the default Postfix "email rejected" message to them manually (that Postfix normally sends automatically for an email address already in the reject list).
I would love this approach, because the other party will be in the dark as to whether I even received and read their message at all.
6 Replies
@Nuvini:
Something like this?
http://www.cyberciti.biz/faq/howto-blac … l-address/">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/
Sounds like dee4 wants to do it after the mail has already been received, though–not necessarily how to blacklist an address.
@Nuvini:
Something like this?
http://www.cyberciti.biz/faq/howto-blac … l-address/">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/
Yes, that is exactly the method I used to blacklist email addresses. This works if they try to send me another email later. Postfix rejects their email and sends them an appropriate "rejected" email reply.
What I'm wondering is if I can do this for their initial email. I want to keep them in the dark as to whether I even read that first email.
@samh:
@Nuvini:Something like this?
http://www.cyberciti.biz/faq/howto-blac … l-address/">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/
Sounds like dee4 wants to do it after the mail has already been received, though–not necessarily how to blacklist an address.
Indeed.
@samh:
@Nuvini:Something like this?
http://www.cyberciti.biz/faq/howto-blac … l-address/">http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/
Sounds like dee4 wants to do it after the mail has already been received, though–not necessarily how to blacklist an address.
Oh- well.. there's Autoresponse
Blacklists, DNS RBLs and the like reject mail during SMTP transaction. At this point it's normally the sender's mail server that creates the reject message. If you've already accepted the message then the SMTP transaction has been closed. If you fake up a "reject" message (it is possible, not hard) then you need to ensure you're not going to generate "backscatter" (
You're better off just filtering the mail to /dev/null and ignoring it.