Edgar Fuss via Postfix-users:
> Hello,
> 
> I'm looking for prior art on rejecting mails to expired accounts
> including a hint at the new address.

You could use the relocated_maps feature for this. This will reject
at RCPT TO time, with a hard-coded response "5.1.6 User has moved
to <address>".

You could also use transport_maps which gives more control over the text:

    u...@example.com error:5.1.6 account no longer exists, try 
<u...@else.wh.ere>

That is without the 5XX SMTP code. The Postfix SMTP server will
prepend a suitable value.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to