5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: Using courier-mai...
FromSent OnAttachments
Sudhakar ChandraJan 21, 2004 12:41 am 
Sergey ChumakovJan 21, 2004 3:45 am 
Sam VarshavchikJan 21, 2004 4:14 am 
Stefan HornburgJan 21, 2004 6:19 am 
Sam VarshavchikJan 22, 2004 1:53 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:Re: [maildropl] Re: Using courier-maildrop as delivery agent for a virtual domain in postfixActions...
From:Stefan Hornburg (rac@linuxia.de)
Date:Jan 21, 2004 6:19:38 am
List:net.sourceforge.lists.courier-maildrop

On Wed, 21 Jan 2004 07:14:05 -0500 Sam Varshavchik <mrs@courier-mta.com> 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