6 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Automatically creatin...
FromSent OnAttachments
seat...@scygro.ath.cxMar 17, 2005 10:15 pm 
RobinMar 18, 2005 1:45 am 
seat...@scygro.ath.cxMar 18, 2005 1:55 am 
RobinMar 18, 2005 3:03 am 
Sam VarshavchikMar 18, 2005 4:16 am 
Joaquim LaureanoMar 18, 2005 5:45 pm 
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:Re: [maildropl] Automatically creating home directories (not just maildir)Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 18, 2005 4:16:44 am
List:net.sourceforge.lists.courier-maildrop

seat@scygro.ath.cx writes:

Hi there,

I need to have maildrop create home directories on the fly when delivering first message. I have managed getting the maildir's created by reading up a bit and adding this:

`until test -d $HOME/.maildir; do /usr/bin/maildirmake $HOME/.maildir; done`

to /etc/maildroprc

However, I need $HOME created as well. I tried, but maildrop doesn't even get to this point if $HOME doesn't exist.

Correct. That's because it's the system administrator's job to create the mail account, and its maildir, and not maildrop's.

How do I *make* maildrop create the home directory (and possibly the domain directory too) on first delivery? Is it possible? (Outside of script/croning etc, and so forth)?

No. maildrop is not a system administrator. It's a mail delivery agent, that delivers mail to an existing mail account.