Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2002 21:10:41 -0400
From:      mpd <mpd@rochester.rr.com>
To:        Adam M Ryan <adam@powersurge.net>
Cc:        questions@freebsd.org
Subject:   Re: procmail and spamassissan
Message-ID:  <20020422211041.B32534@rochester.rr.com>
In-Reply-To: <LOBBLIOBJFLGFEDBACNICEBIFLAA.adam@powersurge.net>; from adam@powersurge.net on Mon, Apr 22, 2002 at 07:34:57PM -0500
References:  <20020422201355.B32188@rochester.rr.com> <LOBBLIOBJFLGFEDBACNICEBIFLAA.adam@powersurge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 22, 2002 at 07:34:57PM -0500, Adam M Ryan wrote:
> I have tried all the options and changing the chmod of the dir, still
> procmail doesn't work with SA.

Does procmail work at all? Forget about SA for a minute, and
see if procmail is working correctly. Once it is, getting
SA to work should be trivial.

> 
> I have sendmail running, procmail installed as well as SA, could it be a
> problem that the actual mail doesn't reside in the /home/user dir?  Do I
> need anything special in the .procmail dir?

Not to my knowledge. I keep my rules there, and my procmail log. That's
about it, though.

> 
> With my new files:
> 
> p5@riptide[~]# cat .procmailrc
> VERBOSE=no
> MAILDIR=$HOME/mail
> PMDIR=$HOME/.procmail
> 
> :0fw
> | spamassassin -P
> 
> :0:
> * ^X-Spam-Status: Yes
> caughtspam
> 
> p5@riptide[~]# cat .forward
> "| spamassassin || exit 75"

This doesn't look right. The SpamAssassin README says do this:

5. Create a .forward file in your home directory containing the below
lines:

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"

I don't know if this actually works or not, as my MTA handles
running procmail for me.

If your MTA isn't using procmail, then it needs to be
invoked from the .forward file.

> 
> 
> Thanks
> 
> 
> 
<snip>

mike
-- 
___________________________________________________________
 
"IT IS INTERACTIVE HANDSHAKE GOLD!!!"
	- Pokey the Penguin from "HAPPY BIRTHDAY POKEY"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020422211041.B32534>