Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    7

    Default Disabling insecure SSLv2 in exim SMTPs?

    Port 465. Anyone know how? I need to do this (and everone should) due to known cryptographic flaws in SSL 2.0 protocol and also to pass an audit test.

  2. #2
    Registered User
    Join Date
    Mar 2006
    Posts
    2

    Default

    Hi,

    To limit smtps to SSLv3 and TLS, add the following to /etc/exim.conf

    Code:
    tls_require_ciphers = SSLv3:TLS
    And then restart exim.

    You can then test with the following command:

    Code:
    openssl s_client -ssl2 -connect your.hostname.com:465
    Try that using each of the following: -ssl2, -ssl3 and -tls1. It should now only work when using -ssl3 or -tls1. It should fail when you use -ssl2; you'll see something like this at the end and it will drop your connection:

    Code:
    28120:error:1406D0B8:SSL routines:GET_SERVER_HELLO:no cipher list:s2_clnt.c:450:

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    2

    Default

    Oh, and if you need to do the same for pop3s and imaps, edit the following two files:

    /usr/lib/courier-imap/etc/pop3d-ssl
    /usr/lib/courier-imap/etc/imapd-ssl

    and set the following in each (the directive is probably there and commented out, but you don't want to use what that one is set to):

    Code:
    TLS_CIPHER_LIST="ALL:!SSLv2:!ADH:!NULL:!EXPORT:!DES:!LOW:@STRENGTH"
    then restart courier-imap and test the same way as above, except using ports 993 and 995 instead of 465.

  4. #4
    Member
    Join Date
    May 2003
    Location
    Seattle
    Posts
    103

    Default

    thanks for the tip. I was able to shut it off on exim, but not on the 995/993 ports. I don't have the /usr/lib/courier... directory. How else would I find what config file is used on my system for these ports?

  5. #5
    Member
    Join Date
    May 2003
    Location
    Seattle
    Posts
    103

    Default

    ah... /scripts/convert2maildir

Similar Threads & Tags
Similar threads

  1. Disabling exim service + other unwanted services
    By walidaly in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-29-2007, 06:04 PM
  2. exim-smtps (Is this new?)
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-06-2005, 01:13 PM
  3. Exim SMTPS Issue..
    By f0urtyfive in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-07-2004, 10:53 AM
  4. disabling WHM from upgrading exim?
    By big in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-01-2004, 05:37 PM
  5. Spam > Disabling exim automatically
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-18-2003, 10:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube