3 messages in net.sourceforge.lists.courier-maildrop[maildropl] error: Unable to open mai...
FromSent OnAttachments
Juan MiscaroFeb 16, 2008 8:12 pm 
Leandro MendesFeb 18, 2008 1:35 pm 
Leandro MendesFeb 20, 2008 8:51 am 
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] error: Unable to open mailbox (why?)Actions...
From:Juan Miscaro (scry@yahoo.ca)
Date:Feb 16, 2008 8:12:09 pm
List:net.sourceforge.lists.courier-maildrop

I'm having a hell of a time getting postfix with virtual mailboxes via mysql backend to work. I've checked permissions and configurations over and over and can't find why i'm getting the error. I'm running maildrop 2.0.2 on OpenBSD 4.2.

$ maildrop -V 3 -d pebb@example.com

maildrop: authlib: groupid=3100 maildrop: authlib: userid=3100 maildrop: authlib: logname=pebb@example.com, home=/var/spool/virtual_mailboxes/, mail=example.com/pebbles/ maildrop: Changing to /var/spool/virtual_mailboxes/ rrr Message start at 0 bytes, envelope sender=pebb@example.com Matching /^Delivered-To:\s*.+/ against rrr Not matched. Matching /(.*)@([^@])/ against Matching /([^\+]+)\+(.*)/ against Matching /^X-Spam-Status: Yes/ against rrr Not matched. maildrop: Attempting .mailfilter maildrop: Delivering to example.com/pebbles/ maildrop: Unable to open mailbox.

My /etc/courier/maildroprc file:

/^Delivered-To:\s*.+/ RECIPIENT=getaddr ${MATCH}

# split the recipient into user and domain parts USER="" DOMAIN="" if ( ${RECIPIENT} =~ /(.*)@([^@])/ ) { 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/$DOMAIN/$USER/Maildir"

if (/^X-Spam-Status: Yes/) { to $MAILDIR/.Spam/ }

Thanks in advance,

/miscara

Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/