The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

454 Tls

Discussion in 'General Discussion' started by jackal, Jun 11, 2003.

  1. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    Getting error below when I send a email to this address I have domain .com in for example. Email receiver is on a Windows server running .Net\
    . we are sending from apachae/linux server.
    Any ideas how to fix this??


    This message was created automatically by mail delivery software (Exim).
    A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

    peter@domain.com
    SMTP error from remote mailer after STARTTLS: host mail.domain.com [66.102.130.100]:
    454 TLS not available: missing RSA private key (#4.3.0):
    retry timeout exceeded:confused:

    cPanel.net Support Ticket Number:
     
    #1 jackal, Jun 11, 2003
    Last edited: Jun 11, 2003
  2. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    Edit /etc/exim.conf in your editor of choice.

    In the TRANSPORTS section, go to:

    # This transport is used for delivering messages over SMTP connections.

    remote_smtp:
    driver = smtp


    Under that item, add

    hosts_avoid_tls = mail.remoteserver.com

    Where mail.remoteserver.com is the mailserver of the system with the failing handshake.

    Save the file and restart exim. If you don't want to have to continually insert this, change the attributes on the config file:

    chattr +i /etc/exim.conf

    Done.

    cPanel.net Support Ticket Number:
     
  3. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    Thanks Annette


    Ok I added line restarted and also chattr the file now I get this below 5 seconds after I sent the email



    This message was created automatically by mail delivery software (Exim).

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    peter@domain.com
    retry time not reached for any host after a long failure period

    cPanel.net Support Ticket Number:
     
    #3 jackal, Jun 11, 2003
    Last edited: Jun 11, 2003
  4. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    That's because exim has decided that after so many failures, it isn't worth trying to send mail to that place again - so it rejects it immediately, since the cutoff time (the time that has elapsed since the last unsuccessful delivery, when exim "forgets" it was unable to devlier the mail) has not yet been reached. You can attempt to have exim immediately retry the failed address(es) by inserting

    delay_after_cutoff=false

    into the transports configuration and restarting exim. This will tell exim to try the address(es) immediately upon receipt, even if the cutoff time has not fully elapsed for the previously failed address.

    cPanel.net Support Ticket Number:
     
  5. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    ok looks as if that may have worked. Could you maybe explain to me what the problem is on the server I trying to send to. It worked fine last week. Problem just started 3 days ago.

    Thank You For helping me.

    cPanel.net Support Ticket Number:
     
  6. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    This error:

    SMTP error from remote mailer after STARTTLS: host mail.domain.com [66.102.130.100]:
    454 TLS not available: missing RSA private key (#4.3.0):

    indicates that the remote server is advertising TLS but does not actually support it due to a missing key. Exim, when presented with the advertisement, will expect the key in return to its request that the remote system provide it. If the remote system does not provide it, and if the hosts_avoid_tls is not set for that remote server, exim will close the connection. It's a configuration error on the remote server, and ideally, you should report it to them (postmaster@remoteserver.com) as a courtesy to let them know other mail servers are not able to connect to theirs because of this error.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page