Host1:
SunOS Host1 5.7
automount's homedirs under /home via NFS from Host2
qmail 1.03 installed
local deliver via the /var/qmail/boot/binm3 (/bin/mail to /var/mail/$username)
nis+master
Host2:
SunOS Host2 5.6
NFS server
Host3:
login server
has /var/mail mounted via NFS from Host1
automount's homedirs under /home via NFS from Host2
the problem is that a users homedir is owned by root until its mounted:
an unmounted homedir:
Host1{root}:/home$ls -l|grep tempxxxx
dr-xr-xr-x 1 root root 1 Jun 20 14:47 tempxxxx
when the homedir is in this state a cat of the syslog will display something
like
'Sorry, no mailbox here by that name. (#5.1.1)' when i try
'echo to: tempxxxx | /var/qmail/bin/qmail-inject
if i first enter the users homedir:
Host1{root}:/home$cd tempxxxx ; cd ..
Host1{root}:/home$ls -l |grep tempxxxx
drwx--x--x 9 tempxxxx temp 512 Jun 17 12:49 tempxxxx
and after that i try a 'echo to: tempxxxx | /var/qmail/bin/qmail-inject' the
mail will show up
in /var/mail/tempxxxx
This far im totaly aware of why it wont work, qmail doesent deliver to users
whos homedir is owned
by root, simple, it was in one of the pic's.
In the FAQ there is an entry that says 'deliver during NFS or NIS outage', i
tried to build a
userlist, but still same problem.
Anyone has a solution or can point me in the right direction?
/Henrik Hellerstedt ([EMAIL PROTECTED])