Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2006 09:14:05 +0800
From:      "jan gestre" <freebsd.ph@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Postfix & SASL Authentication
Message-ID:  <a25afc300608081814m3019104bxe4d4765637320036@mail.gmail.com>
In-Reply-To: <20060808193523.BDD9.GERARD@seibercom.net>
References:  <20060808120629.F5AF.GERARD@seibercom.net> <44D8C496.80105@utdallas.edu> <20060808193523.BDD9.GERARD@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/9/06, Gerard Seibert <gerard@seibercom.net> wrote:
>
> Paul Schmehl wrote:
>
> > Apparently you're using the sasldb2 database for logins?  If so, the
> > sasldb2 database needs to be readable by postfix, and it has to be
> > populated with the usernames@domains that you need.  Have you populated
> > the db?
> >
> > You would probably be better off using saslauthd as your pwcheck_method.
> >   Then start saslauthd with the -a sasldb flag.  (See man 8 saslauthd.)
> >   Auxprop is an older method that wasn't very dependable.
>
> Thanks, that is what I did. I had to modify the
> /usr/local/lib/smtpd.conf file, but that was about it.
>
> I do have one question though. The rc.d file has 'pam' listed rather
> than sasldb for the '-a ' flag. I changed it there although the
> directions said not too. Is there any reason that changing it in the rc.d
> file is a bad thing? I could not figure out what it meant to do
> otherwise. Was I suppose to create another file that would override that
> one? If so, what was the syntax of the file suppose to be? Anyway, it
> works, so that is all I am really interested in at the moment.
>
> try putting this in your rc.conf:

saslauthd_enable="YES"
saslauthd_flags="-a getpwent"

HTH



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