Re: How to autoreply with "Undelivered Mail Returned to Sender" unknown user for user+doesnotex...@domain.org

2018-07-11 Thread Thomas Nyberg
On 07/11/2018 08:03 AM, Wietse Venema wrote: Alternative: use a transport map; that works for all domains. /etc/postfix/main.cf transport_maps = hash:/etc/postfix/transport /etc/postfix/transport: user+doesnotex...@example.com error:5.1.1 User does not receive mail. Requires "postma

How to autoreply with "Undelivered Mail Returned to Sender" unknown user for user+doesnotex...@domain.org

2018-07-11 Thread Thomas Nyberg
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: : unknown user: "user+doesnotexist" How would I do this? I naively tried adding user+doesnotexist