On 11 Jul 2018, at 10:41 (-0400), Thomas Nyberg wrote:

Hello,

Let's say that I do have a user "user" on my system, but I would like for emails sent to "user+doesnotex...@domain.org" to bounce back the "Undelivered mail" message with something like:

<user+doesnotex...@domain.org>: unknown user: "user+doesnotexist"

How would I do this? I naively tried adding

user+doesnotexist: doesnoteixst

to my /etc/aliases file, but it was still delivered to my user account.

Thanks for any help.

Start by consulting the instructions sent to every new subscriber to this list, specifically to read and follow these suggestions:

http://www.postfix.org/DEBUG_README.html#mail

How to make *YOUR* system reject a particular address that it is now delivering depends on what it is about *YOUR* configuration that is causing that delivery to happen in the first place.

--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steadier Work: https://linkedin.com/in/billcole

Reply via email to