[DRBD-user] Sendmail and drbd config question

Yann Forget yann.forget at goelaan.ch
Mon Dec 12 10:50:55 CET 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi Patrick,

Patrick Begou a écrit :
> Dear Diego,
> 
> For several days I'm trying to configure sendmail runing with drbd and 
> heartbeat and I have a lot of question about "how to make it working". 
> Looking for documentation I saw your thread. Did you found any fine 
> solution or could you give me some starting point for documents ?
> 
> I've 2 debian PC. At this point, I have 2 sendmail.cf files 
> (sendmail.lo.cf and sendmail.server.cf) and heartbeat switches from one 
> to the other when service switch from one PC to the other. But:
> - I get some trouble to forward mails from the slave one (cron, root, 
> daemon...) to the master when I have non canonical address. They are 
> always delivered localy.
> - I'm still not sure about sendmail behavior when the /var/mail area is 
> not available on the slave server. Actualy each server has a local 
> /var/mail but in production they will not: drbd will replicate the 
> master's /var/mail area on an unmounted partition.
> 
> Any information about your experience will be a great help.

You need to use a virtual IP address, and switch all services from one 
box to the other one, including Sendmail, i.e. you won't have two 
Sendmail working _at the same time_ with DRBD.

Set the MX to this virtual IP address.

> Patrick
> 
> Please could you answer on my professional email: 
> Patrick.Begou at hmg.inpg.fr (I'm writing from home here).

Regards,

Yann
-- 
Network & System Engineer
Goelaan SA, Switzerland
Tel. +41-22-960 98 20
Fax +41-22-960 98 21
http://www.goelaan.ch



More information about the drbd-user mailing list