8 messages in net.sourceforge.lists.courier-maildrop[maildropl] PATHs
FromSent OnAttachments
Chris MastersSep 26, 2003 6:04 am 
Rob HuttonSep 26, 2003 6:50 am 
Chris MastersSep 26, 2003 9:32 am 
Rob HuttonSep 26, 2003 1:12 pm 
Chris MastersSep 27, 2003 5:48 am 
Rob HuttonSep 28, 2003 10:13 am 
Chris MastersSep 28, 2003 10:39 am 
Hanno HeckerSep 29, 2003 5:28 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] PATHsActions...
From:Chris Masters (roti@yahoo.com)
Date:Sep 26, 2003 6:04:53 am
List:net.sourceforge.lists.courier-maildrop

Sorry to go on about this.

I have a relative path stored in MySQL virtual user table:

mailbox | domain.com/jbloggs/ (note forward slash)

In my maildropmysql.config I have:

maildir_field mailbox (can I do this?) homedirectory_field mailbox

And in my maildroprc I want to have:

BASE="/export/home/vmail/"

if ( /^X-Spam-Status: YES */ ) { to "$BASE/$HOMEMaildir/.Spam/" } else { to "$BASE/$HOMEMaildir/" }

OK, the problem is that the maildropmysql.config says that homedirectory_field needs to be a 'full path' and that the config doesn't like $HOMEMaildir with '/'.

Can I use a relative path like this in maildroprc?

How can have $HOME (that ends with a '/') and Maildir together without error?

If I can't do any of this I'm going to have to patch the source - which I don't want to do.

Thanks to those who responded to my create maildir question. I might steal stuff from Erik's patch if I have to do other patches. Otherwise I'll do it in maildroprc.

Thanks for any additional help,

Chris