Results 1 to 5 of 5

Thread: postfix/postqueue: fatal: Queue report unavailable - mail system is down

  1. #1
    Crayz9000 is offline Senior Member
    Join Date
    Feb 2012
    Location
    Las Vegas
    Posts
    65
    Rep Power
    3

    Default postfix/postqueue: fatal: Queue report unavailable - mail system is down

    I know I'm running an older version of Zimbra on a now unsupported platform, but I just wanted to provide some feedback on a curious issue I had noticed. Zimbra is actually working normally, all messages are being delivered properly, but the following error appears with alarming regularity in /var/log/mail.log and /var/log/zimbra.log:

    postfix/postqueue: fatal: Queue report unavailable - mail system is down

    After some searching and reading older discussions here, I realized that OS X includes Postfix as its MTA, and the binaries are located in /usr/bin and /usr/sbin.

    mail:/var/log user$ which mailq
    /usr/bin/mailq
    mail:/var/log user$ which postfix
    /usr/sbin/postfix
    mail:/var/log user$ mailq
    postqueue: fatal: Queue report unavailable - mail system is down

    Switching to the Zimbra user produces the correct results:

    mail:/var/log user$ sudo su - zimbra
    Password:
    mail:~ zimbra$ which mailq
    /opt/zimbra/postfix/sbin/mailq
    mail:~ zimbra$ which postfix
    /opt/zimbra/bin/postfix
    mail:~ zimbra$ mailq
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    4EA1A3D5A5C 5383 Thu Mar 15 07:19:12 MAILER-DAEMON
    (connect to ********: Operation timed out)
    -- 5 Kbytes in 1 Request.

    The only conclusion I can draw, then, is that for some reason the process that calls Postfix's mailq for the system log report doesn't have the right $PATH in its environment, and as a result it's calling the system mailq binary.

    Any suggestions on where I can locate and/or fix this so Zimbra logs properly?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    The copy of postfix installed on your server (not the zimbra postfix) should have no effect on ZCS, it's not used by Zimbra. Check that your certificates aren't expired and recreate them if they are, look in the log files for any errors or check some of these threads: site:zimbra.com +"Queue report unavailable" - Yahoo! Search Results
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Crayz9000 is offline Senior Member
    Join Date
    Feb 2012
    Location
    Las Vegas
    Posts
    65
    Rep Power
    3

    Default

    I appreciate the quick (if partially canned) response.

    However, as I mentioned in the OP, Zimbra is working normally with the exception of the inaccurate "Queue Report Unavailable" entry that appears in the log files.

    Certificates don't expire until 2013 (this is a fairly new Zimbra install).

    We have occasional issues with messages going AWOL but I believe it to be more related to user error than anything server-side.

    mail:~ zimbra$ zmcontrol status
    Host mail.**************
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running

    Again, like I said in the OP, running OS X's Postfix `mailq` command produces a Queue Report Unavailable - Mail System Down message. Running the Zimbra Postfix `mailq` yields normal results. At least on my system (OS X 10.4.11), this behavior is 100% reproducible.

    If I find the source of the errant behavior, I'll post it here. I don't expect it to do the Zimbra devs much good, since OS X development has stopped, but it might help out any other confused OS X Zimbra users.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by Crayz9000 View Post
    I appreciate the quick (if partially canned) response.
    It was 'partially canned' because I wanted to know the answer to the points I mentioned, sorry if that wasn't a good enough answer.

    Why would you expect the mailq command to produce any output for Zimbra when you run it as a user other than zimbra?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Crayz9000 is offline Senior Member
    Join Date
    Feb 2012
    Location
    Las Vegas
    Posts
    65
    Rep Power
    3

    Default

    Quote Originally Posted by phoenix View Post
    It was 'partially canned' because I wanted to know the answer to the points I mentioned, sorry if that wasn't a good enough answer.

    Why would you expect the mailq command to produce any output for Zimbra when you run it as a user other than zimbra?
    Sorry... I didn't mean to sound snarky, but I guess that's just how it came out. I know why you ask those questions; a lot of people simply forget to include important information when they report problems.

    I don't expect the OSX mailq command to produce useful output since it's obviously not being used. However, the same error message that the OS X mailq command produces is exactly what's showing up in the Zimbra logs. The Zimbra mailq command does not produce the error message.

    Therefore, the only conclusion I can come to is that somehow, the Zimbra logging agent is calling the wrong mailq for updates. I have no idea why or how it would be doing that, which is why I'm posting here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Replies: 8
    Last Post: 12-01-2010, 09:14 PM
  3. help with smtp auth
    By pheonix1t in forum Installation
    Replies: 1
    Last Post: 04-27-2009, 06:56 AM
  4. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  5. Mail not getting to mail boxes
    By ehults in forum Installation
    Replies: 5
    Last Post: 10-31-2005, 09:24 AM

Tags for this Thread

Posting Permissions

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