Linode Forum
https://forum.linode.com/

Manually sending back a "mail server rejected" email reply
https://forum.linode.com/viewtopic.php?f=11&t=11007
Page 1 of 1

Author:  dee4 [ Fri May 02, 2014 4:07 pm ]
Post subject:  Manually sending back a "mail server rejected" email reply

Sometimes I get emails from trolls and other people I simply have no interest in knowing or talking to.

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.

Author:  Nuvini [ Fri May 02, 2014 4:26 pm ]
Post subject:  Re: Manually sending back a "mail server rejected" email rep

Something like this? http://www.cyberciti.biz/faq/howto-blac ... l-address/

Author:  samh [ Fri May 02, 2014 4:29 pm ]
Post subject:  Re: Manually sending back a "mail server rejected" email rep

Nuvini wrote:

Sounds like dee4 wants to do it after the mail has already been received, though--not necessarily how to blacklist an address.

Author:  dee4 [ Fri May 02, 2014 4:30 pm ]
Post subject:  Re: Manually sending back a "mail server rejected" email rep

Nuvini wrote:


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.

Author:  dee4 [ Fri May 02, 2014 4:30 pm ]
Post subject:  Re: Manually sending back a "mail server rejected" email rep

samh wrote:
Nuvini wrote:

Sounds like dee4 wants to do it after the mail has already been received, though--not necessarily how to blacklist an address.


Indeed.

Author:  Nuvini [ Fri May 02, 2014 4:32 pm ]
Post subject:  Re: Manually sending back a "mail server rejected" email rep

samh wrote:
Nuvini wrote:

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. I'm not sure if that could be configured to simulate a reject response, but that may be something to look into.

Author:  sweh [ Sat May 03, 2014 8:44 am ]
Post subject:  Re: Manually sending back a "mail server rejected" email rep

Short answer; "no".

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" ( http://en.wikipedia.org/wiki/Backscatter_%28email%29 ). However the smart person will read the headers and determine it's a fake, and so know you'd spent time and effort (which is what the trolls want).

You're better off just filtering the mail to /dev/null and ignoring it.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/