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 isn't working / responding / ...? Big problem.

Discussion in 'Plesk for Linux - 8.x and Older' started by thastudio, Feb 14, 2006.

  1. thastudio

    thastudio Guest

    0
     
    Hello

    My clients were complaining that there mail wasn't working correctly. Some mails only arrived after three days...

    What did I do:
    - reinstalled qmail rpm's
    - reinstalled courier-imap rpm's
    - removed watchdog
    - removed drweb

    Result? All the mail services are running, you can connect to check mail, but no single mail is handled by the server.

    On dnsreport.com I can see he can't connect to my mail server.

    What is wrong? All services are running, I just can't find it...


    Thanks in advance
    Niels
     
  2. EBHAUK

    EBHAUK Guest

    0
     
    You say you can connect to download mail, but dnsreport says it can't connect to your mailserver. Small contradiction, but it gives us a good place to start.

    What mail server address are you using to successfully connect? If its mail.somedomain.com and there is an A Record for this in the domains DNS zone, then that explains how you can connect OK.

    However, if mail is not being routed to the defined mail server it sounds like a problem with the MX Record.

    If this is no help, post what you have in the DNS Zone and indicate what dnsreport can't connect to.

    This is always assuming that you are managing dns locally.
     
  3. thastudio

    thastudio Guest

    0
     
    I have one MX record that is directing to the IP of my server, and everything looks fine on dnsreport only the last step: connecting to mail servers.

    The dnsreport result: click here

    But if I look in my log file, I see the times I connected to my server but I don't see errors:
     
  4. thastudio

    thastudio Guest

    0
     
    Very strange, this is what I get after a forced reinstallation of qmail:

    First he sais that qmail is started: 'ok', but the status is 'stopped'?! But in Plesk it looks like everything is running.


    Thanks
     
  5. wagnerch

    wagnerch Guest

    0
     
    Try this command:

    /var/qmail/bin/qmail-qstat

    If there is much more than 100 or so messages in queue then I would suspect you have a big problem. Let us know the result.
     
  6. thastudio

    thastudio Guest

    0
     
    I hope I haven't a big problem, the result is positive:
     
  7. wagnerch

    wagnerch Guest

    0
     
    It looks like your SMTP and POP3 server is running on barnoir.be (87.230.2.119).

    Keep in mind downloading mail and sending mail are seperate daemons and seperate protocols. Qmail specifically handles SMTP which is your outbound client mail (if you allow them to relay through your server -- probably not) and inbound server-to-server mail. Clients (Outlook) typically pull mail using POP3 and send it using SMTP.

    Are you still having problems with your mail? Also take a look at /usr/local/psa/var/log/maillog and look for "qmail:" entries, not "pop3d:" entries. See if there is anything unusual there.
     
  8. thastudio

    thastudio Guest

    0
     
    This is the result after changing the names of: smtp.psa and smtps.psa to smtp_psa and smtps_psa AND a reboot:

    The mails are slowly coming in so I hope that stupid name was the problem. But very strange that I never edited it to a point and still it's renamed...

    One last strange fact is that dnsreport still can't connect to the mail server... But I'm receiving mail, so I can ignore that, can't I?


    Thanks
     
  9. wagnerch

    wagnerch Guest

    0
     
    That's odd, they are normally named smtp_psa on Plesk 7.5.4. Are you using an older version of Plesk? Perhaps there is a compatibility issue there with xinetd
     
  10. thastudio

    thastudio Guest

    0
     
    No I'm using the last version of Plesk. But I've read in the forum that watchdog changes the name sometimes... That's also why I had conflicts with mail when watchdog was installed (I suppose)...
     
  11. wagnerch

    wagnerch Guest

    0
     
    I'm glad I didn't install watchdog then :). It seems to me that if your services are dying you have a bigger issue. I rarely have seen issues that warrant a watchdog process, oh well.
     
Loading...