View Issue Details

IDProjectCategoryView StatusLast Update
0000031SOGoBackend Mailpublic2021-02-25 05:21
Reporterdjordjije Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version5.0.0 
Summary0000031: Support for SMTP SASL AUTH and SMTP TLS/SSL
Description

It would be very nice if you can add support for SMTP SASL and SMTP
over TLS/SSL in the next version of SOGo.

Additional Information

There are lot of examples of SMTP server (MTA) configurations that
require user's authentication:
For example, there might be "protected" mail destination addresses,
for example internal or restricted mailing lists, so that only
specific set of authenticated senders can post their messages to these
lists.
Or, second example is usage of Autoresponse - autoresponder for the
Postfix MTA (for more details please see:
http://nefaria.com/?page_id=3D7). SMTP SASL authentication is also
required, in order to ensure that only appropriate authenticated user
can set autoresponse (vacation) message.

TagsNo tags attached.

Relationships

has duplicate 0004676 new SMTP settings on other port 587 with TLS 
related to 0003374 new Sogo SMTP Client drops with ERROR "Could not connect to the SMTP server XXX.XXX.XXX.XXX on port 25" 

Activities

MSmiatek

MSmiatek

2010-02-23 15:02

reporter   ~0000626

Last edited: 2010-02-23 15:02

I need SASL support too :)
its not a good way to whitelist the hole sogo server on the mailsystem for everything

maybee

maybee

2011-07-31 13:44

reporter   ~0002771

I hope that this feature will be developed soon, otherwise I have to switch the groupware again :(

corradofiore

corradofiore

2011-07-31 14:29

reporter   ~0002772

Since there are many people interested in having this feature implemented, maybe we could ask for an estimate to Inverse and share the expense.

ffischer

ffischer

2011-11-16 12:01

reporter   ~0003010

+1 for SMTP AUTH

Could Pantomime be used for this? http://www.collaboration-world.com/pantomime

michal_b

michal_b

2014-01-28 13:05

reporter   ~0006446

I am also very interested in such ability (both SASL Auth, TLS/SSL for SMTP). I am a bit surprised that this feature is not included it today.
Please take an attention to this request.
thank you!

Christian Mack

Christian Mack

2014-01-29 18:11

developer   ~0006455

Auth PLAIN is implemented for SMTP, but without TLS/SSL.

As workaround we use stunnel in order to get STARTTLS encrypted connections to our mailserver.

michal_b

michal_b

2014-02-01 21:38

reporter   ~0006467

Hi Chris, yes, thank you. With stunnel it is possible to use SSL/TLS. I have just implemented it and it works. Just for completeness the different tcp port for inbound stunnel can be defined using "host:port" format of "SOGoSMTPServer" parameter.

tanstaafl

tanstaafl

2014-03-03 14:24

reporter   ~0006604

stunnel is simply a workaround.

Direct support for STARTTLS is really a mandatory thing in the SMTP/IMAP/POP world these days.

+1 for implementing real STARTTLS support.

obnox

obnox

2014-03-06 03:32

reporter   ~0006644

+1 for STARTTLS of course

But please also consider implementing CRAM-MD5 AUTH method at least (DIGEST-MD5 would also be great).

Please don't stick only with PLAIN and/or LOGIN methods which are outdated. Digests a WAY more secure than anything else even without encryption!

tanstaafl

tanstaafl

2014-03-06 13:05

reporter   ~0006653

@obnox

One thing at a time, please. Let's get proper STARTTLS working first (with PLAIN and LOGIN).

Then you can create feature requests for adding different/additional methods/mechanisms.

tanstaafl

tanstaafl

2014-03-06 13:07

reporter   ~0006654

Question...

This feature request was opened in June of 2009 - almost 5 YEARS ago.

Does this mean there is no real interest by the developers to get it working?

I can't imagine it would be that hard - I mean, there has to be some open source code out there that you can 'borrow' for the heavy lifting?

jceb

jceb

2015-05-04 19:18

reporter   ~0008445

+1 for STARTTLS. Is there any news on this issue?

djordjije

djordjije

2015-06-08 21:45

reporter   ~0008601

6 years old issue. any news on this issue?

zhb

zhb

2015-11-01 01:04

reporter   ~0009063

Please implement this feature, it's really useful.

zhb

zhb

2016-04-01 06:41

reporter   ~0009912

Dear developers,

Any update on this 7-year old feature request? SMTP over TLS is really a mandatory feature nowaday.

zhb

zhb

2016-09-08 14:33

reporter   ~0010638

Dear developers,

Any update? Still no plan to support SMTP over TLS?

raz

raz

2017-04-23 11:17

reporter   ~0011751

Last edited: 2017-04-23 11:19

Hey guys,
Is the smtp over tls auth feature in progress?
any news about it?

pavinjoseph

pavinjoseph

2017-07-05 22:45

reporter   ~0012038

Hope to have STARTTLS/TLS support soon!

zhb

zhb

2018-05-08 02:53

reporter   ~0012867

Dear developers,

Any update? Still no plan to support SMTP over TLS?

Khussein

Khussein

2018-05-15 14:38

reporter   ~0012879

Last edited: 2018-05-15 14:39

Hello Devs,

any chance to add this feature in next version, would be great.

johan.smits

johan.smits

2019-02-13 15:58

reporter   ~0013348

Any news on this?

djordjije

djordjije

2019-04-27 19:45

reporter   ~0013556

Still no progress on this issue?
No need to hurry, I'm a very patient person...

florian

florian

2019-09-17 10:01

reporter   ~0013752

Happy anniversary :(

I can't believe that you were not able to implement STARTTLS for SMTP in the last 10 years.

zhb

zhb

2020-03-20 10:02

reporter   ~0014223

11 years. :)

the_nic

the_nic

2020-05-10 19:25

reporter   ~0014319

I've created https://github.com/inverse-inc/sope/pull/50 (for sope) and https://github.com/inverse-inc/sogo/pull/274 (for sogo) which implement SMTPS and STARTTLS. Would be nice if someone from inverse could review these.

zhb

zhb

2020-05-11 06:25

reporter   ~0014320

@the_nic Awesome. :)

the_nic

the_nic

2020-07-13 15:56

reporter   ~0014524

this should be closed, too now

Related Changesets

sogo: master 589cfaa2

2020-05-10 13:41

the_nic


Details Diff
feat(core): Support smtps and STARTTLS for SMTP

Support uri schemes for SMTP, enabling STARTTLS and SMTPS for SMTP
connections.

The new format for configuration value SMTPServer supports passing a
URI scheme (either smtp:// or smtps://). To support old configurations,
if no scheme is given, smtp:// is assumed.

Fixes 0000031
Affected Issues
0000031
mod - Documentation/SOGoInstallationGuide.asciidoc Diff File
mod - Scripts/sogo.conf Diff File
mod - SoObjects/SOGo/SOGoDefaults.plist Diff File
mod - SoObjects/SOGo/SOGoDomainDefaults.m Diff File
mod - SoObjects/SOGo/SOGoMailer.m Diff File

sogo: v2 cd3095e4

2020-05-15 22:58

the_nic


Details Diff
feat(core): Support smtps and STARTTLS for SMTP

Support uri schemes for SMTP, enabling STARTTLS and SMTPS for SMTP
connections.
The new format for configuration value SMTPServer supports passing a
URI scheme (either smtp:// or smtps://). To support old configurations,
if no scheme is given, smtp:// is assumed.

Fixes 0000031
Affected Issues
0000031
mod - Documentation/SOGoInstallationGuide.asciidoc Diff File
mod - Scripts/sogo.conf Diff File
mod - SoObjects/SOGo/SOGoDefaults.plist Diff File
mod - SoObjects/SOGo/SOGoDomainDefaults.m Diff File
mod - SoObjects/SOGo/SOGoMailer.m Diff File

Issue History

Date Modified Username Field Change
2009-06-23 08:06 djordjije New Issue
2010-02-23 15:02 MSmiatek Note Added: 0000626
2010-02-23 15:02 MSmiatek Note Edited: 0000626
2011-07-31 13:44 maybee Note Added: 0002771
2011-07-31 14:29 corradofiore Note Added: 0002772
2011-11-16 12:01 ffischer Note Added: 0003010
2014-01-28 13:05 michal_b Note Added: 0006446
2014-01-29 18:11 Christian Mack Note Added: 0006455
2014-02-01 21:38 michal_b Note Added: 0006467
2014-03-03 14:24 tanstaafl Note Added: 0006604
2014-03-06 03:32 obnox Note Added: 0006644
2014-03-06 13:05 tanstaafl Note Added: 0006653
2014-03-06 13:07 tanstaafl Note Added: 0006654
2015-05-04 19:18 jceb Note Added: 0008445
2015-06-08 21:45 djordjije Note Added: 0008601
2015-10-29 19:29 francis Relationship added related to 0003374
2015-11-01 01:04 zhb Note Added: 0009063
2016-04-01 06:41 zhb Note Added: 0009912
2016-09-08 14:33 zhb Note Added: 0010638
2017-04-23 11:17 raz Note Added: 0011751
2017-04-23 11:18 raz Note Edited: 0011751
2017-04-23 11:19 raz Note Edited: 0011751
2017-07-05 22:45 pavinjoseph Note Added: 0012038
2018-05-08 02:53 zhb Note Added: 0012867
2018-05-15 14:38 Khussein Note Added: 0012879
2018-05-15 14:39 Khussein Note Edited: 0012879
2019-02-13 15:49 Christian Mack Relationship added has duplicate 0004676
2019-02-13 15:58 johan.smits Note Added: 0013348
2019-04-27 19:45 djordjije Note Added: 0013556
2019-09-17 10:01 florian Note Added: 0013752
2020-03-20 10:02 zhb Note Added: 0014223
2020-05-10 19:25 the_nic Note Added: 0014319
2020-05-11 06:25 zhb Note Added: 0014320
2020-05-14 16:15 the_nic Changeset attached => sogo master 589cfaa2
2020-05-20 15:16 the_nic Changeset attached => sogo v2 cd3095e4
2020-07-13 15:56 the_nic Note Added: 0014524
2020-07-13 16:37 francis Status new => resolved
2020-07-13 16:37 francis Resolution open => fixed
2020-07-13 16:37 francis Fixed in Version => 5.0.0