1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Mail gets stuck in queue

Discussion in 'Plesk for Linux - 8.x and Older' started by W2JGA, Mar 6, 2008.

  1. W2JGA

    W2JGA Guest

    For some reason, all mail from any domain gets stuck in the mail queue. I checked the mail error logs and it says something about not being able to connect to smtp. ??

    Though I can email all day long from Outlook Express, but anything from the server itself, won't get out of the queue. This includes enabling smtp on phpBB boards.

    I'm new to this, so please be gentle.
  2. dasmo

    dasmo Guest

    Can you try telnetting to a mail server? IE: look at one of the emails, check the recipient's email address, type dig domain.com mx get the 10 mx record and try to telnet on port 25 to that address. Might be that your nameservers aren't giving you responses, or you've got something blocking port 25 on the outbound. Also, have you checked to see if the missing messages are in the queue? Might want to do that first as maybe PHP is broken?
  3. W2JGA

    W2JGA Guest


    I can telnet to the server via port 25, I can compose a message, send it, but then I can see it in the mail queue. Stuck.

    DIG results...

    ; <<>> DiG 9.3.1 <<>> mydomain.net mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13022
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;mydomain.net. IN MX

    mydomain.net. 86400 IN MX 10 mail.mydomain.net.

    mydomain.net. 86400 IN NS ns1.mydomain.net.
    mydomain.net 86400 IN NS ns2.mydomain.net.

    mail.mydomain.net. 86400 IN A IP ADDRESS
    ns1.mydomain.net. 86400 IN A IP ADDRESS
    ns2.mydomain.net. 86400 IN A IP ADDRESS

    ;; Query time: 2 msec
    ;; SERVER:
    ;; WHEN: Fri Mar 7 13:21:42 2008
    ;; MSG SIZE rcvd: 133

    Like I said, I can send and recieve mail via Outlook Express, but anything coming from phpbb or internal like cron messages or whatever, it stays in the queue. I checked for error messages in phpBB 3, but I get none. When I purposely change a mail setting for smtp, then I get a error message in phpbb 3 error section.

    Though, this has never happened until I got upgraded to 8.3.

    Ok, more specifics....
    Outside source email, I can email into the server and rcv it via Outlook. If I were to send a msg via Outlook using the server email, then it gets stuck in the mail queue of Plesk.

    Anything else I can try. Thanks for the help so far!
  4. dasmo

    dasmo Guest

    download qmHandle and try qmHandle -a ?
  5. W2JGA

    W2JGA Guest

    qmHandle didn't help.

    Let's look at something else shall we...

    On the server settings page, I went into DNS settings, then DNS preferences, and I noticed that "Local Nets" was selected for allow recursion. So I changed this back to Any hosts, resetup my other empty domains, and installed phpBB on 2 of them. Email now works for those 2 that I just resetup with basic phpBB3 installation. The other website that I was mainly have trouble with, still shows problems with email. Should I dump that domain, and reinstall it since making changes to the DNS?

    Remember, Plesk 8.3 was just installed from scratch the other day. So, it's possible that some settings may not be changed correctly. Anything else that I might have missed during initial setup that would effect mail please point out.