5 messages in net.sourceforge.lists.courier-maildrop[maildropl] Help with courier+maildro...
FromSent OnAttachments
Chris BrintonMay 27, 2003 7:38 am 
Sam VarshavchikMay 27, 2003 8:08 am 
EmilianoMay 27, 2003 11:07 am 
Gerardo A. GregoryMay 27, 2003 11:35 am 
EmilianoMay 27, 2003 12:04 pm 
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] Help with courier+maildrop+userdb+virtual accountsActions...
From:Chris Brinton (cbri@mindspring.com)
Date:May 27, 2003 7:38:46 am
List:net.sourceforge.lists.courier-maildrop

Hi,

Im having a difficult time getting maildrop to work with virtual users and

the courier mta.

In courierd I have:

DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"

In userdb I have:

test@domain.com <mailto:test@domain.com> uid=514|mail=/home/virtualusers/testuser1/Maildir|home=/home/virtualusers/te stuser1|gid=514

test@domain.com <mailto:test@domain.com> uid=514|mail=/home/virtualusers/testuser2/Maildir|home=/home/virtualusers/te stuser2|gid=514

where uid 514 is for the virtualusers id

In /etc/courier/maildroprc I have:

#Tell maildrop to use spamassassin

logfile "maildrop.log"

if ( $SIZE < 26144 )

{

log "inside spamassassin"

exception {

xfilter "/usr/bin/spamassassin"

}

}

Now my confusion comes from the fact that for every mail delivered to a virtualuser,

I would expect to get a log entry in /home/virtualusers/maildrop.log and I would expect

all of this mail to have the spamassassin header info _or_ I would expect nothing to get

delivered because Ive made a configuration error. Instead, my virtual user mail get delivered

as always, but it doesn't get run thought SA.

Ive tried putting .mailfilter in ~virtualusers and /home/virtualusers/testuser1 to no avail. I get no help

from the courier mail log, as far as its concerned everything is good.

The only way Ive been able to get the results I want is to create a real account, point userdb

to that and put "|/usr/local/bin/maildrop || exit 77" into .courier

Im using the maildrop that built with the courier package, not the standalone package.

Help!

Chris