I'm migrating a mail relay from sendmail.
The sendmail version has a feature where former employee
mailboxes can return a hard error with a suggestion for
somebody else to contact.
How do I do that with qmail?
Example from the sendmail aliases file:
torben.fjerdingstad:[EMAIL PROTECTED]
That means that mail to the user torben.fjerdingstad returns
an error message saying:
User has moved; please try [EMAIL PROTECTED]
Thoughts:
When I convert the aliases file to dot-qmail files, the
content of .qmail-torben:fjerdingstad gets
&[EMAIL PROTECTED]
Then I could create .qmail-bigboss:redirect with the content
|bouncesaying "User has moved; please try $ALT-RECIPIENT" exit 0
ALT-RECIPIENT should in this case be "[EMAIL PROTECTED]",
but I don't know how to get that right in a simple way.
--
Med venlig hilsen / Regards
Netdriftgruppen / Network Management Group
UNI-C
Tlf./Phone +45 35 87 89 41 | UNI-C
Fax. +45 35 87 89 90 | Bygning 304
| DK-2800 Lyngby