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.

Return smtp errors to clients how???

Discussion in 'E-mail Discussions' started by bsasninja, Aug 23, 2007.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Is there a way to tell exim to return errors to customers instead of showing an administrative prohibition error???

    For example if you have OUTLOOK and you send a message to fadf@hotamail.com (note that there is a "A" after the t) the message stucks in the outbox and outlook error 0x800ccc0b appears.

    I now that other providers when you do the same, instead of the error appears a message."The domain or mail address you are sending is invalid, please check..."

    There was an option in exim at version 4.2 to return errors to clients but was removed in later versions and I dont know if it can be done in other way.

    Thanks!
     
  2. 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 was changed a few months ago. Now the sender gets a failure return email that describes the problem.
     
  3. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Im not talking of error bounce messages.

    if I´m a user and I send to a local user in my server that doesnt exists outlook returns error 0x800ccc0b instead of poping error No Such User Here

    I tried rule:
    smtp_return_error_details = true

    but nothing happens.

    My ISP provider when you try to send to unexistent mails pops the error in your mail client telling you what´s the problem.

    I would like to apply this to exim.
     
  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
    if I try to use Outlook Express and send an email to my own domain or an outside domain like hottmaill.com ..i get a failure back on the next send-receive cycle.

    what tree/build are you running?
     
  5. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    yes but what says the outlook error?
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your message did not reach some or all of the intended recipients.

    Subject: test
    Sent: 8/23/2007 4:50 PM

    The following recipient(s) could not be reached:

    'infoprostest@mydomains.com' on 8/23/2007 4:50 PM
    550
     
  7. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    yes but that is a bounce you receive at your mail, but I need that the error message pop-up in the mail delivery.
     
  8. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    the reason this was changed to return a separate failure message is to prevent the follow situation.

    Let's say you have a customer that has a local mailing list in his Outlook address book. Let's say multiple addresses out of a couple hundred are bad. Let's say for sake of argument 5 are bad email addresses. You customer tries to send his email only to find out none of it is delivered and it's stuck in his outbox. He has no idea why. Becuase of one address or more being bad ..none of those emails deliver. So he emails or calls his hosting company. The hosting company looks through the exim_mailog and finds a bad address. The customer then redoes his email and gets rid of that bad address to only find the same problem again. He contacts the host again. The host finds another error and then he removes that bad address. Thsi goes on and on until finally the list goes through. In the mean time ..the customer thinks it's rediculus and decides to start looking for another host.

    True story ..although he came back becuase the new host also runs the same default exim config. same result.

    So now the behavior is to accept the message for relay and deliver what it can, then report any problems back to the sender. This not only tells you that you have some bad addresses, it also tells you which ones and in the meantime it delivered what it could for you. The other way ..it drives people nuts and they leave.

    I like it the way it works now ... if I am nuts it's because the old way drove me nuts.
     
  9. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA


    that's exactally what I get ..and if it's multiple addresses, they are included. The rest are delivered.
     
  10. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    For me returns the 0b outlook error. Dont know what It could be.
     
  11. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    I asked in one of my earlier posts, maybe you didn't see it:

    what TREE/BUILD are you using?
     
  12. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Im using WHM 11.2.0 cPanel 11.10.0-R16448

    Thanks
     
  13. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA

    you could try to rebuild the exim configuration back to default. Then go into the config screen and recheck/uncheck any specific settings you need.
     
Loading...

Share This Page