postfix autoreply for old users


We are using postfix for mail delivery. I would like to know if it is possible to autoreply to mails saing that a user have moved email address. Ideally the user should not need an user account.

So the case is:
someone sends a mail to, but he has recently stopped working here. We would now like to reply that does not exist anymore but his new mail is

Best regards

You can probably set up an alias that pipes into a procmail autoreply script.

Have a look at the procmail man page for a sample .forward pipeline that should be possible to use in /etc/aliases file.

Seems doable. Thanks for the tip.