I am trying to configure dbmail with SASL and have tested it on the server with,

server -s -rcmd -p 8000
client -s rcmd -p 8000 -m PLAIN 127.0.0.1

...and I can authenticate fine...

Now I want to authenticate with a webmail client and am getting this in the posfix log file,

Oct 1 21:30:05 cpe-22-33-233-133 authdaemond: failed to connect to mysql server (server=mysql.example.com, userid=admin): Unknown MySQL server host 'mysql.example.com' (1)

These are my main.cf entries,

broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtpd_recipient_restrictions = permit_mynetworks,
                           reject_invalid_hostname,
                           reject_non_fqdn_sender,
                           reject_non_fqdn_recipient,
                           reject_unknown_recipient_domain,
                           reject_unauth_pipelining,
                           reject_unknown_sender_domain,
                           permit_sasl_authenticated,
                           check_helo_access hash:/etc/postfix/helo_access,
                           reject_unauth_destination

Is there a dbmail config setting I need to make to tell it what database? Doesn't the request come in from the webmail client, to postfix, to dbmail? What am I missing?

(everything was working fine without SASL)

Jim


Reply via email to