Re: [Exim] Backup mail server configs

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matthew Byng-Maddick
Date:  
À: exim-users
Sujet: Re: [Exim] Backup mail server configs
On Thu, May 09, 2002 at 08:12:30AM -0700, Jeremy C. Reed wrote:
> This is what I do (with 3.x) on back up server:
> - no extra retry rules -- just use the defaults
> - domain is not listed in local_domains
> - domain is listed in relay_domains
> It takes about 30 seconds to set up.


I'd add that what I've done is to have local_domains including:
| lsearch;/etc/exim/localbatch


and a transport:
| batchsmtp_delivery:
| driver = appendfile
| bsmtp = all
| prefix = ""
| user = exim
| group = mail
| file = ${lookup{${lc:$domain}} lsearch {/etc/exim/localbatch} {$value}}
| mode = 0600


and a director:
A
| batchsmtp_director:
| driver = smartuser
| domains = lsearch;/etc/exim/localbatch
| transport = batchsmtp_delivery


Thus, when a host goes down that I'm supposed to be secondarying for, I can
add the domain name and a spoolfile to /etc/exim/localbatch, and it starts
spooling the mail for a remerge with exim -bS at the other end. I have seen
outages of longer than a retry timeout before now.

MBM

--
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/