ASMTP setup on 4.8

Hajimu UMEMOTO ume at mahoroba.org
Fri Jul 18 13:57:49 PDT 2003


Hi,

>>>>> On Fri, 18 Jul 2003 13:26:56 -0700
>>>>> "Drew Tomlinson" <drew at mykitchentable.net> said:

> Okay, I found the problem, and I've just committed the fix.  Please
> re-cvsup and try it.

drew> Thanks!!!

You are welcome.

> drew> It's been a few weeks since I looked at it but I recall having
drew> to create
> drew> a /usr/local/lib/sasl2/smtpd.conf file.  What should the correct
> drew> contents be?
>
> Though I have no experience with postfix, I heared that
> /usr/local/lib/sasl2/smtpd.conf is for postfix.  Are you using
> sendmail?  If so, it should be /usr/local/lib/sasl2/Sendmail.conf.

drew> Yes, I'm using Postfix.

I see.  Is your postfix able to access /var/state/saslauthd?  It
should be:

	drwxrwx---   2 cyrus  mail   512 Jul 19 04:52 saslauthd

Old cyrus-sasl2 port made the directory with wrong permission, and
postfix couldn't access it.  This problem was corrected.  I believe
postfix user belongs to mail group, so that postfix can access the
directory.

Oops, I didn't answer your question.  If you want to use saslauthd for
plain text password, the correct contents of smtpd.conf should be:

	pwcheck_method: saslauthd

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume at bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-security mailing list