Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
F: +44 (0)8456 446 899 / +44 (0)1223 359459

Jump To: Support > KB > NetManager > Email > DisableTLS

Disabling TLS sending for certain domains

Newer versions of NetManager will try to send all mail over secure channels using TLS if the receiving server supports it. However, it is not uncommon for the receiver to have a broken TLS implementation which can cause delivery problems as sendmail on NetManager will not trying sending insecurely if the remote end advertises that it can support secure transport.

It is possible to specify a list of mail servers that NetManager should not try to use TLS with. Currently there is no webadmin GUI for this, so this page will document the manual procedure to edit the list.

Step 1: determine the mail servers for the domain

Use the host command to look up the mail servers (N.B. Precedence doesn't have broken mail servers, I'm just using our domain as an example!):
netmanager 1# host -t MX mail is handled by 10 mail is handled by 20

Here we see that there are 2 mail servers and

Step 2: edit the access file to mark those servers as broken

Use joe /etc/mail/access to edit the configuration file. For each mail server add a line in the following format: NO

Try_TLS and NO are case-sensitive. You can use spaces or tabs to separate out the two columns; using tabs will make it a little easier to read as the two columns will then be aligned.

So in our example, this would be: NO  NO

Once you have finished, save the file with Ctrl-K followed by X. Further information on using the joe editor can be found here.

Step 3: rebuild the access database

Run the following command:
makemap hash /etc/mail/access < /etc/mail/access
© Copyright Precedence Technologies 1999-2019
Page last modified on September 30, 2014, at 09:27 AM by sborrill