PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : postfix mit smtp-auth - wo steckt der fehler



Bruce
04.10.04, 17:48
Hi!

Noch ein letztes Anliegen habe ich, wenn das gelöst ist ist mein Tag geretter:
Postfix funktioniert bei mir wunderbar - solange SMTP-Auth deaktiviert ist. Sobald ich es einschalte geht nix mehr. Ich komme per telnet zwar noch auf den Server, aber er zeigt mir keinerlei Rückmeldung an, was man sonst halt zu sehen bekommt.


(/etc/postfix/main.cf)


program_directory = /usr/lib/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
mailq_path = /usr/bin/mailq
default_privs = nobody
mail_spool_directory = /var/mail
mailbox_transport = cyrus
fallback_transport = cyrus
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
default_peer_level = 2

mydestination = $myhostname, localhost.$mydomain, $mydomain

mynetworks = XXX.XXX.XXX.XXX/32, 127.0.0.0/8

myhostname = mail.domain.de
mydomain = domain.de
myorigin = $mydomain


mail_owner = postfix

default_transport = smtp

smtpd_banner = $myhostname ESMTP

alias_maps = hash:/etc/aliases

setgid_group = maildrop
luser_relay = $root@mail.domain.de

#smtp_sasl_auth_enable = yes
#smtp_sasl_security_options = noanonymous
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_password


smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, reject



(/usr/lib/sasl2/smtpd.conf)


#pwcheck_method: auxprop
#mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
#log_level: 3
#auxprop_plugin: sasldb


#sql_engine: mysql
#sql_hostnames: localhost
#sql_database: mail
#sql_user: cyrus
#sql_passwd: LaN42Wnam
#sql_select: SELECT %p FTOM users WHERE username = '%u' AND userrealm = '%r' AND auth = '1'
#sql_usessl: no


pwcheck_method: sasldb
mech_list: plain login CRAM-MD5 DIGEST-MD5
log_level 3



(LOGS)


Oct 4 17:39:48 linux postfix/postfix-script: starting the Postfix mail system
Oct 4 17:39:48 linux postfix/master[31253]: daemon started -- version 2.0.19-20040312
Oct 4 17:40:05 linux postfix/smtpd[31270]: fatal: SASL per-process initialization failed
Oct 4 17:40:06 linux postfix/master[31253]: warning: process /usr/lib/postfix/smtpd pid 31270 exit status 1
Oct 4 17:40:06 linux postfix/master[31253]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 4 17:41:06 linux postfix/smtpd[31272]: fatal: SASL per-process initialization failed
Oct 4 17:41:07 linux postfix/master[31253]: warning: process /usr/lib/postfix/smtpd pid 31272 exit status 1
Oct 4 17:41:07 linux postfix/master[31253]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 4 17:42:07 linux postfix/smtpd[31274]: fatal: SASL per-process initialization failed
Oct 4 17:42:08 linux postfix/master[31253]: warning: process /usr/lib/postfix/smtpd pid 31274 exit status 1
Oct 4 17:42:08 linux postfix/master[31253]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 4 17:43:08 linux postfix/smtpd[31276]: fatal: SASL per-process initialization failed
Oct 4 17:43:09 linux postfix/master[31253]: warning: process /usr/lib/postfix/smtpd pid 31276 exit status 1
Oct 4 17:43:09 linux postfix/master[31253]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 4 17:43:38 linux postfix/master[31253]: terminating on signal 15


Bitte helft mir weiter, ich habe schon mein ganzes Wochenende für diesen ver***mten Server geopfert.

Danke! Bruce

Roger Wilco
04.10.04, 19:41
pwcheck_method: sasldb
mech_list: plain login CRAM-MD5 DIGEST-MD5
log_level 3
Da fehlt ein Doppelpunkt hinter log_level.
Ansonsten stimmt noch die SQL-Abfrage nicht, aber die ist ja auskommentiert. :rolleyes:

leon
04.10.04, 22:51
Hast Du SASL2 Installiert. Irgendwie hat er Probleme damit.



Leon