From owner-freebsd-questions Tue Jul 24 4:54:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls06.mediaone.net (chmls06.mediaone.net [24.147.1.144]) by hub.freebsd.org (Postfix) with ESMTP id 8ED4E37B405 for ; Tue, 24 Jul 2001 04:54:39 -0700 (PDT) (envelope-from leblanc@acadia.ne.mediaone.net) Received: from acadia.ne.mediaone.net (acadia.ne.mediaone.net [65.96.185.189]) by chmls06.mediaone.net (8.11.1/8.11.1) with ESMTP id f6OBscg12155 for ; Tue, 24 Jul 2001 07:54:38 -0400 (EDT) Received: (from leblanc@localhost) by acadia.ne.mediaone.net (8.9.3/8.9.3) id HAA06500; Tue, 24 Jul 2001 07:48:29 -0400 Date: Tue, 24 Jul 2001 07:48:29 -0400 From: Louis LeBlanc To: freebsd-questions@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: SirCam virus Message-ID: <20010724074828.C3193@acadia.ne.mediaone.net> Reply-To: freebsd-questions@FreeBSD.ORG Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.3.19i X-bright-idea: Lets abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 07/23/01 09:39 PM, Thierry Black sat at the `puter and typed: > > >Hey Ted and Thierry. I am curious about the cyrus/procmail thing. I > >am running Cyrus 1.6.24 with Procmail (don't remember the version). > > > >I am handling this pretty much the way you suggested, Ted, except that I > >may be doing it the wrong way. There are several issues with using > >sendmail and Cyrus. Unfortunately, Cyrus is somewhat notoriously > >difficult to configure with sendmail (at least in my experience). I > >am under the impression that it is necessary to have several flags set > >to make Cyrus run smoothly. Procmail is configured to call deliver, > >which will then pop the message into the correct mailbox. > > Hi Louis--The problem I experience with cyrus is that its deliver doesn't > actually do local delivery (I don't want local delivery), so I don't > understand what configuring procmail to intercept local delivery would help > if cyrus is already sending mail to its own spool directories for each user > in /var/spool/imap/user/, not /var/mail. > > Ted's message was helpful, but I must be missing something. > In my sendmail.cf, I have an Mcyrus section for the cyrus mailer, > and there is an Mlocal section for local delivery (about 4 ids use local > delivery here instead of cyrus, like root, for one), but I think procmail > needs to happen before either Mcyrus or Mlocal so that it can filter both > kinds of mail, right? > > Mail would need to go from sendmail to procmail, then to cyrus, or local > delivery, but I don't understand it well enough to make that happen. > > Hmm. Maybe I am misunderstanding the meaning of 'local delivery'. Imap keeps the mail in one place, but the uers may access it from anywhere. I understood local delivery to mean messages being delivered to a user account on the local imap server. That message may have come from some other account on the local server, or from another network altogether. The alternative is a message intended for a recipient on another server - in which case the MTA (sendmail) should be the one to deliver it. I guess I am confused because you say you don't want local delivery. I'm pretty sure I don't understand something (maybe a lot of somethings) here. The way I have it working now on my RH6.2 box is for sendmail to think it is using the cyrus mailer. However, in the Mcyrus section, I have changed the command from deliver to procmail along with the flags. Sendmail probably doesn't even need to know about cyrus, and I could have just told it to use procmail. Procmail will call deliver itself. Seems to do the job, but I still feel like it is a hack. One reason I wanted to use procmail instead of the Cyrus Sieve tool, is that procmail is much more established and stable. I have interpreted the relatively large number of 'im having trouble with sieve' messages on the cyrus-info list to mean that it is, at best difficult to set up properly. Procmail is distributed with a starter /etc/procmailrc that is good (except you have to set up the deliver call - let me know if you go this route - I' let you have a copy of mine). Besides, there are so many resources for procmail out there you won't believe it. Hundreds of spam killer recipes are available. Anyway, I guess I have a lot of reading to do, but I won't have time for it for a while. Good luck with your config, and if it isn't too much trouble, I'd like to hear what you finally decide. I have actually been considering checking out another imap server, but I like the cyrus method of keeping the mail separate from the users home directory. I wonder how courier handles it? Good luck Lou -- Louis LeBlanc leblanc@acadia.ne.mediaone.net Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://acadia.ne.mediaone.net ԿԬ The aim of science is to seek the simplest explanations of complex facts. Seek simplicity and distrust it. -- Whitehead. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message