Skip to content

Commit

Permalink
[mms] Add configuration to allow for SMTP authentication if the curre…
Browse files Browse the repository at this point in the history
…nt Horde access does not have an authenticated user.

This is needed, e.g., for IMP linked attachment view notification messages,
since these messages are sent from attachment.php - which is an
unauthenticated script.
  • Loading branch information
slusarz committed Jul 8, 2014
1 parent 63e8877 commit 4d8e5f0
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 12 deletions.
27 changes: 17 additions & 10 deletions horde/config/conf.xml
Expand Up @@ -1391,16 +1391,23 @@
(RFC 6409/STD 72; sending mail via port 25 is DEPRECATED.)"/>
<configstring name="localhost" required="false" desc="The local hostname
/ domain [localhost]"/>
<configenum name="auth" desc="Authenticate to SMTP server?">false
<values>
<value desc="No">false</value>
<value desc="Yes">true</value>
</values>
</configenum>
<configstring name="username" required="false" desc="The username to use
for SMTP auth. If empty, uses the Horde authentication username."/>
<configstring name="password" required="false" desc="The password to use
for SMTP auth. If empty, uses the Horde authentication password."/>
<configswitch name="auth" desc="Authenticate to SMTP server?">false
<case name="false" desc="No" />
<case name="true" desc="Yes">
<configstring name="username" required="false" desc="The master
username to use for SMTP auth. Will be used if username_auth is false
OR for unauthenticated Horde accesses."/>
<configboolean name="username_auth" required="false" desc="If
authenticated, use the Horde authentication
username?">true</configboolean>
<configstring name="password" required="false" desc="The master
password to use for SMTP auth. Will be used if password_auth is false
OR for unauthenticated Horde accesses."/>
<configboolean name="password_auth" required="false" desc="If
authenticated, use the Horde authentication
password?">true</configboolean>
</case>
</configswitch>
<configboolean name="lmtp" required="false" desc="Is this an LMTP
(Local Mail Transfer Protocol) server?">false</configboolean>
</configsection>
Expand Down
8 changes: 8 additions & 0 deletions horde/docs/CHANGES
@@ -1,3 +1,11 @@
---------
v5.2.0RC3
---------

[mms] Add configuration to allow for SMTP authentication if the current Horde
access does not have an authenticated user.


---------
v5.2.0RC2
---------
Expand Down
4 changes: 4 additions & 0 deletions horde/docs/UPGRADING
Expand Up @@ -81,10 +81,14 @@ The following options were added::
$conf['cachecssparams']['filemtime']
$conf['history']['driver']
$conf['history']['params']['driverconfig']
$conf['mailer']['params']['password_auth']
$conf['mailer']['params']['username_auth']

The available options for the following options were changed::

$conf['activesync']['logging']['type']
$conf['mailer']['params']['password'] (for SMTP)
$conf['mailer']['params']['username'] (for SMTP)

The default value for the following options were changed::

Expand Down
4 changes: 2 additions & 2 deletions horde/package.xml
Expand Up @@ -39,7 +39,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl">LGPL-2</license>
<notes>
*
* [mms] Add configuration to allow for SMTP authentication if the current Horde access does not have an authenticated user.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -3932,7 +3932,7 @@
<date>2014-07-01</date>
<license uri="http://www.horde.org/licenses/lgpl">LGPL-2</license>
<notes>
*
* [mms] Add configuration to allow for SMTP authentication if the current Horde access does not have an authenticated user.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 4d8e5f0

Please sign in to comment.