From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 06:54:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B654537B401 for ; Thu, 3 Apr 2003 06:54:14 -0800 (PST) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCD9143FB1 for ; Thu, 3 Apr 2003 06:54:13 -0800 (PST) (envelope-from Alexander.Farber@t-online.de) Received: from fwd11.sul.t-online.de by mailout02.sul.t-online.com with smtp id 19166N-00071R-03; Thu, 03 Apr 2003 16:54:03 +0200 Received: from pref.my.domain (520042202609-0001@[80.135.159.232]) by fwd11.sul.t-online.com with esmtp id 19166A-0xE76mC; Thu, 3 Apr 2003 16:53:50 +0200 Received: from pref.my.domain (alex@localhost.my.domain [IPv6:::1]) by pref.my.domain (8.12.6/8.12.6) with ESMTP id h33EpEZQ010335 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 3 Apr 2003 16:51:15 +0200 (CEST) Received: (from alex@localhost) by pref.my.domain (8.12.6/8.12.2/Submit) id h33Ep51l020090; Thu, 3 Apr 2003 16:51:05 +0200 (CEST) Date: Thu, 3 Apr 2003 16:51:05 +0200 From: Alexander.Farber@t-online.de (Alexander Farber) To: Kirk Strauser Message-ID: <20030403145105.GA15893@pref> References: <87k7eeyc57.fsf@pooh.honeypot.net> <87k7edvpwn.fsf@pooh.honeypot.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k7edvpwn.fsf@pooh.honeypot.net> User-Agent: Mutt/1.4i X-Url: X-Operating-System: OpenBSD 3.2 i386 X-Sender: 520042202609-0001@t-dialin.net cc: freebsd-questions@freebsd.org Subject: Re: SOLVED! Re: Sendmail + Cyrus + Procmail(?) + SpamAssassin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 14:54:15 -0000 Hi, On Tue, Apr 01, 2003 at 04:00:56PM -0600, Kirk Strauser wrote: > At 2003-04-01T06:17:40Z, Kirk Strauser 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/