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

Mails do not get send in time

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Christian Ratzlaff, Apr 22, 2010.

  1. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    Hi there,
    i'm new to all this and have to use plesk because of my provider installed it as default :)
    I have a problem with my mailserver...
    Mail do not get send in time even though the server is idle (max 1%-2% util). Somewhen it get's send but that's really... annoying :) I found some mails in the queue that have been there for days.
    there's currently a passwort reminder mail which has been there for about 30 minutes and i don't have any idea how to get the mailserver to send the mails faster :)

    kind regards

    Christian
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    It is very difficult to say why you have such delays. Plesk maillog /usr/local/psa/var/log/maillog should be investigated. Also try to rebuild mailsettings with

     
  3. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    What exactly happens with that line? As which user shall I run it?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Run it as root. Contact support team if you are not familiar with unix command line interface.
     
  5. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    I am ;)
    The question is, what will get reset by using this... will only the mailconfig be writte new? Or will all mailaccounts get reset?
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    # /usr/local/psa/admin/sbin/mchk --help
    Restore settings for all mailboxes.
    Usage: /usr/local/psa/admin/sbin/mchk [OPTION]

    OPTIONS:
    --without-spam restore all settings except for SpamAssassin configuration
    --with-spam restore all settings
    --spam-only restore only SpamAssassin settings
     
  7. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    Oh...that's for the mailboxes?
    I'm not sure that's what I need.. The mailboxes work fine... I can recieve mails ... The Problem is the sending.. part.. and it does not matter if it's via a mailbox or just directly via php or whatever...
     
  8. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    I had the chanec to take a look into the logfile:

    Code:
    2010-04-22T18:23:48.284647+02:00 h1597472 qmail: 1271953428.284574 delivery 43: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
    i guess, that's a problem :( But i'm not sure, how to solve it.. I will now try to run the statement above.
     
  9. KhawaibA

    KhawaibA New Pleskian

    15
    60%
    Joined:
    Apr 21, 2010
    Messages:
    3
    Likes Received:
    0
    Mail in the queue for many days

    Hi,

    I am having similar problem on my Plesk 9.5.1 with Webfusion.

    Mail stays in queue for many days. I have account activation sitting in there for last 6 days.

    I tried
    # /usr/local/psa/admin/sbin/mchk --with-spam

    ==> Checking for: mail_spam_restore... ok
    ==> Checking for: mailsrv_conf_init... fail

    Thanks
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    http://kb.odin.com/en/1398
     
  11. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    So I took a look into the KB article.
    Mail sending is enabled for all IP adresses in PLESK
    Firewall allows all outgoing traffic.

    The last hint is about some DNS thing? I did a nslookup to the main domain where the mail is sent from. and it's unlikely that port 25 is blocked. That'd have caused troubles with other customers of this VERY big provider (which btw. says this is a plesk problem and you have to help me )
     
  12. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    Oh i found more:

    010-04-24T23:30:11.685226+02:00 h1597472 qmail: 1272144611.685172 delivery 20: failure: Sorry,_I_couldn't_find_any_host_named_h1597472.h1597472._(#5.1.2)/

    that's correct. The hostname is actually: h1597472.stratoserver.net (no idea where the one it wants to reach comes from)

    oh and more:

    2010-04-24T23:30:11.805126+02:00 h1597472 qmail-local-handlers[17419]: Handlers Filter before-local for qmail started ...
    2010-04-24T23:30:11.805262+02:00 h1597472 qmail-local-handlers[17419]: cannot create temporary file - (13) Permission denied
    2010-04-24T23:30:11.805304+02:00 h1597472 qmail-local-handlers[17419]: cannot read message from stdin

    i'm not sure if that's a followup of the host thing?
     
  13. Christian Ratzlaff

    Christian Ratzlaff Guest

    0
     
    This is still an issue :/

    Two mails got send from the queue today.. but on is still there:
    mail-queue-remote.gif [] PASSWORD RESET April 22, 2010 08:46 AM 6 Tag(e) 01:51:30 728 Bytes

    so it's there for > 6 days :/
     
Loading...