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:

    [email protected] error:5.1.6 account no longer exists, try 
<[email protected]>

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

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to