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

SMTP will not start HELP!!!

Discussion in 'Plesk for Linux - 8.x and Older' started by stockmaster, Jun 16, 2008.

  1. stockmaster

    stockmaster Guest

    0
     
    Hi

    I tried to start SMTP but it is still red. So I can't send Emails from Outlook or Horde. I read a lot of threads, but nothing worked out.

    I restartet services but still on success

    Starting INET services. (xinetd) done
    d793:/ # service xinetd restart
    Shutting down xinetd: done
    Starting INET services. (xinetd) done
    d793:/ # /etc/init.d/qmail start
    Starting qmail: done

    Is there any solution for this problem? Please help!

    Plesk version psa v8.3.0_build83080131.20 os_SuSE 10.2
    Operating system Linux 2.6.18.2-34-bigsmp

    Heinz
     
  2. wsani

    wsani Silver Pleskian

    28
    40%
    Joined:
    Mar 4, 2005
    Messages:
    509
    Likes Received:
    0
    Did you try to restart qmail?
     
  3. stockmaster

    stockmaster Guest

    0
     
    Yes, and it looks like smtp ist running !?!?

    But when I lry to connect via telnet it refuses.

    d793:/etc/init.d # /usr/local/psa/admin/bin/mailmng --start-smtpd
    d793:/etc/init.d # /etc/init.d/qmail start
    Starting qmail: done
    d793:/etc/init.d # /etc/init.d/qmail status
    d793:/etc/init.d # telnet mail.wowoyo.ch 25
    Trying 80.86.201.154...
    telnet: connect to address 80.86.201.154: Connection refused
    d793:/etc/init.d #

    No clue what's going on?
     
  4. wsani

    wsani Silver Pleskian

    28
    40%
    Joined:
    Mar 4, 2005
    Messages:
    509
    Likes Received:
    0
    It's difficult to say from my end. You can try to kill all of the processes first. So, try something like service qmail stop first.

    You can then try running something like ps -ef | grep qmail and see if there are any processes running still. If there are, then kill those first. Then try starting qmail using service qmail start.

    That said, this may be also an issue with iptables or some application firewall blocking you. I don't know because I'm not familiar with your server :)

    Worse case scenario, you can try to reboot but this is Linux, you shouldn't have to do unless absolutely necessary!
     
  5. stockmaster

    stockmaster Guest

    0
     
    I did as you told and killed all processes. Then I started qmail again.
    -----------
    d793:/etc/init.d # ps -ef | grep qmail
    root 8279 5426 0 16:33 pts/0 00:00:00 grep qmail
    d793:/etc/init.d # /etc/init.d/qmail status
    d793:/etc/init.d # /usr/local/psa/admin/bin/mailmng --start-smtpd
    d793:/etc/init.d # ps -ef | grep qmail
    qmails 8543 1 0 16:34 ? 00:00:00 qmail-send
    qmaill 8545 8543 0 16:34 ? 00:00:00 splogger qmail
    root 8546 8543 0 16:34 ? 00:00:00 qmail-lspawn | /usr/bin/deliverquota ./Maildir
    qmailr 8547 8543 0 16:34 ? 00:00:00 qmail-rspawn
    qmailq 8548 8543 0 16:34 ? 00:00:00 qmail-clean
    root 8617 5426 0 16:34 pts/0 00:00:00 grep qmail
    d793:/etc/init.d # telnet mail.wowoyo.ch 25
    Trying 80.86.201.154...
    telnet: connect to address 80.86.201.154: Connection refused
    ----------------

    But still I can't connect, although I stopped the firewall. I am in deep trouble,, when I can't fix this.
     
  6. wsani

    wsani Silver Pleskian

    28
    40%
    Joined:
    Mar 4, 2005
    Messages:
    509
    Likes Received:
    0
    Have you tried port 587? Not that it makes a difference but just in case.
     
  7. stockmaster

    stockmaster Guest

    0
     
    Port 587 is the same result!
     
  8. wsani

    wsani Silver Pleskian

    28
    40%
    Joined:
    Mar 4, 2005
    Messages:
    509
    Likes Received:
    0
    Argh! Okay, you have to look a the log files: /var/log/messages and /var/log/psa/maillog

    tail both of those, see if there are any errors related to the mail.
     
  9. stockmaster

    stockmaster Guest

    0
     
    There are no errors reportet.
     
  10. stockmaster

    stockmaster Guest

    0
     
    Halleluiah

    I found the error and this could be the solution for some of the other problems too.

    I ran dos2unix on the smtp_psa and smtps_psa, because I edited them using a windows tool.

    Now everything is working fine!!

    Thanks for your assist stance.
     
Loading...