logo       
Bookmark and Share

Re: Re: Using courier-maildrop as delivery agent for a virtual domain in po: msg#00038

mail.maildrop

Subject: Re: Re: Using courier-maildrop as delivery agent for a virtual domain in postfix

On Wed, 21 Jan 2004 07:14:05 -0500
Sam Varshavchik <mrsam@xxxxxxxxxxxxxxx> wrote:

> Sudhakar Chandra writes:
>
> > Hi,
> >
> > I am trying to set up postfix and courier (imap, pop3 and maildrop) for
> > a virtual domain on a Debian Linux (woody + backport of postfix) box.
> > Postfix is accepting the email and passing it onto maildrop just fine.
> > The problem seems to be maildrop not recognizing the user as a valid
> > user for delivery. Here is my setup:
> >
> > 1. I have the following in /etc/courier/userdb/test.com:
>
> If you've installed the Courier build of maildrop, it will not recognize
> anything in userdb. Courier's version of maildrop reads the virtual account
> information that's retrieved by Courier when it delivers the message
> locally. In other words, the message must be delivered by Courier, not
> Postfix, in order for it to be delivered correctly.

Well, that depends what you need to know about the virtual account.
I'm using the following with exim and courier's maildrop:

virtual_user_drop:
driver = pipe
command = /usr/bin/maildrop -d virtmail
environment = VDIR=${lookup mysql{select maildir from users where
username='${quote_mysql:$local_part}@${quote_mysql:$domain}'}{$value}}
user = virtmail

# Global maildrop filter file

import VDIR

# Send everything smaller than 256 KB to Spamassassin
if ($SIZE < 262144)
{
xfilter "/usr/bin/spamc -U /var/run/spamd.sock"

if (/^X-Spam-Status: Yes/:h)
{
exception {
to "$VDIR/.SPAM/."
}
}
}

to "$VDIR/."

Ciao
Racke

>
>


--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise