6 messages in net.sourceforge.lists.courier-users[courier-users] auto-maildir generation
FromSent OnAttachments
Bryan IrvineSep 20, 2005 10:53 am 
Bowie BaileySep 20, 2005 11:10 am 
Jay LeeSep 20, 2005 11:10 am 
Gordon MessmerSep 20, 2005 11:19 am 
Bryan IrvineSep 20, 2005 12:17 pm 
Bryan IrvineSep 20, 2005 12:19 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:[courier-users] auto-maildir generationActions...
From:Bryan Irvine (spar@gmail.com)
Date:Sep 20, 2005 10:53:05 am
List:net.sourceforge.lists.courier-users

I'm trying to have the maildirs automatically generated when an email comes in for a user stored in ldap, if the directory doesn't already exist.

I've tried various forms of /etc/maildroprc.

The current non-functioning-but-looks-right-to-me version looks like so.

`/usr/bin/test -d $HOME` if( $RETURNCODE != 0) { `mkdir -p $DIR` `maildirmake $HOME` `chown virtual.virtual -R $DIR` } logfile "$HOME/maildrop.log"

What am I missing here?

--Bryan