[Postfixbuch-users] Cyrus SASL MySQL

postfix postfix at stuker.biz
Di Jan 4 20:07:12 CET 2005


Hallo zusammen

Ich bin bei der Installtion von Suse 9.1 Postfix 2.3.4 (neu Kompliert für MySQL), MySQL Courier IMAP, Cyrus SASL 2.1.19 und postfixadmin

Alle Benutzerdaten werden in MySQL gespeichert. Passwort in cleartext

Nun habe ich mit SASL nichts als probleme.

-- postconf -n
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_filter = daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no html_directory = no inet_interfaces = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = cyrus mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, myhostname = webmail.stuker.biz mynetworks = 10.1.130.1/24, 127.0.0.0/8, newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = proxy:mysql:/etc/postfix/mysql_relay_domains_maps.cf
relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtpd_client_restrictions =
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = reject_unknown_sender_domain,    permit_sasl_authenticated,            reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous smtpd_sender_restrictions = hash:/etc/postfix/access strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 450 virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /home/postfix
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001 

-- usr/local/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: PLAIN LOGIN
sql_engine: mysql
sql_hostnames: localhost
sql_user: ********
sql_passwd: *********
sql_database: postfix
sql_select: SELECT password FROM mailbox WHERE username='%u@%r'

--Logs
Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: smtpd_access_maps ~? debug_peer_list Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: smtpd_access_maps ~? fast_flush_domains Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: smtpd_access_maps ~? mynetworks Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: smtpd_access_maps ~? permit_mx_backup_networks Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: smtpd_access_maps ~? relay_domains Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: smtpd_access_maps ~? smtpd_access_maps Jan  4 20:05:17 webmail postfix/smtpd[3930]: dict_open: hash:/etc/postfix/access Jan  4 20:05:17 webmail postfix/smtpd[3930]: smtpd_sasl_initialize: SASL config file is smtpd.conf Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: fast_flush_domains ~? debug_peer_list Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_string: fast_flush_domains ~? fast_flush_domains Jan  4 20:05:17 webmail postfix/smtpd[3930]: watchdog_create: 0x8099228 18000 Jan  4 20:05:17 webmail postfix/smtpd[3930]: watchdog_stop: 0x8099228 Jan  4 20:05:17 webmail postfix/smtpd[3930]: watchdog_start: 0x8099228 Jan  4 20:05:17 webmail postfix/smtpd[3930]: connection established Jan  4 20:05:17 webmail postfix/smtpd[3930]: master_notify: status 0 Jan  4 20:05:17 webmail postfix/smtpd[3930]: name_mask: resource Jan  4 20:05:17 webmail postfix/smtpd[3930]: name_mask: software Jan  4 20:05:17 webmail postfix/smtpd[3930]: name_mask: noanonymous Jan  4 20:05:17 webmail postfix/smtpd[3930]: warning: 192.168.1.132: hostname nb001sco.stuker.biz verification failed: Host not found Jan  4 20:05:17 webmail postfix/smtpd[3930]: connect from unknown[192.168.1.132] Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_list_match: unknown: no match Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_list_match: 192.168.1.132: no match Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_list_match: unknown: no match Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_list_match: 192.168.1.132: no match Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 220 webmail.nitec.ch ESMTP Seatech Mail Server Jan  4 20:05:17 webmail postfix/smtpd[3930]: watchdog_pat: 0x8099228 Jan  4 20:05:17 webmail postfix/smtpd[3930]: < unknown[192.168.1.132]: EHLO [127.0.0.1] Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250-webmail.nitec.ch Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250-PIPELINING Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250-SIZE 10240000 Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250-VRFY Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250-ETRN Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250-AUTH PLAIN Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250-AUTH=PLAIN Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_list_match: unknown: no match Jan  4 20:05:17 webmail postfix/smtpd[3930]: match_list_match: 192.168.1.132: no match Jan  4 20:05:17 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 250 8BITMIME Jan  4 20:05:17 webmail postfix/smtpd[3930]: watchdog_pat: 0x8099228 Jan  4 20:05:21 webmail postfix/smtpd[3930]: < unknown[192.168.1.132]: AUTH PLAIN AHRlc3Q2QHRlc3QuY2gAdGVzdDEyMzQ= Jan  4 20:05:21 webmail postfix/smtpd[3930]: smtpd_sasl_authenticate: sasl_method PLAIN, init_response AHRlc3Q2QHRlc3QuY2gAdGVzdDEyMzQ= Jan  4 20:05:21 webmail postfix/smtpd[3930]: smtpd_sasl_authenticate: decoded initial response Jan  4 20:05:21 webmail postfix/smtpd[3930]: warning: SASL authentication failure: Password verification failed Jan  4 20:05:21 webmail postfix/smtpd[3930]: warning: unknown[192.168.1.132]: SASL PLAIN authentication failed Jan  4 20:05:21 webmail postfix/smtpd[3930]: > unknown[192.168.1.132]: 535 Error: authentication failed Jan  4 20:05:21 webmail postfix/smtpd[3930]: watchdog_pat: 0x8099228

Wo liegt mein Fehler?

Danke

Lucien



Mehr Informationen über die Mailingliste Postfixbuch-users