Hello,
the problem is still unsolved. The error messages has changed now. If I try to 
start an SMTP connection using telnet or an Mail-Client I get the follwing 
entry in /var/log/messages:

Feb 15 10:49:24 server postfix/smtpd[23837]: smtpd_sasl_initialize: SASL config 
file is smtpd.conf
Feb 15 10:49:24 server postfix/smtpd[23837]: sql_select option missing
Feb 15 10:49:24 server postfix/smtpd[23837]: auxpropfunc error no mechanism 
available
Feb 15 10:49:24 server postfix/smtpd[23837]: _sasl_plugin_load failed on 
sasl_auxprop_plug_init for plugin: sql

Feb 15 10:51:14 server postfix/smtpd[23837]: warning: SASL authentication 
problem: unknown password verifier
Feb 15 10:51:14 server postfix/smtpd[23837]: warning: localhost[127.0.0.1]: 
SASL LOGIN authentication failed
Feb 15 10:51:14 server postfix/smtpd[23837]: > localhost[127.0.0.1]: 535 Error: 
authentication failed


I just try to different kinds of smtpd.conf

Version-1
pwcheck_method: saslauthd

Version-1
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login cram-md5 digest-md5
sql_engine: mysql
sql_hostnames: localhost
sql_user: mailadmin
sql_passwd: geheim
sql_database: mail
sql_select: select password from accountuser where username='[EMAIL PROTECTED]'

But I get always the same errors. It doesn’t work. Could you help. Should I 
give you more information – what does you need?

P.S:
Saslauth works:

[EMAIL PROTECTED] sasl2 # testsaslauthd -u 10001 -p test
0: OK "Success."
[EMAIL PROTECTED] sasl2 #


Thanks,
Benjamin
 


----- Original Nachricht ----
Von:     Uwe Menges <[EMAIL PROTECTED]>
An:      [EMAIL PROTECTED]
Datum:   14.02.2005 20:03
Betreff: Re: IMAP works, but no SMTP (for sending mail)

> [EMAIL PROTECTED] wrote:
> > could anyone help me to get smtp connections worked?
> 
> Well, how about actually reading the logs instead of posting them?
> 
> >> Feb 14 01:47:28 server postfix/smtpd[8245]: warning: SASL authentication
> >> failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=3
> [...]
> >> Feb 14 01:47:28 server postfix/smtpd[8245]: warning:
> unknown[192.168.0.3]:
> >> SASL LOGIN authentication failed
> 
> So I guess /etc/sasl2/sasldb2 is not readable by the user which runs
> postfix.
> 
> Yours, Uwe
> 

Arcor-DSL: die echte Flatrate für alle Bandbreiten. Jetzt ohne Einrichtungspreis
einsteigen oder wechseln. Arcor-DSL ist in vielen Anschlussgebieten verfügbar.
http://www.arcor.de/home/redir.php/emf-dsl-1


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to