Re: SOLUTION? how to hold mail in another machine temporarily
qmail (www.qmail.org) has a feature called smtproutes that allows you to
set up a machine with a higher MX to hold the mail in a local queue until
the machine with the lower MX comes back up, then deliver to the main box.
No additional users needed, and it works well.
On Mon, 29 Jun 1998, Carlos Carvalho wrote:
> Hi folks,
> 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
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