[BlueOnyx:25051] Re: Authenticated smarthost using Postfix

Larry Smith lesmith at ecsis.net
Wed Jul 28 09:25:57 -05 2021


On Wed July 28 2021 08:55, Colin Jack wrote:
> Hi Larry,
>
>     Then I believe you need to create the database file for authentication
>     with the saslpasswd2 command, not as a hash file db.
>
> I'm not at all familiar with sasl (as you will have guessed!).
>
> Will I not need this in the main.cf then:
> smtpd_sasl_password_maps= hash:/etc/postfix/sasl_passwd
>

Colin,

  No, in main.cf you will add smtpd_sasl_path - smtpd
which tells postfix that the cyrus configuration file is named smtpd.conf.
This file is generally in /usr/lib/sasl2 or possibly /etc/sasl2 directory.
You then configure cyrus to authenticate against its database (sasldb).

 Check out www.postfix.org/SASL_README.html for actual instructions
on how to configure this.

-- 
Larry Smith
lesmith at ecsis.net



More information about the Blueonyx mailing list