Perfect server - Centos 5.6 - ISPconfig 2

Discussion in 'HOWTO-Related Questions' started by helly88, May 10, 2011.

  1. helly88

    helly88 Member

    I've followed the tutorial and everything works great. I've got my mail up and running (installed squirrelmail). I've setup thunderbird to recive the mails too, the problem is sending mail from thunderbird. In the maillog I can see that thunderbird connects, then it just hangs until it timesout.

    I can telnet to the server from the same computer thunderbird is installed on.

    The server is a VPS with an older kernel...

    2.6.18-028stab068.9 #1 SMP Tue Mar 30 17:22:31 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux

    I got errors when I tried to install the "base" package. Everything else seems to work ok though..

    Any ideas? My guess is that my postfix configuration is off. But I've followed the guide all the way.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    getenforce
    ?
     
  3. helly88

    helly88 Member

    Thanks for a quick reply falko!
    And thank you so much for your effort in making these howtos!


    The output is: Disabled
     
  4. falko

    falko Super Moderator Howtoforge Staff

    That's ok. Are there any errors in your mail log?

    What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    iptables -L
    ?
     
  5. helly88

    helly88 Member

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 16038/mysqld
    tcp 0 0 *:hosts2-ns *:* LISTEN 24342/ispconfig_htt
    tcp 0 0 px08.net:domain *:* LISTEN 25640/named
    tcp 0 0 localhost.localdomai:domain *:* LISTEN 25640/named
    tcp 0 0 *:smtp *:* LISTEN 3511/master
    tcp 0 0 localhost.localdomain:rndc *:* LISTEN 25640/named
    tcp 0 0 *:dnp *:* LISTEN 17908/perl
    tcp 0 0 *:imaps *:* LISTEN 14036/imap-login
    tcp 0 0 *:pop3s *:* LISTEN 3642/pop3-login
    tcp 0 0 *:pop3 *:* LISTEN 3642/pop3-login
    tcp 0 0 *:imap *:* LISTEN 14036/imap-login
    tcp 0 0 *:http *:* LISTEN 7817/httpd
    tcp 0 0 *:ftp *:* LISTEN 25705/proftpd: (acc
    tcp 0 0 *:ssh *:* LISTEN 15917/sshd
    tcp 0 0 localhost6.localdomain:rndc *:* LISTEN 25640/named
    tcp 0 0 *:https *:* LISTEN 7817/httpd
    tcp 0 976 px08.net:ssh gatekeeper.alesund.ko:30061 ESTABLISHED 17995/0
    tcp 0 0 px08.net:imaps static140-139.mimer.n:49361 ESTABLISHED 9654/imap-login


    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT udp -- anywhere anywhere udp dpt:ftp-data
    ACCEPT udp -- anywhere anywhere udp dpt:ftp
    ACCEPT udp -- anywhere anywhere udp dpt:domain
    ACCEPT tcp -- anywhere anywhere tcp dpt:dnp
    ACCEPT tcp -- anywhere anywhere tcp dpt:ndmp
    ACCEPT tcp -- anywhere anywhere tcp dpt:https
    ACCEPT tcp -- anywhere anywhere tcp dpt:http
    ACCEPT tcp -- anywhere anywhere tcp dpt:imaps
    ACCEPT tcp -- anywhere anywhere tcp dpt:imap
    ACCEPT tcp -- anywhere anywhere tcp dpt:pop3s
    ACCEPT tcp -- anywhere anywhere tcp dpt:pop3
    ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data
    ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
    ACCEPT tcp -- anywhere anywhere tcp dpt:domain
    ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
    ACCEPT tcp -- anywhere anywhere tcp dpt:ssh

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Can you switch off the firewall for testing purposes?

    Did you check the mail log for errors?
     
  7. helly88

    helly88 Member

    I've stopped IPtables.

    The maillog says that my IP (home computer) connected, then it just times out. It's like thunderbird connects to the server, and then the server dosen't know what to do.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    What about the mail log?
     
  9. helly88

    helly88 Member

    As I typed above, thunderbirds connects then disconnects. No erros. Unless you mean another log then the maillog.log in /var/log/
     
  10. falko

    falko Super Moderator Howtoforge Staff

    That's the correct log.

    Is there some kind of router between your client PC and the server that might block your requests?

    Is the server located in a data center, or do you host it at home/in your office?
     
  11. helly88

    helly88 Member

    Yes, there's a router.

    The server is in a datacenter.

    The VPS runs on a virutozzo system. So the kernel is old. I could not install the "BASE package".

    I can connect via telnet to the box, and according to the maillog.log, the thunderbird client connects just fine.

    I'm thinking of just moving to another host that dosen't run viurtozzo, so that I can have my own "container" and run the newest kernel.
     

Share This Page