* SUMMARY sharing /var/spool/mail between hosts
@ 1997-02-11 15:05 Rainer Landes
0 siblings, 0 replies; only message in thread
From: Rainer Landes @ 1997-02-11 15:05 UTC (permalink / raw)
To: tru64-unix-managers
Thanks, gurus!
Olle Eriksson <olle@cb.uu.se>
Simon Tardell <tardell@particle.kth.se>
"Bernt Christandl" <beb@rosat.mpe-garching.mpg.de>
Lucio Chiappetti <lucio@ifctr.mi.cnr.it>
Bertrand Hutin <hb@o2tech.fr>
Stephen Carpenter <sac@uvo.dec.com>
Kai Grunau <kgrunau@ifm.uni-kiel.de>
-------
My question was:
...
#I think I just could NFS-mount the directory /var/spool/mail on
#every unix host in the NIS domain.
#Question: How do I lock mail processes on the different hosts from
#accidentially accessing mail files at the same time and so clobbering
#the files?
...
---------
most answers were similar to:
read "man mail_manual_setup"
You have to enable NFS-locking on all systems.
...lots of people (including myself) do share mail spool
through NFS without experiencing any trouble.
----
Kai Grunau <kgrunau@ifm.uni-kiel.de> summarizes:
We have a NIS "Cluster" with 30 Workstations and ONE
/var/spool/mail directory !!!!
This is one mail directory is availabe on 29 machines over NFS.
The exports file look like this :
/var/spool/mail -root=0 hostnames
The fstab files look like this :
host:/usr/var/spool/mail /usr/var/spool/mail nfs rw,bg 0 0
It is important to start the nfs daemon with nfs-locking.
(man lockf)
------
"Bernt Christandl" <beb@rosat.mpe-garching.mpg.de>
pointed out that it is important not to export the mail spool to
everyone in /etc/exports, but to list the permitted hosts explicitely
(security!)
He suggested also to use exmh as mailer.
------
some opinions differ:
Simon Tardell <tardell@particle.kth.se>
...
I believe you don't. NFS locking is supposedly not secure enough to guarantee
that. The developer of qmail, an alternate MTA, makes a big deal about this
(they use an alternate mail drop scheme, which doesn't require NFS locking).
See http://www.qmail.org/. I don't remember where one could read the specifics
about NFS locking and mail spool, maybe the sendmail FAQ?
Having said that, lots of people (including myself) do share mail spool
through NFS without experiencing any trouble.
...
Lucio Chiappetti <lucio@ifctr.mi.cnr.it>
...
I've never done that. I've been told to be very cautios with NFS mount
of "system" directories.
...
Since those people can wander on any public machine,
the arrangement is the following :
incoming mail is stored in the spool area of the mail exchanger.
the mail exchanger runs the "imapd" daemon
users run Pine (or PC-Pine) as mail agent, this connects to the
imapd daemon and they can read their mail from anywhere.
...
Pine is a very nice package, and very simple to install, see the Pine Info
Centre at http://www.washington.edu/pine/
Bertrand Hutin <hb@o2tech.fr>
...
configure your hosts Nfs clients to send all mail to the mail server.
If you use public domain sendmail.8.8.x select a nullclient configuration file.
...
Rainer Landes, eMail: Computer-Administration@Physik.uni-karlsruhe.de
Tel(+49)721 608 3578 http://www-comp.physik.uni-karlsruhe.de/
Computer facilities of the Faculty of Physics, Univ. of Karlsruhe, GER
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-02-11 15:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-11 15:05 SUMMARY sharing /var/spool/mail between hosts Rainer Landes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox