SOLUTION? how to hold mail in another machine temporarily
I asked some days ago here how to make another machine hold the mail
while the main mail server is down. People told me to put another MX
record in the dns to point to the temporary machine.
Sure this is necessary, but I don't think it's enough. First, the temp
machine must recognize all users, otherwise it'll bounce the message.
Second, I'd like it to not only queue the mail but *dump it on the
main one when it comes up*. If I just put the MX record, the secondary
will hold the mail in IT'S /var/spool/mail, and users will not
automatically get it.
I found a solution: For every user, put a forward in /etc/aliases
pointing directly to the main server (argh...). This works, but it's
ugly. Is there a better way (using sendmail or other MTA)?
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
Unsubscribe? mail -s unsubscribe email@example.com < /dev/null