Logging problems + authentication problems

Herbert Muller HerbiM at gmx.de
Tue Jan 9 14:55:22 EST 2007


> You should have: permit_sasl_authenticated before permit_mynetworks

Dose that really make any difference? permit_mynetworks should not exclude
sasl-authenticated clients as far as I know. Please correct me if I'm wrong.
Neverteless I changes it.


> Check out: smtp_tls_security_level and smtpd_tls_security_level if using
> Postfix 3.2.x

I'm using Postfix 2.1.5-9 (says apt-cache), according to postfix.org there
is no 3.2.x

---------------------------------------------------------------------------

> Ok, is the sql-Auxprop Plugin (libsql.*) installed? Best to check that.

I installed the lisbsasl2 package using apt-get. So the plugin should be
installed correctly. By the way, I'm using (actually have to use) Debian
sarge.

> In which Directory is the smtpd.conf?

smtpd.conf is in /etc/postfix/sasl/

> In the Log of your previous Mail is nothing to see from libsql, either 
> your smtpd.conf is in the wrong Directory, or the Plugin is not installed.

Previous error messages (listed below) lead me to the same conclusion, but
everything should be alright. All this was done by apt.

> MySQL does listen on an inet-Socket? (AFAIR Port 3306)?

Well, it should. At least I can fetch my mail via pop3. The corresponding
program also gets the passwords from the db.

> Hmm, Passwords are unencrypted in your SQL-DB?

Yes.

Here are some errormessages which concern my actual problem. I got them
logged in auth.log before they suddenly stopped. Formerly the error-messages
I listed in a previous mail also were logged to auth.log (I did not change
the syslogd-config).

Dec 18 15:00:07 localhost postfix/smtpd[29131]: SQL engine 'mysql^M' not
supported
Dec 18 15:00:07 localhost postfix/smtpd[29131]: auxpropfunc error no
mechanism available
Dec 18 15:00:07 localhost postfix/smtpd[29131]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: sql

So there was/is definitely something wrong with the plugin. I'm quite
confused by the 'mysql^M'

--

    Herbert



More information about the Cyrus-sasl mailing list