Probleme mit Postfix und Sasl (Tutorial workaround.org)

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
yops
Posts: 22
Joined: 2003-11-16 16:33

Probleme mit Postfix und Sasl (Tutorial workaround.org)

Post by yops » 2004-12-17 10:43

Habe nach http://www.workaround.org/articles/ispmail-sarge/ meinen Mailserver aufgesetzt.
IMAP und POP3 funzt auch wunderbar, aber mit SMTP habe ich so meine Probleme - ich kann mich einfach nicht einloggen.
Habe jetzt unter Opera-Mail mal alle Login-Varianten (ohne Erfolg) ausprobiert. mail.log bringt mir folgende Meldungen:

Code: Select all

Dec 17 09:21:04 ds217-...-....-... postfix/smtpd[11745]: warning: unknown[195.---.---.---]: SASL CRAM-MD5 authentication failed
Dec 17 09:21:04 ds217-...-....-... postfix/smtpd[11745]: disconnect from unknown[195.---.---.---]
Dec 17 09:21:23 ds217-...-....-... postfix/smtpd[11745]: connect from unknown[195.---.---.---]
Dec 17 09:21:23 ds217-...-....-... postfix/smtpd[11745]: warning: unknown[195.---.---.---]: SASL LOGIN authentication failed
Dec 17 09:21:23 ds217-...-....-... postfix/smtpd[11745]: disconnect from unknown[195.---.---.---]
Dec 17 09:21:27 ds217-...-....-... postfix/smtpd[11745]: connect from unknown[195.---.---.---]
Dec 17 09:21:28 ds217-...-....-... postfix/smtpd[11745]: warning: unknown[195.---.---.---]: SASL LOGIN authentication failed
Dec 17 09:21:28 ds217-...-....-... postfix/smtpd[11745]: disconnect from unknown[195.---.---.---]
Dec 17 09:22:00 ds217-...-....-... postfix/smtpd[11745]: connect from unknown[195.---.---.---]
Dec 17 09:22:00 ds217-...-....-... postfix/smtpd[11745]: warning: SASL authentication failure: Password verification failed
Dec 17 09:22:00 ds217-...-....-... postfix/smtpd[11745]: warning: unknown[195.---.---.---]: SASL PLAIN authentication failed
Dec 17 09:22:00 ds217-...-....-... postfix/smtpd[11745]: disconnect from unknown[195.---.---.---]
Dec 17 09:22:04 ds217-...-....-... postfix/smtpd[11745]: connect from unknown[195.---.---.---]
Dec 17 09:22:04 ds217-...-....-... postfix/smtpd[11745]: warning: SASL authentication failure: Password verification failed
Dec 17 09:22:04 ds217-...-....-... postfix/smtpd[11745]: warning: unknown[195.---.---.---]: SASL PLAIN authentication failed
Dec 17 09:22:04 ds217-...-....-... postfix/smtpd[11745]: disconnect from unknown[195.---.---.---]
Kann jemand helfen?

Danke + Gruss
- Andreas
Last edited by yops on 2004-12-20 13:15, edited 1 time in total.

dg1qkt
Posts: 8
Joined: 2004-12-15 17:30

Re: Probleme mit Postfix und Sasl (Tutorial workaround.org)

Post by dg1qkt » 2004-12-19 04:50

Guck dir mal an was zur gleichen Zeit in deine /varlog/messages geschrieben wurde. Normal werden die sasl Fehlermeldungen da protokolliert.

Da steht dann vermutlich warum es failed.

yops
Posts: 22
Joined: 2003-11-16 16:33

Re: Probleme mit Postfix und Sasl (Tutorial workaround.org)

Post by yops » 2004-12-20 10:13

Danke für den Tipp, allerdings steht in meiner /var/log/messages nichts dazu :(

yops
Posts: 22
Joined: 2003-11-16 16:33

Re: Probleme mit Postfix und Sasl (Tutorial workaround.org)

Post by yops » 2004-12-20 10:30

dg1qkt wrote:Guck dir mal an was zur gleichen Zeit in deine /varlog/messages geschrieben wurde. Normal werden die sasl Fehlermeldungen da protokolliert.

Da steht dann vermutlich warum es failed.
Habe sasl2-bin installiert und in der master.cf den output von smtpd auf verbose gestellt - da erhalte ich in der syslog folgendes:

Code: Select all

postfix/smtpd[28761]: match_string: mynetworks ~? debug_peer_list
postfix/smtpd[28761]: match_string: mynetworks ~? fast_flush_domains
postfix/smtpd[28761]: match_string: mynetworks ~? mynetworks
postfix/smtpd[28761]: match_string: relay_domains ~? debug_peer_list
postfix/smtpd[28761]: match_string: relay_domains ~? fast_flush_domains
postfix/smtpd[28761]: match_string: relay_domains ~? mynetworks
postfix/smtpd[28761]: match_string: relay_domains ~? permit_mx_backup_networks
postfix/smtpd[28761]: match_string: relay_domains ~? qmqpd_authorized_clients
postfix/smtpd[28761]: match_string: relay_domains ~? relay_domains
postfix/smtpd[28761]: match_string: permit_mx_backup_networks ~? debug_peer_list
postfix/smtpd[28761]: match_string: permit_mx_backup_networks ~? fast_flush_domains
postfix/smtpd[28761]: match_string: permit_mx_backup_networks ~? mynetworks
postfix/smtpd[28761]: match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
postfix/smtpd[28761]: connect to subsystem private/proxymap
postfix/smtpd[28761]: send attr request = open
postfix/smtpd[28761]: send attr table = unix:passwd.byname
postfix/smtpd[28761]: send attr flags = 64
postfix/smtpd[28761]: private/proxymap socket: wanted attribute: status
postfix/smtpd[28761]: input attribute name: status
postfix/smtpd[28761]: input attribute value: 0
postfix/smtpd[28761]: private/proxymap socket: wanted attribute: flags
postfix/smtpd[28761]: input attribute name: flags
postfix/smtpd[28761]: input attribute value: 80
postfix/smtpd[28761]: private/proxymap socket: wanted attribute: (list terminator)
postfix/smtpd[28761]: input attribute name: (end)
postfix/smtpd[28761]: dict_proxy_open: connect to map=unix:passwd.byname status=0 server_flags=0120
postfix/smtpd[28761]: dict_open: proxy:unix:passwd.byname
postfix/smtpd[28761]: dict_open: hash:/etc/aliases
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: user = mysqlusername
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: password = mysqluserpassword
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: dbname = mailserver
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: table = forwardings
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: select_field = destination
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: where_field = source
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: additional_conditions = 
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_forwardings.cf: hosts = localhost ds217-myhost.de
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_forwardings.cf: adding host 'localhost' to list of mysql server hosts
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_forwardings.cf: adding host 'ds217-myhost.de' to list of mysql server hosts
postfix/smtpd[28761]: dict_open: mysql:/etc/postfix/mysql-virtual_forwardings.cf
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: user = mysqlusername
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: password = mysqluserpassword
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: dbname = mailserver
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: table = users
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: select_field = email
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: where_field = email
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: additional_conditions = 
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_email2email.cf: hosts = localhost ds217-myhost.de
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_email2email.cf: adding host 'localhost' to list of mysql server hosts
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_email2email.cf: adding host 'ds217-myhost.de' to list of mysql server hosts
postfix/smtpd[28761]: dict_open: mysql:/etc/postfix/mysql-virtual_email2email.cf
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: user = mysqlusername
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: password = mysqluserpassword
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: dbname = mailserver
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: table = domains
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: select_field = 'virtual'
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: where_field = domain
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: additional_conditions = 
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_domains.cf: hosts = localhost ds217-myhost.de
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_domains.cf: adding host 'localhost' to list of mysql server hosts
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_domains.cf: adding host 'ds217-myhost.de' to list of mysql server hosts
postfix/smtpd[28761]: dict_open: mysql:/etc/postfix/mysql-virtual_domains.cf
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: user = mysqlusername
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: password = mysqluserpassword
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: dbname = mailserver
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: table = users
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: select_field = concat(email,'/')
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: where_field = email
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: additional_conditions = 
postfix/smtpd[28761]: cfg_get_str: /etc/postfix/mysql-virtual_mailboxes.cf: hosts = localhost ds217-myhost.de
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_mailboxes.cf: adding host 'localhost' to list of mysql server hosts
postfix/smtpd[28761]: mysqlname_parse: /etc/postfix/mysql-virtual_mailboxes.cf: adding host 'ds217-myhost.de' to list of mysql server hosts
postfix/smtpd[28761]: dict_open: mysql:/etc/postfix/mysql-virtual_mailboxes.cf
postfix/smtpd[28761]: match_string: smtpd_access_maps ~? debug_peer_list
postfix/smtpd[28761]: match_string: smtpd_access_maps ~? fast_flush_domains
postfix/smtpd[28761]: match_string: smtpd_access_maps ~? mynetworks
postfix/smtpd[28761]: match_string: smtpd_access_maps ~? permit_mx_backup_networks
postfix/smtpd[28761]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
postfix/smtpd[28761]: match_string: smtpd_access_maps ~? relay_domains
postfix/smtpd[28761]: match_string: smtpd_access_maps ~? smtpd_access_maps
postfix/smtpd[28761]: smtpd_sasl_initialize: SASL config file is smtpd.conf
postfix/smtpd[28761]: match_string: fast_flush_domains ~? debug_peer_list
postfix/smtpd[28761]: match_string: fast_flush_domains ~? fast_flush_domains
postfix/smtpd[28761]: watchdog_create: 0x8088b48 18000
postfix/smtpd[28761]: watchdog_stop: 0x8088b48
postfix/smtpd[28761]: watchdog_start: 0x8088b48
postfix/smtpd[28761]: connection established
postfix/smtpd[28761]: master_notify: status 0
postfix/smtpd[28761]: name_mask: resource
postfix/smtpd[28761]: name_mask: software
postfix/smtpd[28761]: name_mask: noanonymous
postfix/smtpd[28761]: connect from unknown[195.---.---.---]
postfix/smtpd[28761]: match_list_match: unknown: no match
postfix/smtpd[28761]: match_list_match: 195.---.---.---: no match
postfix/smtpd[28761]: match_list_match: unknown: no match
postfix/smtpd[28761]: match_list_match: 195.---.---.---: no match
postfix/smtpd[28761]: > unknown[195.---.---.---]: 220 ds217-myhost.de ESMTP Postfix (Debian/GNU)
postfix/smtpd[28761]: watchdog_pat: 0x8088b48
postfix/smtpd[28761]: < unknown[195.---.---.---]: EHLO [172.16.20.166]
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-ds217-myhost.de
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-PIPELINING
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-SIZE 10240000
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-VRFY
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-ETRN
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-STARTTLS
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5
postfix/smtpd[28761]: match_list_match: unknown: no match
postfix/smtpd[28761]: match_list_match: 195.---.---.---: no match
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250 8BITMIME
postfix/smtpd[28761]: watchdog_pat: 0x8088b48
postfix/smtpd[28761]: < unknown[195.---.---.---]: STARTTLS
postfix/smtpd[28761]: > unknown[195.---.---.---]: 220 Ready to start TLS
postfix/smtpd[28761]: name_mask: noanonymous
postfix/smtpd[28761]: watchdog_pat: 0x8088b48
postfix/smtpd[28761]: < unknown[195.---.---.---]: EHLO [172.16.20.166]
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-ds217-myhost.de
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-PIPELINING
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-SIZE 10240000
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-VRFY
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-ETRN
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5
postfix/smtpd[28761]: match_list_match: unknown: no match
postfix/smtpd[28761]: match_list_match: 195.---.---.---: no match
postfix/smtpd[28761]: > unknown[195.---.---.---]: 250 8BITMIME
postfix/smtpd[28761]: watchdog_pat: 0x8088b48
postfix/smtpd[28761]: < unknown[195.---.---.---]: AUTH CRAM-MD5
postfix/smtpd[28761]: smtpd_sasl_authenticate: sasl_method CRAM-MD5
postfix/smtpd[28761]: smtpd_sasl_authenticate: uncoded challenge: <4230367479.13014342@ds217-myhost.de>
postfix/smtpd[28761]: > unknown[195.---.---.---]: 334 wMTQzNDJAZHMyMTctMTE1LTE0MS05Ni5kZWRpY2F0ZWQuaG9zdGV1cm9wZS5kZT4=
postfix/smtpd[28761]: < unknown[195.---.---.---]: aW5mbc0NTg3OTk4MzBkNmFkMzQ4ZTRiN2UzOTdiNTQyMTY=
postfix/smtpd[28761]: smtpd_sasl_authenticate: decoded response: info@mydomain.de c7458799830d6ad347b54216
postfix/smtpd[28761]: warning: SASL authentication failure: no secret in database
postfix/smtpd[28761]: warning: unknown[195.---.---.---]: SASL CRAM-MD5 authentication failed
postfix/smtpd[28761]: > unknown[195.---.---.---]: 535 Error: authentication failed
postfix/smtpd[28761]: watchdog_pat: 0x8088b48
postfix/smtpd[28761]: < unknown[195.---.---.---]: AUTH PLAIN AGluZm9ANGJ5dAzMTAyMDAx
postfix/smtpd[28761]: smtpd_sasl_authenticate: sasl_method PLAIN, init_response AGluZm9ANGJ5dAzMTAyMDAx
postfix/smtpd[28761]: smtpd_sasl_authenticate: decoded initial response 
postfix/smtpd[28761]: warning: SASL authentication failure: Password verification failed
postfix/smtpd[28761]: warning: unknown[195.---.---.---]: SASL PLAIN authentication failed
postfix/smtpd[28761]: > unknown[195.---.---.---]: 535 Error: authentication failed
postfix/smtpd[28761]: watchdog_pat: 0x8088b48
postfix/smtpd[28761]: < unknown[195.---.---.---]: AUTH LOGIN
postfix/smtpd[28761]: smtpd_sasl_authenticate: sasl_method LOGIN
postfix/smtpd[28761]: smtpd_sasl_authenticate: uncoded challenge: Username:
postfix/smtpd[28761]: > unknown[195.---.---.---]: 334 VXNbWU6
postfix/smtpd[28761]: < unknown[195.---.---.---]: aW5mnl0ZXMuZGU=
postfix/smtpd[28761]: smtpd_sasl_authenticate: decoded response: info@mydomain.de
postfix/smtpd[28761]: smtpd_sasl_authenticate: uncoded challenge: Password:
postfix/smtpd[28761]: > unknown[195.---.---.---]: 334 UGFzvcmQ6
postfix/smtpd[28761]: < unknown[195.---.---.---]: MDMxMMDE=
postfix/smtpd[28761]: smtpd_sasl_authenticate: decoded response: userpassword
postfix/smtpd[28761]: warning: unknown[195.---.---.---]: SASL LOGIN authentication failed
postfix/smtpd[28761]: > unknown[195.---.---.---]: 535 Error: authentication failed
postfix/smtpd[28761]: watchdog_pat: 0x8088b48
postfix/smtpd[28761]: smtp_get: EOF
postfix/smtpd[28761]: lost connection after AUTH from unknown[195.---.---.---]
postfix/smtpd[28761]: disconnect from unknown[195.---.---.---]
postfix/smtpd[28761]: master_notify: status 1
postfix/smtpd[28761]: connection closed
postfix/smtpd[28761]: watchdog_stop: 0x8088b48
postfix/smtpd[28761]: watchdog_start: 0x8088b48
postfix/smtpd[28761]: proxymap stream disconnect
postfix/smtpd[28761]: watchdog_stop: 0x8088b48
postfix/smtpd[28761]: watchdog_start: 0x8088b48
Hilft das weiter? Ich werde daraus nicht schlau - er empfängt meinen Usernamen und mein Passwort korrekt, kann aber - aus für mich unersichtlichen Gründen - damit nix anfangen...