Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to disable bounces in exim?

Discussion in 'General Discussion' started by GordonH, Sep 27, 2006.

Thread Status:
Not open for further replies.
  1. GordonH

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    316
    I have searched around and can't see how to do this.

    We get lots of spamcop complaints for "unsolicited bounces" which can lead to blacklisting so I need to disable bounces from all our servers.

    Has anyone managed to do this relibaky without cpanel overwriting it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    4
    Trophy Points:
    193
    Location:
    Minneapolis, MN
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GordonH

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    316
    Thanks for that
    It seems like a possible solution as it would be possible to automate adding ti to all the servers when cpanel overwrites the config files (I had to do that for blacklisting as well....)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. erinspice

    erinspice Well-Known Member

    Joined:
    Feb 12, 2006
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    166
  5. GordonH

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    316
    I don't know.
    It did the same for me so I never implemented it.

    This is domething that should be selectable in the Exim editor like "use callouts".
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. KyleG

    KyleG Member

    Joined:
    Jan 29, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    I also need a fix to this. My server is sending out ALOT of spam emails.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. randomuser

    randomuser Well-Known Member

    Joined:
    Jun 25, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    166
    For those of you that tried this from the URL listed above and it didn't work, did you try replacing all instances of “” with "" ? Haven't tried it myself, but if someone tries that and reports success, I may have to consider it.

    For example, the tut says:

    if $sender_address is “”

    but I think that should probably be:

    if $sender_address is ""
     
  8. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    773
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    yes, if you replace those with the double quotes " " it works fine.

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    4
    Trophy Points:
    193
    Location:
    Minneapolis, MN
    I tweaked that entry on all of our clients' servers:
    Code:
    if $sender_address is ""
            then
    if ${lookup{${extract{2}{@}{$recipients}}}lsearch{/etc/localdomains}{yes}{no}} is "no"
            then
            noerror fail text "Delayed bounce message ignored"
            seen finish
        endif
    endif
    Save and then run these commands:
    /scripts/restartsrv exim
    /scripts/restartsrv spamd
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. randomuser

    randomuser Well-Known Member

    Joined:
    Jun 25, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    166
    Just wanted to point out that restarting exim/spamd/anything else is not necessary.
     
  11. erinspice

    erinspice Well-Known Member

    Joined:
    Feb 12, 2006
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    166
    Also, (on my box at least) restarting exim restarts spamd, so you're essentially restarting spamd twice there.

    But yes, thanks for this fix! It works!
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice