View Issue Details

IDProjectCategoryView StatusLast Update
0003380SOGoBackend Mailpublic2015-11-06 07:17
ReporterSergey Urushkin Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSUbuntuOS Version14.04 LTS
Product Version2.3.2 
Summary0003380: Default SMTP credentials with SOGoTrustProxyAuthentication=YES and SOGoSMTPAuthenticationType=PLAIN
Description

We use SOGo+apache+GSSAPI auth. Until http://www.sogo.nu/bugs/view.php?id=2865 is fixed, we can only use calendar/addressbook with GSSAPI. Since SOGoTrustProxyAuthentication=YES, no user credentials are passed to sogo. If SMTP server requires authentication (we need SMTP anyway to have working SOGoAppointmentSendEMailNotifications=Yes and similar), there should be some default credentials to make SOGoSMTPAuthenticationType=PLAIN work.

I'm suggesting to implement option like:
SOGoSMTPAuthCredentials="/etc/sogo/sogo.smtp.secret" or SOGoSMTPAuthCredentials="user:pass"

And use it's data to access smtp server if SOGoTrustProxyAuthentication=YES and SOGoSMTPAuthenticationType=PLAIN.

Steps To Reproduce
  1. Configure SOGo with apache proxy and gssapi auth (http://www.sogo.nu/bugs/view.php?id=1113) - set SOGoTrustProxyAuthentication=YES
  2. Set SOGoAppointmentSendEMailNotifications=Yes
  3. Set SOGoSMTPAuthenticationType=PLAIN
  4. In calendar try to send invitation to attendee - no message will be sent.
Additional Information

Here is the log of the failure:

C: connect to <0x0x7f6d5fd58368[NGInternetSocketAddress]: host=smtp.example.com not-filled>
S: <SMTP-Reply: code=220 line='smtp.example.com, ESMTP ready'>
C: EHLO sogo.example.com
S: <SMTP-Reply: code=250 line='HELP'>
S: pipelining extension supported.
S: size extension supported.
S: help extension supported.
S: plain auth extension supported.
Nov 06 10:09:13 sogod [28295]: [WARN] <0x0x7f6d5f0b3928[SOGoProxyAuthenticator]> no authentication type found, skipped
C: AUTH PLAIN
C: YWFiMQBhYWIxAA==
C: QUIT
S: <SMTP-Reply: code=221 line='smtp.examle.com closing connection'>

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-11-06 07:16 Sergey Urushkin New Issue