From: "Jim Douglas" <[EMAIL PROTECTED]>
Reply-To: DBMail mailinglist <[email protected]>
To: [email protected]
Subject: [Dbmail] dbmail w/ SASL
Date: Mon, 02 Oct 2006 01:49:07 +0000

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


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


I found this tutorial and have been following it,

http://www.dbmail.org/dokuwiki/doku.php?id=smtp_auth:postfix

...but now I get nothing in my Postfix log file when I try to connect from a web client.

I successfully authenticated with dbmail with this test,
server -s -rcmd -p 8000
client -s rcmd -p 8000 -m PLAIN 127.0.0.1

As for trying to connect from a webmail client I get nothing in my Postfix log file...

How can I enable debug info?


Thnks,
Jim


Reply via email to