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.

Excluding domains from callout verification

Discussion in 'General Discussion' started by ashokjp, Oct 21, 2006.

  1. ashokjp

    ashokjp Active Member

    Joined:
    Dec 18, 2005
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    At certain times, there mails which are valid being rejected by callout verification, now thing is how do we go about excluding certain domains from callouts.

    This is my current setup
    In WHM >> Service Configuration >> Exim Configuration Editor
    Code:
    domainlist whitelist_domains = lsearch;/etc/whitelist_domains
    
    After #sender verifications are required for all messages that are not sent to lists

    Code:
    require verify = sender/callout
    accept  domains = +local_domains : +whitelist_domains
    endpass
    But the above doesnt seem to work

    when the below change is done to second code
    #sender verifications are required for all messages that are not sent to lists

    Code:
     require verify = sender/callout=10s,defer_ok
     accept  domains = +local_domains : +whitelist_domains
     endpass

    what it does is even if callout verification is failed it still accepts mail


    ANY IDEAS ?
     
  2. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    There are very good instructions in this thread (which if you follow, read the whole thing first as there are some corrections towards the end). Compare this to what you have and I think you'll see the corrections you need to make.

    http://forums.cpanel.net/showthread.php?p=215336#post215336
     
    #2 RickG, Oct 21, 2006
    Last edited: Oct 21, 2006
  3. ashokjp

    ashokjp Active Member

    Joined:
    Dec 18, 2005
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    I am sorry RickG, i had already tried that too and dint work.
    I had gone through these topics in cPanel forum and since it dint work for me i had contacted here.
     
  4. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    It might be worthwhile to revisit this thread and look at the instructions again. I have used these directions mutiple times and they have always worked without error. They end result is quite different from the sample you posted so it might be worthwhile to print the thread and compare to your exim file.
     
  5. ashokjp

    ashokjp Active Member

    Joined:
    Dec 18, 2005
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    RickG
    it does exactly what my current code does, and since you told i had tried again
    I tried testing a callout rejected server on it,
    on testing with exim i got this in between
    >>> SMTP timeout
    >>> ----------- end verify ------------
    >>> verify defer overridden by callout_defer_ok
    >>> deny: condition test failed
    >>> processing "accept"
    >>> check domains = +local_domains


    and the mail is accepted
    same way
    the way it goes is
    all servers ARE verified for callouts but as they fail -- STILL mail comes in because of defer_ok
    and in a sense its like disabling callout

    that is why i wanted a solution.

    To add -- the server i tried was not listed on my whitelist file and still it was accepted. ALTHOUGH that is the domain which was being rejected by callouts.
     
    #5 ashokjp, Oct 21, 2006
    Last edited: Oct 21, 2006
  6. ashokjp

    ashokjp Active Member

    Joined:
    Dec 18, 2005
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Any solutions ??
     
  7. levelsupport

    levelsupport Well-Known Member

    Joined:
    Oct 7, 2006
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Instead of
    change to

     
Loading...

Share This Page