Univention Bugzilla – Bug 43057
Horde Docker App has incomplete mail setup
Last modified: 2016-12-13 09:36:55 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
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.
Update the Horde App Settings, added Default=587 for horde/mailer/params/port (SMTP Port).
Works, online.