Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: [SOLVED] NDR message on message failure

  1. #1
    Join Date
    Nov 2008
    Posts
    237
    Rep Power
    6

    Default [SOLVED] NDR message on message failure

    Hello,

    Is there a way to set the sender mail of zimbra "example.com" to receive the NDR message failure from an external mail system such as gmail, yahoo and hotmail?

    In my case now, when the user sent an email to usernotexists@yahoo.com, the message still in the queue while the error message, "connect to yahoo.com [xxx.xxx.xxx.xxx]" connection refused. I wanna sent a notification to the sender to let him know that the email is wrong.

    Cheers,

  2. #2
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    I'm trying to work out what you are trying to do, it seems that you want people to send email to your domain but if they use an address that does not exist, you want a bounce back message to be sent by your server, but appear to come from google?

    If that's what you are after then the answer is no, I cant imagine what use such an function would be or how to impliment it. I think I'm not understanding what you are asking for.

  3. #3
    Join Date
    Nov 2008
    Posts
    237
    Rep Power
    6

    Default

    Hello,

    First of all thank you for you reply...

    what I want it exactly is to deliver the NDR that coming from the external domain to the sender in my domain:

    Scenario:
    I have the domain name example.com and the user@example was sent an email to usernotexists@yahoo.com, in this case the email has been queued and trying to deliver from zimbra admin console although its status is active.

    After a few moments you will notice that the status will changed to deferred for the reason that the mentioned account @ yahoo.com doesn't exists, on mouse over on the error it appear that "connection to the yahoo.com failed [xx.xx.xx.xx] connection refused" now I want to inform the user@example.com that the error message that It came from the receiver domain in order to know that the recipient wasn't available.

    If you need more information please let me know..

    Cheers,

  4. #4
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    Right, so if a user on your network sends an email out to a third part email sever for an address that does not exist, you want to send the cannot deliver message from your own server?

    Those messages are normally the responsibility of the destination server, not the source so I dont know if this will be possible.

  5. #5
    Join Date
    Nov 2008
    Posts
    237
    Rep Power
    6

    Default

    Again thank you for your response,

    but it is logic, lets simulate this case on the none zimbra, when you send an email from user@gmail.com to user@yahoo.com if the user@yahoo.com doesn't exists or some another reason, the sender user@gmail.com will receive an NDR "None Delivery Report" saying that the message coundn't delivered for the reason lablablablablab .....

    So how do I inform the users on my network "Zimbra Server" that the message didn't send...

    Cheers,

  6. #6
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    You can tweak a few things I think. One is the setting is

    maximal_queue_lifetime

    this determines how long a message will remain in the queue. i think the default is 5 days, so when your user sends to soemone@yahoo.com and it can't be delivered because of that they'll usually get the NDR 5 days later.

    If you set that to 0 it will only try once and then give up and send the NDR. The other option, one we prefer is to leave the queue life at 5days, but send a warning after like 4 hours. you can control this with the option

    delay_warning_time

    this is set to 0 i think by default.

    so if you leave the queue lifetime to 5d and set the warning time to 4h heres what will happen

    the user sends an e-mail to soemoene@yahoo.com and your server gets the connection refused. it defers the message to the queue to be retired for 5 days.

    after 4 hours your user gets an -emila that says that delivery has been unsuccessful and it will try again for 5 days and not to resend the e-mail.

    after 5 days your user will get a message that says it was unable to deliver it for 5 days and is giving up.

  7. #7
    Join Date
    Nov 2008
    Posts
    237
    Rep Power
    6

    Default

    okay, so lets fly with the second option and try it, I keep it in the queue for one day and send an warning message after 5 minutes.

    where I can found the mentioned parameters? I ran this command:
    Code:
    zmprov | grep maximal_queue_lifetime
    and
    Code:
    zmlocalconfig | grep maximal_queue_lifetime
    So can you provide more details about it?

    Cheers,

  8. #8
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    they're postfix paramaters you'll need to use postconf to modify them

  9. #9
    Join Date
    Nov 2008
    Posts
    237
    Rep Power
    6

    Default

    Is there any example? or wiki, document etc.....

  10. #10
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    Code:
    su - zimbra
    postconf -e 'delay_warning_time = 4h'
    zmcontrol stop
    zmcontrol start

Similar Threads

  1. 'Couldn't access Yahoo! Zimbra Desktop server"
    By chirag1 in forum Error Reports
    Replies: 37
    Last Post: 06-12-2011, 05:14 PM
  2. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 AM
  3. [SOLVED] Zimbra desktop slowed down the system
    By hvle in forum General Questions
    Replies: 5
    Last Post: 03-23-2009, 05:32 PM
  4. Emails bouncing with "Error Text: 401,'null'"
    By sholden in forum Zimbra Connector for Outlook
    Replies: 27
    Last Post: 08-20-2008, 04:59 PM
  5. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •