Re: Setting up a Backup Mail Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 19 April 2005 10:04, Paul Howarth wrote:
> Reuben D. Budiardja wrote:
> > Hello,
<snip>
> > (1). If mail.myrealname.org is down, collect the incoming mail for that
> > domain, and keep trying to relay the incoming to the mail.myrealname.org.
>
> Put myrealname.org in /etc/mail/relay-domains on the backup mail server.

Yes, I've done this and it works fine.

> > But
> > the backup mail server should _never_ inform the mail sender that
> > mail.myrealname.org (<snip>
> > I don't think the sender needs to know that).
>
> Put:
> define(`confTO_QUEUEWARN', `10d')dnl
> in sendmail.mc on the backup server. The idea is that the queue warning
> timeout is longer than the queue return ("I've given up trying to
> deliver this message") timeout, which is 5 days by default.

Great. Thanks for this. 

> > (2). While doing (1) and keep trying to relay to mail.myrealname.org, I
> > want the backup mail server to also send a copy of all incoming mails to
> > yet another account, say "myname@xxxxxxxxx". So in the case that I am
> > away and cannot bring the main mail server up, I still can get to my
> > emails.
>
> You're on your own there. That's both delivering and queuing mail at the
> same time. You'll probably need to script it.

Hmm... okay. I guess I sorta understand why this is a problem for sendmail. I 
am still not sure how to approach this though. I guess I'll have to have some 
sort of a script that read the queue files, then send email from that script 
to the other account. And run the script in a cron job. 



>  > When the
> >
> > main mail server is back, then the backup mail server should flush all
> > the mails that it stores to the main mail server.
>
> This will happen automatically when the backup server retries delivery,

Indeed.

Thank you for your respond / help.

RDB
-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ 
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ 
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux