Author Topic: SOGoTrustProxyAuthentication = YES results in IMAP4 login failed  (Read 1071 times)


  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Hello all,

I'm implementing 2FA to strengthen my webmail security using this great project -

Following login is working and the user gets passed into the SOGo webmail with access to contacts and calendar, however no emails show as the IMAP login fails as no password is passed, however no password is available as the authentication has been handled before reaching SOGo.

The SOGo logs shows;

Oct 15 12:03:36 sogod [7]: [ERROR] <0x0x56494a8b8b30[NGImap4ConnectionManager]> IMAP4 login failed:
  host=,, pwd=no
  = <0x0x56494a9ffba0[NGImap4Client]: socket=<NGActiveSSLSocket[0x0x56494acc7130]: mode=rw address=(null)>>
Oct 15 12:03:36 sogod [7]: <0x56494aba22f0[SOGoMailAccount]:0> renewing imap4 password
Oct 15 12:03:36 sogod [7]: [ERROR] <0x56494aba22f0[SOGoMailAccount]:0> no IMAP4 password available
Oct 15 12:03:36 sogod [7]: [ERROR] <0x56494aba22f0[SOGoMailAccount]:0> Could not connect IMAP4

And in the mail.log

Oct 15 12:07:29 zentyal dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<>, method=PLAIN, rip=, lip=, TLS: Disconnected, session=<qFww5ZNbUgAKCgFp>
Oct 15 12:07:32 zentyal dovecot: imap( Disconnected: Logged out in=24114 out=752986

Any ideas if it's possible to authenticate dovecote with just the username etc?