Ich habe Postfix und Cyrus - SASL/IMAP mit pam_mysql installiert und hangel mich schon seit Tagen von Fehler zu Fehler. Jetzt komm ich allerdings nicht mehr weiter. Zu Begin poste ich mal meine Konfiguration:
main.conf (ohne Pfadangaben):
Code: Select all
mail_owner = postfix
setgid_group = postdrop
default_privs = nobody
myhostname = vib224.xxxx.de
mydomain = xxxx.de
myorigin = $myhostname
mydestination = $mydomain, localhost.$mydomain, mysql:/etc/postfix/mysql-mydestination.cf
unknown_local_recipient_reject_code = 450
relayhost = smtp.xxxx.de
mailbox_transport = cyrus
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
smtpd_banner = $myhostname ESMTP $mail_name
virtual_maps = mysql:/etc/postfix/mysql-virtual.cf
sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
Code: Select all
May 26 14:27:35 vib224 postfix/qmgr[20534]: 29F0D39C109: from=<tec@xxxx.de>, size=717, nrcpt=1 (queue active)
May 26 14:27:35 vib224 postfix/smtp[20540]: warning: mailer loop: best MX host for smtp.xxxx.de is local
May 26 14:27:35 vib224 postfix/smtp[20540]: warning: relayhost configuration problem: smtp.xxxx.de
May 26 14:27:35 vib224 postfix/smtp[20540]: 29F0D39C109: to=<vib2240001@vib224.xxxx.de>, orig_to=<tec@xxxx.de>, relay=none, delay=6172, status=deferred (mail for smtp.xxxx.de loops back to myself)
Wenn ich jetzt eine Mail verschicken möchte, scheitert es an der Authentifizierung. Imap meldet sich so an (Das funzt auch):
Code: Select all
May 26 14:39:56 vib224 saslauthd[18787]: SELECT password FROM accountuser WHERE username='vib2240001'
Code: Select all
May 26 14:39:56 vib224 saslauthd[18788]: SELECT password FROM accountuser WHERE username='vib2240001@xxxx.de'
MfG Ronny