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.

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:
    16
    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?
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
  3. GordonH

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    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....)
     
  4. erinspice

    erinspice Well-Known Member

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

    GordonH Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    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".
     
  6. KyleG

    KyleG Member

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

    randomuser Well-Known Member

    Joined:
    Jun 25, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    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:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    yes, if you replace those with the double quotes " " it works fine.

    Mickalo
     
  9. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    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
     
  10. randomuser

    randomuser Well-Known Member

    Joined:
    Jun 25, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    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:
    16
    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