Hi there - I'm new to the list but have had a look though the archives, but
can't seem to find the answer to my problem:
I'm trying to ultimately get sendmail to virtually deliver messages to
maildrop, but for the moment I'm just trying to get maildrop going on its
own:
I have a MySQL table set up with:
name uid gid home maildir quota mailstatus
"1001" "1001" "100" "/vmail/mark" "" "" 1
/etc/passwd has
vmail:x:1001:100:Mail delivery:/vmail:/dev/null
If I run on the command line as root:
maildrop -V9 -d mark
It works out the mailbox from the SQL database and starts trying to deliver,
but I get the following error:
maildrop: Changing to /vmail/mark
/usr/local/bin/maildrop: Unable to change to home directory.
I've tried chown -R /homedir to root, mail, vmail, nobody. And chmod to
various states, with no success.
What owner and permissions should /vmail have??
Also -- is there anyway to get maildrop to auto-create home directories /
maildirs if email arrives for a user and they don't currently have one? The
docs seem to indicate you have to run makemaildir for each user...
Cheers,
Mark