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