Bug 43057 - Horde Docker App has incomplete mail setup
Horde Docker App has incomplete mail setup
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: Felix Botner
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-25 15:18 CET by Dirk Ahrnke
Modified: 2016-12-13 09:36 CET (History)
1 user (show)

See Also:
What kind of report is it?: Release Management
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Ahrnke 2016-11-25 15:18:57 CET
Environment: UCS 4.1-4 errata 324 + horde_20161024154423

step to reproduce:
create user, assign valid e-mail address
sign in to horde
compose e-mail to external address

expected result:
the message should be passed to the MTA

actual result:
the message is rejected by the MTA
Horde shows an error "Server is not accepting SMTP connections"

mail.log:
Nov 25 14:47:30 ucs-9843 postfix/smtpd[7142]: NOQUEUE: reject: RCPT from unknown[172.17.0.1]: 554 5.7.1 <user1@domain1.tld>: Relay access denied; from=<user@domain2.tld> to=<user1@domain1.tld> proto=ESMTP helo=<horde-1480079642002777>

this is a functional regression compared to the former Horde apps. Especially inexperienced users may not be aware about the requirement to add the IP of the Docker container to mynetworks. Note: I am not even sure if the need to change mynetworks is the intended design.


Appeard twice in the Forum.

http://forum.univention.de/viewtopic.php?t=6257
http://forum.univention.de/viewtopic.php?t=6199
Comment 1 Felix Botner univentionstaff 2016-11-25 20:26:06 CET
Horde SMTP defaults are port:25, auth:yes.

But, we no longer allow SMTP auth on port 25 (why?, since when?). Horde sends the mail anyway (even if authentication is not provided by the server) but, of course, mail relaying is denied without authentication.

It is not a bug deal for the non-Docker app (horde is installed on the same server as the mailer) but this breaks mailing to external in the new Docker App.

I change the SMTP port default for horde to 587 (submission, with SMTP authentication).

Workaround for existing installations:

Got to

Horde Server -> UMC -> AppCenter 
             -> Horde -> App Settings -> Settings (advanced)

and change SMTP Port to 587.
Comment 2 Felix Botner univentionstaff 2016-11-28 13:17:27 CET
Update the Horde App Settings, added Default=587 for horde/mailer/params/port (SMTP Port).
Comment 3 Dirk Wiesenthal univentionstaff 2016-12-09 00:02:56 CET
Works, online.