Ich nutze imapauth mit den Einstellungen
USE_FULL_LOGIN_INFO=true
USE_MULTIPLE=true
in mail.properties steht u.a.
com.openexchange.mail.loginSource=login
Es sieht so aus, als würde ein zweifacher login in dovecut erfolgen, der erste wird erfolgreich abgeschlossen. Hier gibt OX den usernamen samt der domain weiter.
Der zweite Login für sieve endet erfolglos, weil OX nur den usernamen ohne die domain weitergibt. Auf die Domain kann auch mit %d nicht zugegriffen werden.
Habe in mail.properties schon com.openexchange.mail.loginSource=mail versucht, erfolglos.
Danke für Eure Hilfe! Andreas
Hier das Logfile (Fehlermeldung steht am Ende):
USE_FULL_LOGIN_INFO=true
USE_MULTIPLE=true
in mail.properties steht u.a.
com.openexchange.mail.loginSource=login
Es sieht so aus, als würde ein zweifacher login in dovecut erfolgen, der erste wird erfolgreich abgeschlossen. Hier gibt OX den usernamen samt der domain weiter.
Der zweite Login für sieve endet erfolglos, weil OX nur den usernamen ohne die domain weitergibt. Auf die Domain kann auch mit %d nicht zugegriffen werden.
Habe in mail.properties schon com.openexchange.mail.loginSource=mail versucht, erfolglos.
Danke für Eure Hilfe! Andreas
Hier das Logfile (Fehlermeldung steht am Ende):
May 31 02:27:18 consolator dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011l ip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rpor t=35007
May 31 02:27:18 consolator dovecot: auth(default): client out: CONT#0111#011
May 31 02:27:18 consolator dovecot: auth(default): client in: CONT#0111#011QW5kcmVhcy5LZWxsZXJAa2lyY2hlLWthaXNlc nNsYXV0ZXJuLmRlAEFuZHJlYXMuS2VsbGVyQGtpcmNoZS1rYWl zZXJzbGF1dGVybi5kZQBtYWlrYWVmZXJ4bA==
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas@kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): client out: OK#0111#011user=andreas@kaiserslautern-kl.de
May 31 02:27:18 consolator dovecot: auth(default): master in: REQUEST#0111#01127006#0111
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): SELECT '/var/vmail/' || domain || '/' || maildir AS home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS mail, 150 AS uid, 8 AS gid, 'maildir:storage=' || quota AS quota FROM mailbox WHERE local_part = split_part('andreas', '+', 1) AND domain = 'kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): master out: USER#0111#011andreas@kaiserslautern-kl.de#011home=/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/#011mail=maildir:/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/maildir#011uid=150#011gid=8#011quota=maildir:stora ge=0
May 31 02:27:18 consolator dovecot: imap-login: Login: user=<andreas@kaiserslautern-kl.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:18 consolator dovecot: IMAP(andreas@kaiserslautern-kl.de): Disconnected: Logged out bytes=9/336
May 31 02:27:18 consolator dovecot: imap-login: Aborted login (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
May 31 02:27:18 consolator dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011l ip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rpor t=35011
May 31 02:27:18 consolator dovecot: auth(default): client out: CONT#0111#011
May 31 02:27:18 consolator dovecot: auth(default): client in: CONT#0111#011QW5kcmVhcy5LZWxsZXJAa2lyY2hlLWthaXNlc nNsYXV0ZXJuLmRlAEFuZHJlYXMuS2VsbGVyQGtpcmNoZS1rYWl zZXJzbGF1dGVybi5kZQBtYWlrYWVmZXJ4bA==
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas@kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): client out: OK#0111#011user=andreas@kaiserslautern-kl.de
May 31 02:27:18 consolator dovecot: auth(default): master in: REQUEST#0112#01127008#0111
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): SELECT '/var/vmail/' || domain || '/' || maildir AS home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS mail, 150 AS uid, 8 AS gid, 'maildir:storage=' || quota AS quota FROM mailbox WHERE local_part = split_part('andreas', '+', 1) AND domain = 'kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): master out: USER#0112#011andreas@kaiserslautern-kl.de#011home=/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/#011mail=maildir:/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/maildir#011uid=150#011gid=8#011quota=maildir:stora ge=0
May 31 02:27:18 consolator dovecot: imap-login: Login: user=<andreas@kaiserslautern-kl.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27121
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27122
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27123
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27124
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27125
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27126
May 31 02:27:19 consolator dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011l ip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rpor t=35012
May 31 02:27:19 consolator dovecot: auth(default): client out: CONT#0111#011
May 31 02:27:19 consolator dovecot: auth(default): client in: CONT#0111#011QW5kcmVhcy5LZWxsZXJAa2lyY2hlLWthaXNlc nNsYXV0ZXJuLmRlAEFuZHJlYXMuS2VsbGVyQGtpcmNoZS1rYWl zZXJzbGF1dGVybi5kZQBtYWlrYWVmZXJ4bA==
May 31 02:27:19 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas@kaiserslautern-kl.de' AND active = true
May 31 02:27:19 consolator dovecot: auth(default): client out: OK#0111#011user=andreas@kaiserslautern-kl.de
May 31 02:27:19 consolator dovecot: auth(default): master in: REQUEST#0113#01127121#0111
May 31 02:27:19 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): SELECT '/var/vmail/' || domain || '/' || maildir AS home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS mail, 150 AS uid, 8 AS gid, 'maildir:storage=' || quota AS quota FROM mailbox WHERE local_part = split_part('andreas', '+', 1) AND domain = 'kaiserslautern-kl.de' AND active = true
May 31 02:27:19 consolator dovecot: auth(default): master out: USER#0113#011andreas@kaiserslautern-kl.de#011home=/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/#011mail=maildir:/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/maildir#011uid=150#011gid=8#011quota=maildir:stora ge=0
May 31 02:27:19 consolator dovecot: imap-login: Login: user=<andreas@kaiserslautern-kl.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:19 consolator dovecot: IMAP(andreas@kaiserslautern-kl.de): Disconnected: Logged out bytes=60/701
May 31 02:27:20 consolator dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=sieve#011secured#011 lip=127.0.0.1#011rip=127.0.0.1#011lport=2000#011rp ort=42695#011resp=QW5kcmVhcy5LZWxsZXIAQW5kcmVhcy5L ZWxsZXIAbWFpa2FlZmVyeGw=
May 31 02:27:20 consolator dovecot: auth(default): sql(andreas,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas' AND active = true
May 31 02:27:20 consolator dovecot: auth(default): sql(andreas,127.0.0.1): unknown user
May 31 02:27:20 consolator dovecot: auth(default): new auth connection: pid=27129
May 31 02:27:22 consolator dovecot: auth(default): client out: FAIL#0111#011user=andreas
May 31 02:27:27 consolator dovecot: managesieve-login: Aborted login (auth failed, 1 attempts): user=<andreas>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:27 consolator dovecot: IMAP(andreas@kaiserslautern-kl.de): Disconnected: Logged out bytes=417/7658
May 31 02:27:18 consolator dovecot: auth(default): client out: CONT#0111#011
May 31 02:27:18 consolator dovecot: auth(default): client in: CONT#0111#011QW5kcmVhcy5LZWxsZXJAa2lyY2hlLWthaXNlc nNsYXV0ZXJuLmRlAEFuZHJlYXMuS2VsbGVyQGtpcmNoZS1rYWl zZXJzbGF1dGVybi5kZQBtYWlrYWVmZXJ4bA==
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas@kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): client out: OK#0111#011user=andreas@kaiserslautern-kl.de
May 31 02:27:18 consolator dovecot: auth(default): master in: REQUEST#0111#01127006#0111
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): SELECT '/var/vmail/' || domain || '/' || maildir AS home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS mail, 150 AS uid, 8 AS gid, 'maildir:storage=' || quota AS quota FROM mailbox WHERE local_part = split_part('andreas', '+', 1) AND domain = 'kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): master out: USER#0111#011andreas@kaiserslautern-kl.de#011home=/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/#011mail=maildir:/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/maildir#011uid=150#011gid=8#011quota=maildir:stora ge=0
May 31 02:27:18 consolator dovecot: imap-login: Login: user=<andreas@kaiserslautern-kl.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:18 consolator dovecot: IMAP(andreas@kaiserslautern-kl.de): Disconnected: Logged out bytes=9/336
May 31 02:27:18 consolator dovecot: imap-login: Aborted login (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
May 31 02:27:18 consolator dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011l ip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rpor t=35011
May 31 02:27:18 consolator dovecot: auth(default): client out: CONT#0111#011
May 31 02:27:18 consolator dovecot: auth(default): client in: CONT#0111#011QW5kcmVhcy5LZWxsZXJAa2lyY2hlLWthaXNlc nNsYXV0ZXJuLmRlAEFuZHJlYXMuS2VsbGVyQGtpcmNoZS1rYWl zZXJzbGF1dGVybi5kZQBtYWlrYWVmZXJ4bA==
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas@kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): client out: OK#0111#011user=andreas@kaiserslautern-kl.de
May 31 02:27:18 consolator dovecot: auth(default): master in: REQUEST#0112#01127008#0111
May 31 02:27:18 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): SELECT '/var/vmail/' || domain || '/' || maildir AS home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS mail, 150 AS uid, 8 AS gid, 'maildir:storage=' || quota AS quota FROM mailbox WHERE local_part = split_part('andreas', '+', 1) AND domain = 'kaiserslautern-kl.de' AND active = true
May 31 02:27:18 consolator dovecot: auth(default): master out: USER#0112#011andreas@kaiserslautern-kl.de#011home=/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/#011mail=maildir:/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/maildir#011uid=150#011gid=8#011quota=maildir:stora ge=0
May 31 02:27:18 consolator dovecot: imap-login: Login: user=<andreas@kaiserslautern-kl.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27121
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27122
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27123
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27124
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27125
May 31 02:27:19 consolator dovecot: auth(default): new auth connection: pid=27126
May 31 02:27:19 consolator dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011l ip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rpor t=35012
May 31 02:27:19 consolator dovecot: auth(default): client out: CONT#0111#011
May 31 02:27:19 consolator dovecot: auth(default): client in: CONT#0111#011QW5kcmVhcy5LZWxsZXJAa2lyY2hlLWthaXNlc nNsYXV0ZXJuLmRlAEFuZHJlYXMuS2VsbGVyQGtpcmNoZS1rYWl zZXJzbGF1dGVybi5kZQBtYWlrYWVmZXJ4bA==
May 31 02:27:19 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas@kaiserslautern-kl.de' AND active = true
May 31 02:27:19 consolator dovecot: auth(default): client out: OK#0111#011user=andreas@kaiserslautern-kl.de
May 31 02:27:19 consolator dovecot: auth(default): master in: REQUEST#0113#01127121#0111
May 31 02:27:19 consolator dovecot: auth(default): sql(andreas@kaiserslautern-kl.de,127.0.0.1): SELECT '/var/vmail/' || domain || '/' || maildir AS home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS mail, 150 AS uid, 8 AS gid, 'maildir:storage=' || quota AS quota FROM mailbox WHERE local_part = split_part('andreas', '+', 1) AND domain = 'kaiserslautern-kl.de' AND active = true
May 31 02:27:19 consolator dovecot: auth(default): master out: USER#0113#011andreas@kaiserslautern-kl.de#011home=/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/#011mail=maildir:/var/vmail/kaiserslautern-kl.de/andreas@kaiserslautern-kl.de/maildir#011uid=150#011gid=8#011quota=maildir:stora ge=0
May 31 02:27:19 consolator dovecot: imap-login: Login: user=<andreas@kaiserslautern-kl.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:19 consolator dovecot: IMAP(andreas@kaiserslautern-kl.de): Disconnected: Logged out bytes=60/701
May 31 02:27:20 consolator dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=sieve#011secured#011 lip=127.0.0.1#011rip=127.0.0.1#011lport=2000#011rp ort=42695#011resp=QW5kcmVhcy5LZWxsZXIAQW5kcmVhcy5L ZWxsZXIAbWFpa2FlZmVyeGw=
May 31 02:27:20 consolator dovecot: auth(default): sql(andreas,127.0.0.1): query: SELECT username AS user, password, '/var/vmail/' || domain || '/' || maildir AS userdb_home, 'maildir:/var/vmail/' || domain || '/' || maildir || 'maildir' AS userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'andreas' AND active = true
May 31 02:27:20 consolator dovecot: auth(default): sql(andreas,127.0.0.1): unknown user
May 31 02:27:20 consolator dovecot: auth(default): new auth connection: pid=27129
May 31 02:27:22 consolator dovecot: auth(default): client out: FAIL#0111#011user=andreas
May 31 02:27:27 consolator dovecot: managesieve-login: Aborted login (auth failed, 1 attempts): user=<andreas>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
May 31 02:27:27 consolator dovecot: IMAP(andreas@kaiserslautern-kl.de): Disconnected: Logged out bytes=417/7658
Comment