Emailempfang ist OK, senden geht nicht.
Meldung: "SASL LOGIN authentication failed"
Ich poste mal erst alles:
die /var/log/auth.log:
Code: Select all
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: sql plugin Parse the username info@xxxxx.de
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: sql plugin try and connect to a host
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: sql plugin trying to open db 'mailserver' on host '127.0.0.1'
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: sql plugin Parse the username info@xxxxx.de
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: sql plugin try and connect to a host
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: sql plugin trying to open db 'mailserver' on host '127.0.0.1'
Jun 9 12:23:08 vs4225 saslauthd[5575]: PAM unable to dlopen(/lib/security/pam_mysql.so)
Jun 9 12:23:08 vs4225 saslauthd[5575]: PAM [dlerror: /lib/security/pam_mysql.so: cannot open shared object file: No such file or directory]
Jun 9 12:23:08 vs4225 saslauthd[5575]: PAM adding faulty module: /lib/security/pam_mysql.so
Jun 9 12:23:08 vs4225 saslauthd[5575]: DEBUG: auth_pam: pam_authenticate failed: Module is unknown
Jun 9 12:23:08 vs4225 saslauthd[5575]: do_auth : auth failure: [user=info@xxxxx.de] [service=smtp] [realm=xxxxx.de] [mech=pam] [reason=PAM auth error]
Code: Select all
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: warning: dslb-084-058-198-113.pools.arcor-ip.net[84.58.198.113]: SASL LOGIN authentication failed
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: lost connection after AUTH from dslb-084-058-198-113.pools.arcor-ip.net[84.58.198.113]
Jun 9 12:23:08 vs4225 postfix/smtpd[8729]: disconnect from dslb-084-058-198-113.pools.arcor-ip.net[84.58.198.113]
Code: Select all
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination =
myhostname = xxxxx.de
mynetworks = 127.0.0.1
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/vms-forwardings.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = mysql:/etc/postfix/vms-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/vms-mailboxes.cf
virtual_uid_maps = static:5000
Code: Select all
5572 ? Ss 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
5573 ? S 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
5574 ? S 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
5575 ? S 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
5576 ? S 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
Code: Select all
pwcheck_method: saslauthd
auxprop_plugin: sql
mech_list: PLAIN LOGIN
allow_plaintext: true
saslauthd_path: /var/run/saslauthd/mux
autotransition: true
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: mailadmin
sql_passwd: mein-password
sql_database: mailserver
sql_select: select password from users where email='%u@%r'Code: Select all
auth required pam_mysql.so user=mailadmin passwd=mein-password host=127.0.0.1 db=mailserver table=users usercolumn=email passwdcolumn=password crypt=1
account sufficient pam_mysql.so user=mailadmin passwd=mein-password host=127.0.0.1 db=mailserver table=users usercolumn=email passwdcolumn=password crypt=1
Code: Select all
START=yes
MECHANISMS="pam"
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
PWDIR="/var/spool/postfix/var/run/saslauthd"
PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
Könnte mir bitte jemand helfen?