ich habe ein Problem mit Cyrus SASL: Es arbeitet einwandfrei (Postfix, Courier IMAP,
Cyrus SASL, alles mit MySQL Support), aber wenn ich mich mit einer E-Mail Adresseals loginnamen einloggen will, z.B. username@example.com, schneidet Cyrus SASL den namen so ab, das nur noch das Prefix, also alles vor dem "@", im Beispiel "username" übrig bleibt.
Ich brauche aber wg. Postfix Accounts mit E-Mail Adresse als Username für den Login (da alles über virtual mit MySQL läuft).
Logs (ich wollte mich in den Account mit "hs@ag.vu" als Username einloggen):
Code: Select all
Sep 22 16:28:31 linux postfix/smtpd[7929]: mysql auxprop plugin has been requested
Sep 22 16:28:31 linux postfix/smtpd[7929]: mysql plugin Parse the username hs
Sep 22 16:28:31 linux postfix/smtpd[7929]: mysql plugin try and connect to a host
Sep 22 16:28:31 linux postfix/smtpd[7929]: mysql plugin trying to connect to localhost
Sep 22 16:28:32 linux postfix/smtpd[7929]: mysql plugin create statement from userPassword hs mail.web-gear.com
Sep 22 16:28:32 linux postfix/smtpd[7929]: mysql plugin doing query select userPassword from mailbox where mb_address =
'hs' and mb_status_user = 1 AND mb_status_system = 1
Sep 22 16:28:32 linux postfix/smtpd[7929]: mysql plugin create statement from cmusaslsecretCRAM-MD5 hs mail.web-gear.com
Sep 22 16:28:32 linux postfix/smtpd[7929]: mysql plugin doing query select cmusaslsecretCRAM-MD5 from mailbox where
mb_address = 'hs' and mb_status_user = 1 AND mb_status_system = 1
Sep 22 16:28:32 linux postfix/smtpd[7929]: mysql plugin Parse the username hs
Sep 22 16:28:32 linux postfix/smtpd[7929]: mysql plugin try and connect to a host
Sep 22 16:28:32 linux postfix/smtpd[7929]: mysql plugin trying to connect to localhost
Sep 22 16:28:32 linux postfix/smtpd[7929]: warning: SASL authentication failure: no secret in database
Sep 22 16:28:32 linux postfix/smtpd[7929]: warning: pD9523E06.dip.t-dialin.net[217.82.62.6]: SASL CRAM-MD5 authentication
failed
Code: Select all
pwcheck_method: auxprop
auxprop_plugin: mysql
mech_list: LOGIN PLAIN DIGEST-MD5 CRAM-MD5
mysql_user: XXXXXX
mysql_passwd: XXXXXX
mysql_hostnames: localhost
mysql_database: XXXXXX
mysql_statement: select %p from mailbox where mb_address = '%u' and mb_status_user = 1 AND mb_status_system = 1
mysql_verbose: true
Ich habe auch
Code: Select all
mysql_statement: select %p from mailbox where mb_address = '%u@%r' and mb_status_user = 1 AND mb_status_system = 1
Was soll ich jetzt machen? Kann ich das bei Cyrus nicht irgendwie abschalten bzw. aktivieren, das auch E.Mail Adressen unterstützt werden??
Vielen Dank!!!
Grüße,
Hermann Stainer
