Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2004
    Location
    Germany
    Posts
    347

    Question Plesk Mail Queue

    Hello,

    I sometimes check the mail queue in Plesk and see emails (non-spam) which are in the queue for more than a few hours, some of them stay there even for days. I'm worried because some emails seem to be important (account information, activation emails, etc.) and need to get delivered fast.

    Why does Plesk hold them in the queue so long? Is there any way to send all emails immediately?

    Thanks in advance.
    MaxterHostsimply different.
    cPanel Shared Hosting, WHM Reseller Accounts, Xen VPS Hosting & more
    10+ Years of Experience | Enhanced Security | 24x7 Support | 99.99% Uptime
    NEW:
    Pure SSD Hosting and CloudFlare Railgun™

  2. #2
    Join Date
    Mar 2003
    Location
    Saint Paul, MN
    Posts
    826
    You should check the mail logs and see why they're not being delivered. Often the domains aren't routeable, because of DNS problems or a simple typo in the address; it can also be because the recipient's mailbox is full, their account is suspended, or a host of other reasons, which should be discernable from the logs.

    You should be able to send the MTA a SIGHUP to make it process the queue anew, but that's no guarantee anything's going to actually get delivered.
    redpin.com - offering amazingly competent email, dns, and web hosting since 2002... because someone has to!
    Because Simple Things Should Be Simple - YouCANHasDNS

  3. #3
    Join Date
    Oct 2004
    Location
    Germany
    Posts
    347
    I checked the logs and, as you said, most of them weren't delivered because the email address was wrong or the domain unroutable. At first I thought Plesk limited the number of emails which get sent per hour.

    Solved. Thanks.
    MaxterHostsimply different.
    cPanel Shared Hosting, WHM Reseller Accounts, Xen VPS Hosting & more
    10+ Years of Experience | Enhanced Security | 24x7 Support | 99.99% Uptime
    NEW:
    Pure SSD Hosting and CloudFlare Railgun™

  4. #4
    Since Plesk uses qmail, it's actually an ALRM that is usually sent to the qmail-send process. A HUP may work as well, never tried it myself. One way to force a queue run would be via the command "qmailctl flush". You can also run /var/qmail/bin/qmail-tcpto to see the recent timeouts and number of retries.

    If you're interested in getting some more detailed information about your qmail logs, check out qmailanalog. An exmaple of using qmailanalog would look like this:

    PHP Code:
    cat /var/log/qmail/current | /usr/local/bin/tai64n2tai | /usr/local/qmailanalog/bin/matchup 5>/dev/null | /usr/local/qmailanalog/bin/zoverall less 
    You can also do /var/log/qmail/\@* as well as /var/log/qmail/current

    That will give you some information about the success/failure/deferral rates. You might also be interested in checking out the other z* commands in /usr/local/qmailanalog/bin/z*, such as zdeferrals, zfailures, zrecipients, and so on.

  5. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Posting Permissions

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