Results 1 to 5 of 5

Thread: M2 mail stuck in queue work around

  1. #1
    Join Date
    Dec 2005
    Location
    UK
    Posts
    2
    Rep Power
    9

    Default M2 mail stuck in queue work around

    Hi

    I have been having the same problem as on thread

    http://www.zimbra.com/forums/showthread.php?t=989

    This is where mail gets stuck in the mail queue.

    If the following is done

    zmcontrol stop
    zmcontrol start
    postqueue -f

    This almost always flushes the queue.

    However this is not neat and I want a better work around until the other thread has identified the core problem.

    I have used M1 and it was OK and I made the mistake of going live with M2
    so I am manually running the process above every 30 minutes.

    I would much rather

    1) Stop postfix
    2) Start postfix
    3) Flush the queue

    Then automate this in a cron job.

    How do we stop and start postfix in the zimbra environment, do we need to be logged in as zimbra or root?

    I know this is not the solution to the problem, but all hell breaks loose when I
    forget to not run the manual flush.

    Help please

    John

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default as zimbra

    You can run this in the zimbra crontab:
    /opt/zimbra/bin/postfix stop, etc...

  3. #3
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Are you sure it's postfix and not the tomcat instance? Can you please get thread dumps of tomcat before you restart so we can debug?

    kill -QUIT

    Then zip and attach /var/log/zimbra.log and /opt/zimbra/tomcat/logs/catalina.out
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  4. #4
    Join Date
    Dec 2005
    Location
    UK
    Posts
    2
    Rep Power
    9

    Default

    with
    /opt/zimbra/bin/postfix stop
    then
    /opt/zimbra/bin/postfix start

    get this when starting

    postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.2.3/conf/main.cf
    postfix/postfix-script: starting the Postfix mail system

    It looks like the MTA stops and starts.
    Do we need to worry about this message?

    I will look at the tomcat issue.

  5. #5
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    You can ignore it.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 02:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 04:34 PM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •