6 messages in net.sourceforge.lists.courier-maildrop[maildropl] Automatically creating ho...
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:[maildropl] Automatically creating home directories (not just maildir)Actions...
From:seat...@scygro.ath.cx (seat@scygro.ath.cx)
Date:Mar 17, 2005 10:15:27 pm
List:net.sourceforge.lists.courier-maildrop

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.

My current setup is as follows: /home/vmail/domain.tld/user/.maildir

Where 'user' would be the home directory, and .maildir the mail directory. I do need the home directory for mailfilter files to sit in.

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)?

Thank You