On Wed, May 28, 2014 at 07:17:22PM +0100, John WH Smith wrote:
> localhost postfix/smtps/smtpd[14222]: warning:
> localhost.localdomain[127.0.0.1]: SASL LOGIN authentication failed:
> authentication failure
> localhost postfix/smtps/smtpd[14222]: >
> localhost.localdomain[127.0.0.1]: 535 5.7.8 Error: authentication
> failed: authentication failure
This error is with your SMTP *server* authenticating submission users.
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/users
> smtp_sasl_security_options = noplaintext, noanonymous
These settings are for your SMTP *client* to authenticate itself
to remote relay hosts that require SASL authentication.
> My "users" file contains :
> mydomain.tld myuser:mypass
This is therefore irrelevant. To configure SASL to authenticate
users requires some expertise with an appropriate SASL backend
driver (often PAM) and a .conf file that selects the right driver
and driver options. You may need to run saslauthd, ...
You're probably better off with dovecot, it is a less steep learning
curve. Cyrus SASL is substantially more configurable, at great
cost in interface complexity.
--
Viktor.