On 14/03/15 04:33 PM, Ferenc Wagner wrote:
Gary Dale <[email protected]> writes:

If dc_smarthost has the port set to 26, mail gets sent. However with
it set to 465, it stays in the mailq.

dc_eximconfig_configtype='smarthost'
dc_smarthost='<remote host name>:465'
Man update-exim4.conf says two colons are needed here.
Also check /var/log/exim4/mainlog for problems.

The single colon is a typo on my part. The actual file has 2.

The log for an unsuccessful mail says:
2015-03-14 00:47:44 1YWdzE-0000l6-CR <= <sending e-mail address> U=garydale P=local S=1665
2015-03-14 00:47:44 1YWdzE-0000l6-CR ** -r@localhost: Unrouteable address
2015-03-14 00:47:44 1YWdzE-0000l6-CR ** [email protected] R=smarthost T=remote_smtp_smarthost: retry time not reached for any host after a long failure period 2015-03-14 00:47:44 1YWdzE-0000l6-CR ** <sending e-mail address> R=smarthost T=remote_smtp_smarthost: retry time not reached for any host after a long failure period 2015-03-14 00:47:44 1YWdzE-0000lB-Ik <= <> R=1YWdzE-0000l6-CR U=Debian-exim P=local S=2720 2015-03-14 00:47:44 1YWdzE-0000lB-Ik ** <sending e-mail address> R=smarthost T=remote_smtp_smarthost: retry time not reached for any host after a long failure period
2015-03-14 00:47:44 1YWdzE-0000lB-Ik Frozen (delivery error message)
2015-03-14 00:47:44 1YWdzE-0000l6-CR Completed

I use /etc/email-addresses to change garydale to <sending e-mail address>. Otherwise the e-mail just bounces.

When I change to port 26 and leave everything else the same, the mail goes through.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to