Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 04:46:17 -0600 (MDT)
From:      FreeBSD <freebsd@XtremeDev.com>
To:        Jan Grant <Jan.Grant@bristol.ac.uk>
Cc:        questions <questions@freebsd.org>
Subject:   Re: Cyrus-IMAPd and postfix
Message-ID:  <20010413044300.G66200-100000@Amber.XtremeDev.com>
In-Reply-To: <Pine.GSO.4.31.0104102156300.8329-100000@mail.ilrt.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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