Alessio Cecchi | 3 Jan 2012 12:21
Picon

vadddomain on NFS need qmail-send reload

Hi,

I have some installation of qmail + vpopmail servers with 
~vpopmail/domains/ ~qmail/control/ and ~qmail/users/ share via NFS.

In this situation if I add a domain via ~vpopmail/bin/vadddomain from 
"server-1" al files (rcpthosts and virtualdomains) are update on all 
servers of the cluster but only "server-1" is unable to delivery email 
local for the new domain, others server needs qmail-send to be reloaded 
for re-reads its control files.

Is there a trick to automate this task (svc -h /service/qmail-send) via 
"vpopmail" on all servers in the cluster?
--

-- 
Alessio Cecchi is:
 <at>  ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
 <at>  PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
 <at>  LOLUG -> Socio http://www.lolug.net

!DSPAM:4f02e4c434242052620138!

Jonas Holm Bundgaard | 3 Jan 2012 12:27
Picon

Re: vadddomain on NFS need qmail-send reload


> Is there a trick to automate this task (svc -h /service/qmail-send) via
> "vpopmail" on all servers in the cluster?

/home/vpopmail/etc/onchange perhaps?

Best regards
Jonas

!DSPAM:4f02e60b34242119019458!

Alessio Cecchi | 4 Jan 2012 10:10
Picon

Re: vadddomain on NFS need qmail-send reload

Il 03/01/2012 12:27, Jonas Holm Bundgaard ha scritto:
>
>> Is there a trick to automate this task (svc -h /service/qmail-send) via
>> "vpopmail" on all servers in the cluster?
>
>
> /home/vpopmail/etc/onchange perhaps?
>

This is a good idea.

I had also thought of a system that check 
/var/qmail/control/virtualdomains via md5sum and if it's chaged since 
last check reload qmail-send.

Other suggestions?
--

-- 
Alessio Cecchi is:
 <at>  ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
 <at>  PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
 <at>  LOLUG -> Socio http://www.lolug.net

!DSPAM:4f04179f34241431710879!


Gmane