12 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] Postfix - Maildrop - ...
FromSent OnAttachments
Luis PenaMay 1, 2002 8:00 pm 
Charlie WattsMay 2, 2002 6:36 am 
Luis PenaMay 3, 2002 10:48 am 
Charles J. BoeningMay 3, 2002 1:27 pm 
Luis PenaMay 3, 2002 4:00 pm 
Charles J. BoeningMay 3, 2002 4:18 pm 
Luis PenaMay 3, 2002 4:23 pm 
Marcus FringsJun 14, 2003 2:03 am 
Matthias AndreeJun 15, 2003 6:23 am 
Marcus FringsJun 20, 2003 4:26 am 
Matthias AndreeJun 21, 2003 3:07 am 
Marcus FringsJun 21, 2003 5:15 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] Postfix - Maildrop - SpamAssassinActions...
From:Charles J. Boening (char@theboenings.com)
Date:May 3, 2002 1:27:39 pm
List:net.sourceforge.lists.courier-maildrop

Here's my mailfilter ... Running from .qmail using vpopmail 5.3.4. Each user gets their own mailfilter and .qmail file. I suppose I could have a global system mailfilter and turn it on and off by way of .qmail, but then would have to do userdir lookups via vuserinfo which would cause a postgresql call ... Not that it would make a big difference, but figure I would trade database load for disk space.

Hope this helps.

/*** begin .qmail file ***/ |maildrop mailfilter /*** end .qmail file ***/

/*** begin mailfilter file ***/ import EXT import HOST import HOME MAX = 15

if ($SIZE < 262144) { xfilter "/usr/bin/spamc -p 1783 -f -u $EXT@$HOST" }

if ((/^X-Spam-Status: Yes, hits=![0-9]+\.[0-9]+!.*/:h && $MATCH2 > $MAX)) { exit }

if ((/^X-Spam-Flag:.*YES/)) { `test -d ./Maildir/.SPAM` if( $RETURNCODE == 1 ) { `maildirmake ./Maildir/.SPAM;chown -R vpopmail.vchkpw ./Maildir/.SPAM` } to "./Maildir/.SPAM/" }

to "./Maildir/"

/*** end mailfilter file ***/

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Luis Pena Sent: Friday, May 03, 2002 10:53 AM To: 'Charlie Watts' Cc: cour@lists.sourceforge.net Subject: RE: [maildropl] Postfix - Maildrop - SpamAssassin

True, that was silly of me, however that didn't seem to be the problem. I changed the xfilter line so that it is now:

xfilter "/usr/bin/spamassassin -P"

however the error continues... any thoughts? (I'll implement spamd and spamc next, I'm taking baby steps here)

--Luis A. Peña

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Charlie Watts Sent: Thursday, May 02, 2002 6:35 AM To: Luis Pena Cc: cour@lists.sourceforge.net Subject: Re: [maildropl] Postfix - Maildrop - SpamAssassin

On Wed, 1 May 2002, Luis Pena wrote:

Postfix and Maildrop are working fine together for me as long as I have the $HOME/.mailfilter file empty for users. I’m trying

to get this mail filtered through spamassassin and have added the line:

xfilter "/usr/share/spamassassin -P"

to the .mailfilter file. However once I do that, these errors appear in my maillog and delivery gets suspended for that user: maildrop[19032]: Unable to filter message postfix/local[19000]: 3C694233B8: to=<us@mydomain.com>, relay=local,

delay=0, status=deferred (temporary failure. Command output: maildrop:

error writing to filter. /usr/bin/maildrop: Unable to filter message.

)

On my system, /usr/share/spamassassin is a directory.

Do you want /usr/bin/spamassassin?

(If you do more than a few hundred messages a day, using spamc/spamd is recommended ...)