From owner-freebsd-questions Fri Apr 13 3:46:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.XtremeDev.com (xtremedev.com [216.241.38.65]) by hub.freebsd.org (Postfix) with ESMTP id E973537B42C for ; Fri, 13 Apr 2001 03:46:23 -0700 (PDT) (envelope-from freebsd@XtremeDev.com) Received: by mail.XtremeDev.com (Postfix, from userid 1007) id 0AF7013634; Fri, 13 Apr 2001 04:46:17 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by mail.XtremeDev.com (Postfix) with ESMTP id EE2C5D93C; Fri, 13 Apr 2001 04:46:17 -0600 (MDT) Date: Fri, 13 Apr 2001 04:46:17 -0600 (MDT) From: FreeBSD To: Jan Grant Cc: questions Subject: Re: Cyrus-IMAPd and postfix In-Reply-To: Message-ID: <20010413044300.G66200-100000@Amber.XtremeDev.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 10 Apr 2001, Jan Grant wrote: > On Tue, 10 Apr 2001, FreeBSD wrote: > > On Tue, 10 Apr 2001, Jan Grant wrote: > > > > > In no particular order: you can have users that only exist in Cyrus. > > > These need sasldb password entries. You also can have users that exist > > > in /etc/passwd, etc. These can also have entries in sasldb, _or_ they > > > can authenticate against the system passwrod database. > > > > > > That's the job of pwcheck: you (imapd, actually) give it a username and > > > password, and it checks it against the system database. > > > > > > You _can_ (if I recall correctly) configure cyrus to create user > > > mailboxes "on the fly". Otherwise, before you can deliver mail to a user > > > you'll need to make them a mailbox. Using cyradm to do something like: > > > > > > cm user.foobar > > > > > > is sufficient if "foobar" is a system user. > > > > Ah. Is it possible to configure pwcheck to act in a fall back manner? > > Meaning it checks sasldb for that user first, then system shadowed > > passwords? Thanks for the help. > > If you configure sasldb and pwcheck, this ought to be the default > behaviour. I have Cyrus and pwcheck setup now. But so far I have been unable to get pwcheck to check sasldb and then system shadowed passwords. Right now I am using the fallback_transport option in postfix to send to Cyrus (checking against sasldb) if the user doesn't exist in /etc/passwd. Which works well, but ideally I'd like it to be reversed. Can postfix do this? Or is it entirely left up to Cyrus-imapd? So far I haven't been able to get Cyrus to check both system passwd as well as sasldb. Thanks in advance, and I really do appreciate the help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message