Results 1 to 4 of 4

Thread: [SOLVED] DNS error caused incoming messages to bounce when relayed

  1. #1
    Join Date
    Dec 2009
    Posts
    29
    Rep Power
    5

    Default [SOLVED] DNS error caused incoming messages to bounce when relayed

    Hi.

    Using zcs-7.1.1_GA_3196.UBUNTU10_64.20110527011124 as a mail filter to an exchange box, using ZimbraMailTransport. All was working fine until this morning when the zimbra box received a bad dns request from one of the windows dns servers and decided that the internal exchange MTA wasn't accessible. Since then all incoming mail was unable to relay to the exchange box and bounced. I've since changed dns on the zimbra box to have it's own local zone rather than forward internal lookups to the main windows dns - it performs it's own external lookups. So it's now self contained.

    Question is, have all the messages over the 2 hour period before the issue was raised gone? I've not changed the standard postfix config so is there any chance that mail delivery will be attempted? Nothing is showing in the zimbra backend as deferred.

    thanks, sem
    Last edited by sem; 06-07-2011 at 09:44 AM.

  2. #2
    Join Date
    Dec 2009
    Posts
    29
    Rep Power
    5

    Default

    Quick question about this - I though the postfix default deferred queue life was 5 days. In which case, if using Zimbra as a mail gateway, and passing scanned mail through to an exchange server, in the case where the exchange server becomes unavailable for a time (like that ever happens!), why didn't the messages go into the deferred queue? If they didn't by design then am I using Zimbra outside of its intended function? thanks, sem
    Last edited by sem; 06-10-2011 at 12:59 PM. Reason: added further info

  3. #3
    Join Date
    Dec 2009
    Posts
    29
    Rep Power
    5

    Default

    Just done a test with the working config on the box that pushes all incoming mail to the exchange server:

    md mydomain.co.uk zimbraMailCatchAllAddress @mydomain.co.uk zimbraMailCatchAllForwardingAddress @mydomain.co.uk zimbraMailTransport smtp:exchangeserver.local:25

    Disabled the connection to the exchange server to simulate exchange falling over. The problem is, all undeliverable mail being routed through zimbra is bounced immediately. I thought that it would be queued according to the default postfix settings. Is there any way to rectify this because I can't find any reference to it on the Zimbra docs.

    Updated: I've looked at postfix and would smtp_defer_if_no_mx_address_found = yes be a possibility? In which case, how can I apply it because when I try postconf at cli, I get:

    /opt/zimbra/postfix/sbin/postconf: warning: yes: unknown parameter

    I just want zimbra to defer mail delivery if the exchange box becomes unavailable. Can anyone help - please?

    thanks, sem
    Last edited by sem; 06-13-2011 at 11:34 AM.

  4. #4
    Join Date
    Dec 2009
    Posts
    29
    Rep Power
    5

    Default Solved: Queuing inbound mail in event of receiving exchange server failure

    Quote Originally Posted by sem View Post
    Just done a test with the working config on the box that pushes all incoming mail to the exchange server:

    md mydomain.co.uk zimbraMailCatchAllAddress @mydomain.co.uk zimbraMailCatchAllForwardingAddress @mydomain.co.uk zimbraMailTransport smtp:exchangeserver.local:25

    Disabled the connection to the exchange server to simulate exchange falling over. The problem is, all undeliverable mail being routed through zimbra is bounced immediately. I thought that it would be queued according to the default postfix settings. Is there any way to rectify this because I can't find any reference to it on the Zimbra docs.

    Updated: I've looked at postfix and would smtp_defer_if_no_mx_address_found = yes be a possibility? In which case, how can I apply it because when I try postconf at cli, I get:

    /opt/zimbra/postfix/sbin/postconf: warning: yes: unknown parameter

    I just want zimbra to defer mail delivery if the exchange box becomes unavailable. Can anyone help - please?

    thanks, sem
    I'm a dunce. I had a syntax error with postconf. The following has sorted my problems if the receiving exchange box goes down.

    ./postconf -e soft_bounce=yes to queue all mail that would otherwise be bounced as undeliverable.

    ./postconf -e smtp_defer_if_no_mx_address_found=yes incase of an internal problem with the exhange box that's out of my control or an unresponsive outbound smarthost - which has happened a few times in the past.

    Hope these are a help to someone else.

    sem

Similar Threads

  1. [SOLVED] Re-creating the spam training e-mail account
    By richard-hdd in forum Administrators
    Replies: 21
    Last Post: 03-20-2012, 08:34 AM
  2. unhelpful bounce messages
    By useopenid in forum Administrators
    Replies: 0
    Last Post: 02-01-2011, 08:53 PM
  3. Double Bounce Messages
    By abhiz in forum Administrators
    Replies: 1
    Last Post: 01-14-2011, 12:17 AM
  4. Incoming emails bounce to user@hostname.domain.co,
    By fishloa in forum Installation
    Replies: 0
    Last Post: 01-13-2007, 04:14 AM
  5. Keep a copy of all incoming and outgoing messages
    By bjquinn in forum Administrators
    Replies: 2
    Last Post: 12-18-2006, 12:37 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
  •