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:Luis Pena (lpe@fiberride.com)
Date:May 3, 2002 4:23:41 pm
List:net.sourceforge.lists.courier-maildrop

Yes, running a message to spamc from the commandline does give me expected output. Hmm, postfix and maildrop seemed to work fine without the xfilter line in my .mailfilter file... I'm now at a loss...

Thanks

--Luis A. Peña

-----Original Message----- From: Charles J. Boening [mailto:char@theboenings.com] Sent: Friday, May 03, 2002 4:19 PM To: 'Luis Pena' Cc: cour@lists.sourceforge.net Subject: RE: [maildropl] Postfix - Maildrop - SpamAssassin

Could be a Postfix issue ....

I'm running qmail.

Can you feed the message to spamc from the commandline and have it work?

-----Original Message----- From: Luis Pena [mailto:lpe@fiberride.com] Sent: Friday, May 03, 2002 4:04 PM To: 'Charles J. Boening'; 'Charlie Watts' Cc: cour@lists.sourceforge.net Subject: RE: [maildropl] Postfix - Maildrop - SpamAssassin

Thanks for the help, something is still wrong though, here is my new .mailfilter file

------------------------------------------------------------------------

-- import EXT import HOST MAX = 15

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

to "./Maildir/"

------------------------------------------------------------------------

-- I started spamd from the command as such

------------------------------------------------------------------------

-- /usr/bin/spamd -d -p 1783

------------------------------------------------------------------------

-- if I send a message that is large everything is fine since it doesn't go through spamc, but all messages less than that get the same previous error. so now i know i've got an issue with either spamassassin, or maildrop and spamassassin not playing nice together. Rumming spamc from the command line seems to work fine though.... hmm...

Thanks Charles or anyone who may still have some insight as to what I'm doing wrong.

--Luis A. Peña

lpe@fiberride.com 1 . 949 . 272 . 1582 - d i r e c t 1 . 949 . 272 . 1583 - f a x

F i b e r R i d e I n c . 1 . 800 . 863 . 2597 - 24 Hour Customer Support 1 . 877 . 934 . 2376 - Network Issues

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Charles J. Boening Sent: Friday, May 03, 2002 1:28 PM To: 'Luis Pena'; 'Charlie Watts' Cc: cour@lists.sourceforge.net Subject: RE: [maildropl] Postfix - Maildrop - SpamAssassin

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 ...)

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: band@sourceforge.net