Re: [exim] Problem with TLS connection

Etusivu
Poista viesti
Vastaa
Lähettäjä: Hill Ruyter
Päiväys:  
Vastaanottaja: <exim-users@exim.org>
Aihe: Re: [exim] Problem with TLS connection
Hello again

Whenever I make a change to the config I do the following, I had assumed it
was the correct processŠ

update-exim4.conf
Invoke-rc.d exim4 stop
Invoke-rc.d exim4 start

If this is wrong then please do let me know but I was sure it was enough to
initiate any changes to the configuration template.


In reference to the comments by Ian

I am really confused by the proper use of ports. I was using 465 for my SSL
connections until someone told me that was not the correct port to use for
SMTP over SSL/TLS and that I should be using 587 so I changed my config,
firewalls etc because I have a wish to do things properly.

I am not running an ISP or anything like this, it is just my mail server
for a few business accounts for my own business and a few accounts for
family and friends across about 5 domains each with about 5 accounts.

Is there a definitive answer to what port I should be using to make SMTP
connections over TLS

Regards
Hill




From: Heiko Schlittermann <hs@???>
Organization: schlittermann -- internet & unix support
Date: Thu, 19 May 2011 12:14:12 +0200
To: "<exim-users@???>" <exim-users@???>
Subject: Re: [exim] Problem with TLS connection

Hill Ruyter <hill@???> (Thu May 19 11:30:40 2011):
> Thank you Heiko I think I understand
> You have correctly surmised that I had 587 in the TLS_on_connect_ports
> list
>
> I had incorrectly thought that I needed to put the port number I was wishing
> to use for TLS connections in this list.
>
> I have changed the configuration to just include 465 in that list now and
> will re-test to see if the problem goes away
>
> It is interesting how my mis-configuration did not show up until the server
> re-booted since this setting has been there for some time.


Probably you just changed the config option. But Exim picks up this option
exactly once at startup. Later changing the configuration does not help
the running daemon. (But it may influence delivery processes started
by that daemon later.)

The reboot caused an Exim restart.


> I will let you know if I have success, if you could run your test again
> Heiko that would be brilliant


    /etc/init.d/exim reload


or (I'm not sure, which name is used by the Ubuntu package)

    /etc/init.d/exim4 reload


should help. If not, replace "reload" by "restart".

--
Heiko :: dresden : linux : SCHLITTERMANN.de
GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B
--
## 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/