Hi guys
I need to be able to have the assign file (or at least the cdb) updated
across my servers each time the main server updates. The main server is
currently serving /etc/passwd across NIS, and each other server is acting as
a slave server, in case our main one goes down. Mail is delivered form the
main server via NFS to each of the subsidiaries, which are mounted using
automount. When the server (particularly NFS) is not available, the master
server will defer (since it has users/assign), but the slave servers won't
because they don't have a users/assign file.
Now, I know some of you are thinking NIS & NFS..."look in the FAQ". That is
fine, I have created the assign and cdb files with no problems. But I need
these files to be distributed (note: different from simply accessible)
across the network as soon as qmail-newu is run. Now, I can hack qmail-newu
a bit to call some other command to do the updating, but if possible I want
to be able to distribute via NIS. I'd prefer to not have to implement LDAP
since I don't really have the time at the moment... On that note, does
anyone know how I can modify the NIS Makefile to distribute assign and/or
cdb, or any other way of allowing other servers to 'share' these files so
that mail is deferred when the connection is not available. Between all the
servers, all users on our domain look local, even if their Maildir is stored
on another server. The NFS link from the main server delivers mail to the
correct location, and on each of the subsidiaries which don't have shares
for each machine, ~alias/.qmail-default simply forwards undeliverable local
mail to the main relay. If the link is down, SMTP will be deferred - no
problems there.
Any help would be greatly appreciated! Thanks!
/BR
Manager
InterPlanetary Solutions
http://ipsware.com/