If you create a new user on the system, that user cannot receive mail
until you manually create an empty mail file for him/her with the
proper permissions. The issue seems to be that Smail cannot create
files in the mail spool directory (/var/spool/mail on my system) since
it sets it's UID and GID to that of the mail receiver before trying to
open the file (with O_CREAT set).
The mail directory is mode 775, owner root, group mail. Smail is
setuid root, of course.
While not averse to hacking Smail to get the right behaviour, I would
like to know if anyone else has seen (or better, fixed!) this problem.
-- Raju
--
Raj Mathur The X Group New Delhi India
PGP: Fingerprint: F2 D4 4A 21 27 B0 63 FF 15 97 9D AE 9D 40 BC B8
2.6.i Key: finger raju@arbornet.org
It is the mind that moves.