3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Permissions troubles with...
FromSent OnAttachments
Mark - Orcon SupportOct 16, 2001 11:34 pm 
Sam VarshavchikOct 17, 2001 4:43 am 
Deim AgostonOct 17, 2001 5:09 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Permissions troubles with courier+mysqlActions...
From:Mark - Orcon Support (ma@orcon.net.nz)
Date:Oct 16, 2001 11:34:54 pm
List:net.sourceforge.lists.courier-maildrop

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