8 messages in net.sourceforge.lists.courier-maildropRE: [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:RE: [maildropl] PATHsActions...
From:Rob Hutton (rob.@comcast.net)
Date:Sep 26, 2003 6:50:03 am
List:net.sourceforge.lists.courier-maildrop

Can you spell out what you are trying to do. I am confused because you have said what you are doing, not where you are trying to go. I have had the following configs working

HOME = "/" MAILDIR = fully qualified path

HOME = "/export/home/vmail" MAILDIR = domainname/username

HOME = "/export/maildropfilers/filter1" MAILDIR = /export/home/vmail/domainname/username

to throw in some of your examples.

Thanks, Rob

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Chris Masters Sent: Friday, September 26, 2003 9:05 AM To: cour@lists.sourceforge.net Subject: [maildropl] PATHs

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,