Results 1 to 8 of 8

Thread: [SOLVED] admin console Mail Queue

  1. #1
    padraig's Avatar
    padraig is offline Elite Member
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    9

    Question [SOLVED] admin console Mail Queue

    Whats the difference between Flush & Requeue all
    in the admin console -> Mail Queue
    TIA,
    p.

  2. #2
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default

    Just guessing but flush sounds like down the john - bye bye.

    Requeue is try to send again

  3. #3
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Not quite...

    Requeuing messages can be used to send messages that were deferred because of a configuration problem that has been fixed. If the misconfiguration caused postfix to store incorrect information about the next hop or transport method, or to rewrite the address incorrectly, etc. The message is subjected again to mail address rewriting and substitution. This is useful when rewriting rules or virtual mappings have changed. Messages are re-evaluated and earlier penalties are forgotten.

    It's like a return to the beginning of the delivery cycle, but in many respects its handling still differs from that of a new submission because a lot of things depend on original SMTP connection state information. The message is moved to the maildrop queue and copied by the pickup then cleanup daemons to a new queue file.

    BTW: Postfix queue file IDs are reused. So if you requeue a message note the envelope information, not the queue ID. It is possible that when you refresh the mail queues, the queue ID could be used on a different message if you have a lot of mail.

    In addition to taking action on individual messages in a specific queue, you can flush the server. The flush button is to immediately attempt delivery of all messages in the deferred, incoming and active queues. This command should be used if you have reason to expect successful deliveries; else just leave it to the postfix queue manager for normal scheduling. ie: If you run it once, and stuff still doesn't deliver, check to see if you have a problem before putting all that load on your server again...

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Why might you want to use flush? Because you might not want to wait 5-60min for stuff to be delivered & don't care about load; most likely you've recently fixed a configuration or connection problem etc.
    Postfix defaults:

    queue_run_delay (default: 300 seconds; before Postfix 2.4: 1000s)
    How often the queue manager scans the queue for deferred mail.

    minimal_backoff_time (default: 300 seconds; before Postfix 2.4: 1000s)
    The minimal amount of time a message won't be looked at, and the minimal amount of time to stay away from a "dead" destination.

    maximal_backoff_time (default: 4000 seconds)
    The maximal amount of time a message won't be looked at after a delivery failure.

    maximal_queue_lifetime (default: 5 days)
    How long a message stays in the queue before it is sent back as undeliverable. Specify 0 for mail that should be returned immediately after the first unsuccessful delivery attempt.

    bounce_queue_lifetime (default: 5 days, available with Postfix version 2.1 and later)
    How long a MAILER-DAEMON message stays in the queue before it is considered undeliverable. Specify 0 for mail that should be tried only once.

    qmgr_message_recipient_limit (default: 20000)
    The size of many in-memory queue manager data structures. Among others, this parameter limits the size of the short-term, in-memory list of "dead" destinations. Destinations that don't fit the list are not added.

  5. #5
    nero is offline Member
    Join Date
    Jun 2008
    Location
    Melbourne
    Posts
    12
    Rep Power
    7

    Default If flush and requeue did not work, what else can be done?

    My customer have his e-mail bounced when he try to send e-mail to me. He send e-mail to me before few months back and it works fine. I found the e-mail in mail queues deferred. I have tried the above method flush and requeue and it did not deliver the message to me. When I requeue the msg is gone from deferred however i still do not receive the e-mail. What else can i do to solve this problem?

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    Quote Originally Posted by nero View Post
    My customer have his e-mail bounced when he try to send e-mail to me. He send e-mail to me before few months back and it works fine. I found the e-mail in mail queues deferred. I have tried the above method flush and requeue and it did not deliver the message to me. When I requeue the msg is gone from deferred however i still do not receive the e-mail. What else can i do to solve this problem?
    Look in the log files and see why the messages are getting rejected/deferred.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    nero is offline Member
    Join Date
    Jun 2008
    Location
    Melbourne
    Posts
    12
    Rep Power
    7

    Default

    Somehow, after the requeue the msg finally got through. Phoenix, you were saying about the log files, which particular log files i should look at for the flush and requeue? Thanks.

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    You'll find information in the mailbox.log on why the message was queued in the first place.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  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
  •