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.

Sender verify callout option not rfc compliant.

Discussion in 'General Discussion' started by 4u123, Oct 3, 2006.

  1. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Many mail servers deliberately stall the display of the SMTP greeting by 30s or more. Any compliant mail system will wait until the greeting banner is displayed. The RFC standard says that the connecting server should wait up to 300 seconds.

    When the cpanel server is trying to perform the sender verify callout and the greeting is stalled by 30s or more, it's at this point that the cpanel server reaches timeout. The cpanel server incorrectly assumes that the server it is connecting to isnt listening, when in actual fact, it is going through the stall period.

    Is there anything in the exim configuration that can be changed to make this work ?
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Callout verification can be specified with a range of optional parameters, some of which relate to timeouts.

    http://exim.org/exim-html-4.50/doc/html/spec_39.html#IX2589
    http://exim.org/exim-html-4.62/doc/html/spec_html/ch39.html#CALLaddparcall

    The first link is the spec relating to the version of Exim you're probably running. The second, for Exim 4.6.x, covers the same points but, at least for me, did so in a more understandable manner.

    Changing:

    Code:
    require verify = sender/callout
    to:

    Code:
    require verify = sender/callout=300s
    should result in setting a 300s (5 minute) timeout for the whole callout process.

    Other timeouts for specific parts of the callout (such as the timeout for establishing an SMTP connection) can also be specified, as explained in the docs.
     
  3. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    Very nice, thank you :)
     
  4. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    this is a very interesting thread :) I have a question ..what would be the drawback if any to setting this parameter higher like this?
     
Loading...

Share This Page