--- mouss <[EMAIL PROTECTED]> wrote:
> Juan Miscaro wrote:
> > --- mouss <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Peter wrote:
> >>
> >>> Done.
> >>>
> >>> It still can't find my user. Partial output:
> >>>
> >>> maildrop: Delivering to
> >>> /var/spool/virtual_mailboxes/example.com//Maildir/.Polluriel/
> >>> maildrop: Unable to open mailbox.
> >>>
> >>>
> >> so maildrop cannot write to .Polluriel.
> >> - make sure this is a maildir. if not sure, delete it and recreate
> it
> >>
> >> with maildirmake.
> >> - makes ure maildrop has permissions to write to. use chown.
> >>
> >
> >
> > Thank you for you continued support.
> >
> > Look closely. The user part of the path is still not there.
> >
> > Re permissions, I'm using user 'vmail'. mode 700 on the user
> > directory. The mail is being delivered there so why not to other
> subdirectories?
> >
>
> show your maildroprc.
As before, my complete maildroprc file:
/^Delivered-To:\s*.+/
RECIPIENT=getaddr ${MATCH}
# split the recipient into user and domain parts
USER=""
DOMAIN=""
if ( ${RECIPIENT} =~ /(.*)@([EMAIL PROTECTED])/ )
{
USER=${MATCH1}
DOMAIN=${MATCH2}
}
else
{
#no domain part
USER=${RECIPIENT}
}
# extract extension from user-part
# we assume '+' is the delimiter. if you use another char, adjust..
EXTENSION=""
if ( ${USER} =~ /([^\+]+)\+(.*)/ )
{
#extension found
USER=${MATCH1}
EXTENSION=${MATCH2}
}
MAILDIR="/var/spool/virtual_mailboxes/example.com/$USER/Maildir"
if (/^X-Spam-Status: Yes/)
{
to $MAILDIR/.Polluriel/
}
Ask a question on any topic and get answers from real people. Go to
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap