Date: Thu, 3 Apr 2003 16:51:05 +0200 From: Alexander.Farber@t-online.de (Alexander Farber) To: Kirk Strauser <kirk@strauser.com> Cc: freebsd-questions@freebsd.org Subject: Re: SOLVED! Re: Sendmail + Cyrus + Procmail(?) + SpamAssassin Message-ID: <20030403145105.GA15893@pref> In-Reply-To: <87k7edvpwn.fsf@pooh.honeypot.net> References: <87k7eeyc57.fsf@pooh.honeypot.net> <87k7edvpwn.fsf@pooh.honeypot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Tue, Apr 01, 2003 at 04:00:56PM -0600, Kirk Strauser wrote: > At 2003-04-01T06:17:40Z, Kirk Strauser <kirk@strauser.com> writes: > > It's now well past my bed time, my brain is all muzzy, and I'm "this > > close" to giving up on the whole project. Before I do, I have to ask: has > > *anyone* made Sendmail+Cyrus+Procmail+SpamAssassin work? > > I fixed my problem. The writeup is at > > http://subwiki.honeypot.net/cgi-bin/view/Freebsd/SendMailAndCyrus > > under "Using ProcMail for local delivery". I hope this helps someone in the > same situation. I use fetchmail -> procmail -> SpamAssasin -> Courier-IMAP on OpenBSD and it works fine - procmail is able to deliver to Courier-IMAP folders, you just have to name them .blah/ (and BTW you don't have to have locks on them so you don't need the last colon in :0:) Here is my ~/.procmailrc: PATH=/bin:/usr/bin:/usr/local/bin MAILDIR=$HOME/Maildir # you'd better make sure it exists DEFAULT=$MAILDIR/INBOX # completely optional LOGFILE=$MAILDIR/logfile # recommended VERBOSE=on YEARMONTH=`date +%Y-%m` :0 * ^TO_.*openbsd\.(org|com) .$YEARMONTH-OpenBSD/ :0 * ^TO_.*freebsd\.(org|com) .$YEARMONTH-FreeBSD/ :0 * ^List-Id:.*gentoo-user\.gentoo\.org { :0hf | formail -fc | sed -e '/^Subject:/ s,\[gentoo-user\] ,,g' :0: .$YEARMONTH-Gentoo/ } :0fw * < 262144 | spamassassin :0 * ^X-Spam-Status: Yes .Spam/ :0 .$YEARMONTH-Inbox/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030403145105.GA15893>