> Hello,
> We want to run qmail/vpopmail with nfs.
> for vpopmail I guest we have to put /home/vpopmail on nfs
> but for qmail ?
> /var/qmail ?
> /var/qmail/control ?
> another ?

The normal use of NFS in a qmail environment is for the back-end mail storage, i.e. 
where
the actual Maildirs reside. The Maildir standard is designed to cope with NFS, where 
you
might have multiple qmail front ends delivering messages to shared NFS storage.

The thing to avoid is having the queue of the front end machines on NFS: It is not
designed for this. The queue's naming convention is based on i-node number, and this
doesn't map well to NFS. Additionally, NFS will break qmail's guarantee that it won't 
lose
messages - since NFS can lie about whether it's written to disk. Finally, you'll 
cripple
your performance, with NFS network activity and disk activity on your NFS box (qmail 
makes
the assumption that it can manipulate items in the queue with - I think - rename(), 
which
is an atomic operation on a local disk, but a nightmare in NFS).

Solution: checkout more on this subject in the archives, and think along the lines of
having local disks for queues (and the rest of /var/qmail) - using NFS only for the 
actual
Maildirs (don't even think of using mbox on NFS).

cheers,

Andrew.

Reply via email to