Wiki . Forums . Bugs . Translation . Privacy Policy | Search . Simple . Advanced | Reports . Help | Matrix . 10.x . 11.x . 12.x . 13.x . Future . Recent . Contribs

Bug 6320 - Update server-manager instructions for smtp auth
Summary: Update server-manager instructions for smtp auth
Status: CLOSED FIXED
Alias: None
Product: SME Server 8.X
Classification: SME Server
Component: e-smith-*/smeserver-* packages (show other bugs)
Version: 8.0b6
Hardware: --- ---
: P3 normal
Target Milestone: 8.0b7
Assignee: SME Server bug team
QA Contact: SME Server bug team
URL:
: 2571 6301 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-02 01:23 CET by chris burnat
Modified: 2011-12-22 10:22 CET (History)
5 users (show)

See Also:
Package: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris burnat 2010-11-02 01:23:55 CET
Another refinement to document for mail. Should perhaps be addressed when documentating changes flagged in Bug #6300 & Bug #6302 and possibly Bug #6005

+++ This bug was initially created as a clone of Bug #6318 +++

The web interface used to show auth allowed for both SMTP and SSMTP but once changed to SSMTP it will remove the SMTP auth option.  I feel this needs to be changed.

- The default is to now require auth in order to relay mail from anywhere.
- We enable auth on smtp by default for a new sme8 server
- TLS is required before auth is presented on SMTP interfaces

All the underlying changes are done but we haven't taken into account this behavior in the server-manager.
Comment 37 Ian Wells 2011-12-22 10:22:48 CET
Closing as released in SME Server 8.0 Beta 7 Release
Comment 36 Michael Doerner 2011-09-24 14:54:51 CEST
This is the finishing part of the verification steps in comment 31:

= Environment:

SME8.0b6 + updates

= Current version installed:

rpm -q e-smith-email
e-smith-email-5.2.0-15.el5.sme

= Original problem:

Updated wording re. smtp authentication required for different options.

= Resolution:

Upgrade to later version of e-smith-email

= Updated version installed:

rpm -q e-smith-email 
e-smith-email-5.2.0-16.el5.sme

(currently in smetest repo)

= Problem fixed:

New text for smtp authentication now says:

"You can provide authenticated access to your SMTP server, or set it to Disabled. The SSMTP setting requires all users to use SSL/TLS authentication. The SMTP and SSMTP option additionally allows STARTTLS to be used to ensure secure authentication."

Note: "all" is shown in bold

= Release note information suggestion:

New wording re. smtp authentication options in server-manager.

= Verified or Confirmed (Reopen):

Marking VERIFIED
Comment 35 Michael Doerner 2011-09-24 04:51:42 CEST
(In reply to comment #34)
> Michael, you want to do this one again?  If not, I can deal later tonight or
> tomorrow morning.  
> Cheers.
> chris

Sure. I will do tomorrow. Had to watch All Blacks vs France tonight :-)
Comment 34 chris burnat 2011-09-24 02:52:40 CEST
Michael, you want to do this one again?  If not, I can deal later tonight or tomorrow morning.  
Cheers.
chris
Comment 33 Jonathan 2011-09-24 01:34:17 CEST
Oops... because of the <b>...</b> tag the translation should be wrapped in a <![CDATA[ ]]> element.

Marking FIXED in e-smith-email:

Fri Sep 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-16.sme
- Fix previous commit to show complete text in server-manager  [SME: 6320]
Comment 32 chris burnat 2011-09-23 20:49:36 CEST
(In reply to comment #31)

> Need to mark (unfortunately) REOPEN but it seems that I cannot find that
> status any longer as an option. Maybe somebody else can?

Just toggle to CONFIRMED, it should do the trick.
Done it for you.
Comment 31 Michael Doerner 2011-09-23 20:38:10 CEST
= Environment:

SME8.0b6 + updates

= Current version installed:

rpm -q e-smith-email
e-smith-email-5.2.0-14.el5.sme

= Original problem:

Updated wording re. smtp authentication required for the different options.

= Resolution:

Upgrade to later version of e-smith-email

= Updated version installed:

rpm -q e-smith-email
e-smith-email-5.2.0-15.el5.sme

Note: coming out of 'smetest' repository at the time of this verification

= Problem (not fully) fixed :-( 

The old text was (as in comment 1):

"You can provide external authenticated relay access to your SMTP server. The SSMTP setting requires users to send their username and password encrypted to your SMTP server. Allowing external authenticated relay access should only be used by experienced administrators. Relay access is always available on the internal inteface. We recommend leaving this setting Enabled unless you have a specific reason to do otherwise."

The new text that I see is (only):

"You can provide authenticated access to your SMTP server, or set it to Disabled. The SSMTP setting requires"

That looks like something is missing.

= Release note information suggestion:

= Verified or Reopen:

Need to mark (unfortunately) REOPEN but it seems that I cannot find that status any longer as an option. Maybe somebody else can?
Comment 30 Jonathan 2011-09-23 07:48:54 CEST
Marking FIXED in e-smith-email:

* Fri Sep 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-15.sme
- Fix SMTP auth wording in server-manager [SME: 6320]
Comment 29 Shad L. Lords 2011-09-23 07:34:18 CEST
removing cc
Comment 28 Jonathan 2011-09-23 01:07:58 CEST
(In reply to comment #26)
> I agree, just commit the change. I'm not confident of doing that at the
> moment as no way of testing the change so would probably break something.

I have looked around in my CVS tree but it seems that Shad has moved the
original locale (en-us) from the source tree since we are using Pootle. 

Not sure on how to proceed. Shad can you fill us in on this?
Comment 27 chris burnat 2011-09-22 22:01:07 CEST
(In reply to comment #26)
> (In reply to comment #25)

> 
> I agree, just commit the change. I'm not confident of doing that at the
> moment as no way of testing the change so would probably break something.

I will verify as soon as done.
chris
Comment 26 Ian Wells 2011-09-22 21:53:26 CEST
(In reply to comment #25)

> > Would this be the final text? Do we need a vote for it?
> 
> Common sense should do, I think it summarize the situation, and is better
> than what we have... Would have to be done fast, WIP 8.0b7 is out.

I agree, just commit the change. I'm not confident of doing that at the moment as no way of testing the change so would probably break something.
Comment 25 chris burnat 2011-09-22 21:06:22 CEST
(In reply to comment #24)
> (In reply to comment #23)
> > As an afterthough, what are the chances of fixing this text
> > (+translations...) before the impending release of sme8.07b?  
> 
> The sooner it is in, the more time translators have to translate the string
> in Pootle. Normally we will apply all locale patches generated from Pootle
> just before release to incorporate all changes.
> 
> (In reply to comment #22)
> > "You can provide authenticated access to your SMTP server, or set it to
> > Disabled.  The SSMTP setting requires *all* users to use SSL/TLS
> > authentication. The SMTP and SSMTP option additionally allows STARTTLS to be
> > used to ensure secure authentication."
> 
> Would this be the final text? Do we need a vote for it?

Common sense should do, I think it summarize the situation, and is better than what we have... Would have to be done fast, WIP 8.0b7 is out.
Comment 24 Jonathan 2011-09-22 11:39:39 CEST
(In reply to comment #23)
> As an afterthough, what are the chances of fixing this text
> (+translations...) before the impending release of sme8.07b?  

The sooner it is in, the more time translators have to translate the string in Pootle. Normally we will apply all locale patches generated from Pootle just before release to incorporate all changes.

(In reply to comment #22)
> "You can provide authenticated access to your SMTP server, or set it to
> Disabled.  The SSMTP setting requires *all* users to use SSL/TLS
> authentication. The SMTP and SSMTP option additionally allows STARTTLS to be
> used to ensure secure authentication."

Would this be the final text? Do we need a vote for it?
Comment 23 chris burnat 2011-09-21 17:41:50 CEST
(In reply to comment #22)
> (In reply to comment #21)
> > Was comment #4 incorrect? It was short, but hopefully correct
> 
> Spot on, except that I would add (in bracket perhaps?):
> 
> "You can provide authenticated access to your SMTP server, or set it to
> Disabled.  The SSMTP setting requires *all* users to use SSL/TLS
> authentication. The SMTP and SSMTP option additionally allows STARTTLS to be
> used to ensure secure authentication."
> 
> A few people have had issues with this new requirement affecting users
> connected via the local network...

As an afterthough, what are the chances of fixing this text (+translations...) before the impending release of sme8.07b?  A smiliar exercise may be required as regards Bug #6178.
Comment 22 chris burnat 2011-09-21 01:13:07 CEST
(In reply to comment #21)
> Was comment #4 incorrect? It was short, but hopefully correct

Spot on, except that I would add (in bracket perhaps?):

"You can provide authenticated access to your SMTP server, or set it to Disabled.  The SSMTP setting requires *all* users to use SSL/TLS authentication. The SMTP and SSMTP option additionally allows STARTTLS to be used to ensure secure authentication."

A few people have had issues with this new requirement affecting users connected via the local network...
Comment 21 Ian Wells 2011-09-20 22:41:05 CEST
Was comment #4 incorrect? It was short, but hopefully correct
Comment 20 chris burnat 2011-09-20 04:00:10 CEST
(In reply to comment #13)

> I don't think this is accurate. I don't think there is any setting which
> will prevent users from relaying mail.
> 
> According to comment #0, this is about a setting which controls whether auth
> is available on port 25. Someone should clarify before we agree on wording.

Testing done in comment #18 and comment #19 confirms that auth is required in all cases + some form of secure connection.
Comment 19 chris burnat 2011-09-20 03:36:38 CEST
2) Test from user connected Externally to server

a) SMTP authentication Disabled in panel
- Send port 25 #no auth #no secure connection --->Relaying denied
- Send port 25 #auth=username #no secure connection --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL if available--->Relaying denied
- Send port 25 #auth=username #secure connection= TSL --->Relaying denied
- Send port 465 #auth=username #secure connection= SSL --->Relaying denied

b) SSMTP authentication Enabled in panel
- Send port 25 #no auth #no secure connection --->Relaying denied
- Send port 25 #auth=yes but no username #no secure connection --->Relaying denied
- Send port 25 #auth=username #no secure connection --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL if available --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL --->Relaying denied
- Send port 465 #auth=username #secure connection= SSL --->Mail sent

b) SMTP & SSMTP authentication Enabled in panel
- Send port 25 #no auth #no secure connection --->Relaying denied
- Send port 25 #auth=yes but no username #no secure connection --->Relaying denied
- Send port 25 #auth=username #no secure connection --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL if available --->Mail sent
- Send port 25 #auth=yes but no username #secure connection= TSL if available --->Connection to smtp denied
- Send port 25 #auth=username #secure connection= TSL --->Mail sent
- Send port 465 #auth=username #secure connection= SSL --->Mail sent

This confirms that auth is required in all cases for user on the WAN
Comment 18 chris burnat 2011-09-20 02:23:52 CEST
1) Test from user connected Internally to server

a) SMTP authentication Disabled in panel
- Send port 25 #no auth #no secure connection --->Relaying denied
- Send port 25 #auth=username #no secure connection --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL if available--->Relaying denied
- Send port 25 #auth=username #secure connection= TSL --->Relaying denied
- Send port 465 #auth=username #secure connection= SSL --->Relaying denied

b) SSMTP authentication Enabled in panel
- Send port 25 #no auth #no secure connection --->Relaying denied
- Send port 25 #auth=yes but no username #no secure connection --->Relaying denied
- Send port 25 #auth=username #no secure connection --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL if available --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL --->Relaying denied
- Send port 465 #auth=username #secure connection= SSL --->Mail sent

b) SMTP & SSMTP authentication Enabled in panel
- Send port 25 #no auth #no secure connection --->Relaying denied
- Send port 25 #auth=yes but no username #no secure connection --->Relaying denied
- Send port 25 #auth=username #no secure connection --->Relaying denied
- Send port 25 #auth=username #secure connection= TSL if available --->Mail sent
- Send port 25 #auth=yes #secure connection= TSL if available --->Connection to smtp denied
- Send port 25 #auth=username #secure connection= TSL --->Mail sent
- Send port 465 #auth=username #secure connection= SSL --->Mail sent

This confirms that auth is required in all cases for user on the LAN

I am going to test externally next.
Comment 17 chris burnat 2011-09-20 02:11:44 CEST
Oops, Thunderbird...
Comment 16 Jonathan 2011-09-20 01:51:27 CEST
(In reply to comment #15)
> I am going to try all possible combinations and report what is happening
> using Firefox. OK?

Fine, I don't think the browser should make any difference.
Comment 15 chris burnat 2011-09-20 01:36:21 CEST
(In reply to comment #14)
> (In reply to comment #13)
> > I don't think this is accurate. I don't think there is any setting which will
> > prevent users from relaying mail.
> 
> Do you have any suggestions for a improved text or where to look next as I
> do not know which string of the knot to pull ATM.

I am going to try all possible combinations and report what is happening using Firefox. OK?
Comment 14 Jonathan 2011-06-14 09:50:45 CEST
(In reply to comment #13)
> I don't think this is accurate. I don't think there is any setting which will
> prevent users from relaying mail.

Do you have any suggestions for a improved text or where to look next as I do not know which string of the knot to pull ATM.
Comment 13 Charlie Brady 2011-06-09 13:28:08 CEST
(In reply to comment #12)

> Second draft:
> 
> "You can allow users to send mail through your SMTP server (relaying). Setting
> it to disabled will not allow this.

I don't think this is accurate. I don't think there is any setting which will prevent users from relaying mail.

According to comment #0, this is about a setting which controls whether auth is available on port 25. Someone should clarify before we agree on wording.
Comment 12 Jonathan 2011-03-18 12:45:01 CET
(In reply to comment #11)
> You can't relay internal anymore.  Everything is treated like external and
> needs auth in order to relay.
> 
> The new default for a clean install will be for both to be enabled.

Second draft:

"You can allow users to send mail through your SMTP server (relaying). Setting it to disabled will not allow this. 
If you need this feature we recommend leaving this setting allow both SMTP and SSMTP unless you have a specific reason to do otherwise. 
Using SMTP and/or SSMTP requires users to send their username and password to your SMTP server over an encrypted connection."
Comment 11 Shad L. Lords 2011-03-18 12:41:31 CET
You can't relay internal anymore.  Everything is treated like external and needs auth in order to relay.

The new default for a clean install will be for both to be enabled.
Comment 10 Jonathan 2011-03-18 12:15:51 CET
I suggest changing:

"You can provide external authenticated relay access to your SMTP server. The SSMTP setting requires users to send their username and password encrypted to your SMTP server. Allowing external authenticated relay access should only be used by experienced administrators. Relay access is always available on the internal inteface. We recommend leaving this setting Enabled unless you have a specific reason to do otherwise."

to something like this:

"You can allow external users to send mail through your SMTP server (relaying). Setting it to disabled will not allow this. Relay access is always available on the internal interface.
If you need this feature we recommend leaving this setting SSMTP (secure) unless you have a specific reason to do otherwise. 
If you choose to enable this you have two options SSMTP (secure) or SMTP and SSMTP. Using SMTP and/or SSMTP requires users to send their username and password to your SMTP server over an encrypted connection."

Suggestions, alterations and fixes are welcome.
Comment 9 Jonathan 2011-03-18 09:49:16 CET
(In reply to comment #8)
> See comment #1.  We should get the wording changed so translation can occur. 
> The sooner the better.

I am unsure what wording would be the proper wording, any suggestions? It would be nice if we could get them in.
Comment 8 Shad L. Lords 2011-03-13 09:58:16 CET
See comment #1.  We should get the wording changed so translation can occur.  The sooner the better.
Comment 7 Ian Wells 2011-03-06 07:46:06 CET
Bumping to SME Future as this does not need to be done before SME 8.0 is out and there is no clear agreement on the solution.
Comment 6 Ed Form 2011-02-07 07:52:46 CET
(In reply to comment #4)
> How about
> "You can provide authenticated access to your SMTP
> server, or set it to Disabled. 
> The SSMTP setting requires users to use SSL/TLS
> authentication. The SMTP and SSMTP option
> additionally allows STARTTLS to be used to ensure
> secure authentication."

This seems somewhat unfocussed. Should we not change the server manager to say...

"Allow authenticated, encrypted, external access to your mail server,"

With 2 dropdown choices: Enabled or Disabled? 

The explanation above the dropdown would then say:

"You may allow internet-wide encrypted access to your mail server for authenticated users. Authenticated users in your local network always have encrypted access. Access may be on Port 25 or Port 587."
Comment 5 Ian Wells 2010-11-26 13:37:14 CET
*** Bug 2571 has been marked as a duplicate of this bug. ***
Comment 4 Ian Wells 2010-11-26 13:36:43 CET
How about

"You can provide authenticated access to your SMTP server, or set it to Disabled. 
The SSMTP setting requires users to use SSL/TLS authentication. The SMTP and SSMTP option additionally allows STARTTLS to be used to ensure secure authentication."
Comment 3 Shad L. Lords 2010-11-08 12:19:27 CET
*** Bug 6301 has been marked as a duplicate of this bug. ***
Comment 2 Shad L. Lords 2010-11-02 13:59:51 CET
back to right component
Comment 1 Shad L. Lords 2010-11-02 08:30:52 CET
If someone can come up with a good wording for this paragraph we can get it applied to the server-manager interface.

The current (incorrect) wording is now:

"You can provide external authenticated relay access to your SMTP server. The
SSMTP setting requires users to send their username and password encrypted to
your SMTP server. Allowing external authenticated relay access should only be
used by experienced administrators. Relay access is always available on the
internal inteface. We recommend leaving this setting Enabled unless you have a
specific reason to do otherwise."

The new paragraph needs to incorporate the points raised by Chris in comment #0