mail not working at all (perfect set-up CentOS 5.3 x86_64)

Discussion in 'Installation/Configuration' started by kird03, Jul 16, 2009.

  1. kird03

    kird03 New Member

    I followed this guide for setting up ISPconfig 3
    http://www.howtoforge.com/perfect-server-centos-5.3-x86_64-ispconfig-3

    all is working fine, but when i wanted to work with e-mail i run into a problem.
    Webmail interface is working fine, but after sending mail, it goes to the sent-mail box, but nothing is ever delivered.

    I the mail que i find hundreds of entries like this:
    Code:
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    7A2D4541DE 766 Thu Jul 9 19:03:02 root
    dirkzdejong@yahoo.com
    
    C01A6540EB 225 Fri Jul 3 23:20:37 root
    root@localhost
    
    EEE3153FEB 753 Fri Jun 26 19:02:24 root
    xxxxxx@yahoo.com
    
    80ADC53F68 225 Tue Jun 23 16:00:44 root
    root@localhost
    
    A5B7953FFD 225 Fri Jun 26 23:50:40 root
    root@localhost
    
    540525415E 225 Mon Jul 6 19:00:41 root
    root@localhost
    
    293E95400F 225 Sat Jun 27 15:00:44 root
    root@localhost
    
    13D485411F 224 Sun Jul 5 02:00:40 root
    root@localhost
    
    3330054142 225 Sun Jul 5 23:25:38 root
    root@localhost
    
    58F2B540E0 766 Fri Jul 3 19:02:50 root
    xxxxxx@yahoo.com
    xxxxxx@yahoo.com shows in the real log my private e-mail, i used for testing.

    Mail log is completly empty
    Mail-warn log is empty.

    I have no clue about what is wrong, or where to start looking, i'v searched over the internet, but most problems with mail show errors in the maillog file. It seems nothing is happening.

    The services are started correctly, and with update script refreshed.

    Code:
    Server: apollo.youngwebsolutions.info
    State: ok
    0 unknown | 0 info | 0 warning | 0 critical | 0 error
    
    ok:
    The state of your Hard-Disk space is ok [More...]
    Your Virus-protection is ok [More...]
    Your Mailq load is ok [More...]
    Your Server load is ok [More...]
    All needed Services are online [More...]
    The System-Log is O.K. [More...]
    
    Code:
    Web-Server:  	Online
    FTP-Server: 	Online
    SMTP-Server: 	Online
    POP3-Server: 	Online
    IMAP-Server: 	Online
    myDNS-Server: 	Online
    mySQL-Server: 	Online
    any hints are welcome!
     
  2. till

    till Super Moderator

    Please psot the lines that get added to the mail log file when you try to send an email.
     
  3. kird03

    kird03 New Member

    when i go to /var/log/maillog it is completly empty, same goes voor maillog.1 maillog.2 maillog.3 etc
    mysqld.log does show entries, so i assume this is the correct location?
     
  4. falko

    falko Super Moderator

    Are you sending your emails as root?
    What's the output of
    Code:
    netstat -tap
    ?
    Did oyu disable SELinux?
     
  5. kird03

    kird03 New Member

    netstat -tap output:

    Code:
    [root@apollo ~]#netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:imaps                     *:*                         LISTEN      27231/couriertcpd
    tcp        0      0 *:pop3s                     *:*                         LISTEN      27249/couriertcpd
    tcp        0      0 young01:10024               *:*                         LISTEN      27154/amavisd (mast
    tcp        0      0 young01:10025               *:*                         LISTEN      27102/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      28264/mysqld
    tcp        0      0 *:pop3                      *:*                         LISTEN      27237/couriertcpd
    tcp        0      0 young01:dyna-access         *:*                         LISTEN      27177/clamd
    tcp        0      0 *:imap                      *:*                         LISTEN      27224/couriertcpd
    tcp        0      0 *:webcache                  *:*                         LISTEN      17093/httpd
    tcp        0      0 *:http                      *:*                         LISTEN      17093/httpd
    tcp        0      0 *:ndmp                      *:*                         LISTEN      1666/perl
    tcp        0      0 apollo.youngwebsolut:domain *:*                         LISTEN      27289/mydns
    tcp        0      0 young01:domain              *:*                         LISTEN      27289/mydns
    tcp        0      0 *:ftp                       *:*                         LISTEN      27275/pure-ftpd (SE
    tcp        0      0 *:ssh                       *:*                         LISTEN      1251/sshd
    tcp        0      0 *:smtp                      *:*                         LISTEN      27102/master
    tcp        0      0 apollo.youngwebsolutio:smtp ip16-196-210-:re-conn-proto SYN_RECV    -
    tcp        0      0 young01:smtp                young01:46627               SYN_RECV    -
    tcp        0    264 apollo.youngwebsolution:ssh ip16-196-210-87.a:adapt-sna ESTABLISHED 18686/0
    tcp        1      0 young01:smtp                young01:44548               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33541               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45833               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50443               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:44558               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33807               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50706               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:53270               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:47128               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:36891               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50716               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:54812               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38941               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:35359               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:54304               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:47651               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:53283               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38182               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-:portgate-auth CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45356               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:42540               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:60460               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:srdp CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55089               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:41522               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:42034               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38451               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:54579               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51254               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45367               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38199               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4203 CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:39229               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:39750               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-:avocent-adsap CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:48456               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:41544               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55113               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:37705               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33353               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:46671               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33362               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ads:drmsfsd CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:44376               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45922               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:40546               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38755               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:58214               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87:vvr-control CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:56935               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:57193               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:32875               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:52332               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55917               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:37745               CLOSE_WAIT  -
    tcp        0      0 apollo.youngwebsolutio:imap ip16-196-210-87.ad:polestar ESTABLISHED 26755/imapd
    tcp        1      0 young01:smtp                young01:60790               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:59254               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4128 CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87:ept-machine CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:36224               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210:ni-visa-remote CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50321               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51091               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33428               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:56212               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:ubxd CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:37015               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:58519               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:59290               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:nirp CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55709               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:48549               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4092 CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:41132               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38573               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:34479               CLOSE_WAIT  -
    tcp        0      1 young01:46627               young01:smtp                FIN_WAIT1   -
    tcp        0      0 young01:59528               young01:http                TIME_WAIT   -
    tcp        1      0 young01:smtp                young01:48315               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ad:sdbproxy CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51904               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:43458               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55239               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:32973               CLOSE_WAIT  -
    tcp        0      0 young01:50003               young01:ftp                 TIME_WAIT   -
    tcp        1      0 young01:smtp                young01:49370               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38875               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:47837               CLOSE_WAIT  -
    tcp        0      0 young01:54525               young01:domain              TIME_WAIT   -
    tcp        1      0 young01:smtp                young01:46307               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51684               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50918               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:41706               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:34794               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:36843               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ad:pxc-splr CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:56049               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:35315               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:36597               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:60667               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:48126               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:52479               CLOSE_WAIT  -
    [root@apollo ~]#
    
    SELinux is disabled:
    Code:
    [root@apollo sysconfig]#sestatus
    SELinux status:                 disabled
    
     
  6. falko

    falko Super Moderator

    And there's absolutely nothing in the mail log?
     
  7. dzudzu

    dzudzu New Member

    i would try postsuper -r ALL to just try recue all mail

    as for log, well dunno how come it's all empty...
     
  8. kird03

    kird03 New Member

    /var/log/maillog is 0 bytes, and date is from today, so it is empty for sure!

    I went one more time to my installation notices i made, and only error i found was with this instrucion:
    Code:
    mysqladmin -u root password yourrootsqlpassword
    mysqladmin -h server1.example.com -u root password yourrootsqlpassword
    the second instruction gave an error and i continued with the set-up and made a note of this.. Could this be of any reason?
    error:
    Code:
    [root@apollo log]#mysqladmin -h apollo.youngwebsolutions.info -u root password sql.starts
    mysqladmin: connect to server at 'apollo.youngwebsolutions.info' failed
    error: 'Access denied for user 'root'@'apollo.youngwebsolutions.info' (using password: NO)'
    [root@apollo log]
    
    The first instruction to set the sql password worked fine, and i can login to PhpMyAdmin with the password and ISPconfig seems to work also with it..
     
  9. dzudzu

    dzudzu New Member

    i had problem with second command also and in the end didn't even matter...so don't think that is the problem.

    Also take a look at /etc/syslog.conf file and see where your mail is loged at

    Should be like this

    # Log anything (except mail) of level info or higher.
    # Don't log private authentication messages!
    *.info;mail.none;authpriv.none;cron.none /var/log/messages


    # Log all the mail messages in one place.
    mail.* -/var/log/maillog
     
  10. kird03

    kird03 New Member

    here is content of syslog file, seems to me all is perfect...

    Code:
    # Log all kernel messages to the console.
    # Logging much else clutters up the screen.
    #kern.*                                                 /dev/console
    
    # Log anything (except mail) of level info or higher.
    # Don't log private authentication messages!
    *.info;mail.none;authpriv.none;cron.none                /var/log/messages
    
    # The authpriv file has restricted access.
    authpriv.*                                              /var/log/secure
    
    # Log all the mail messages in one place.
    mail.*                                                  -/var/log/maillog
    
    
    # Log cron stuff
    cron.*                                                  /var/log/cron
    
    # Everybody gets emergency messages
    *.emerg                                                 *
    
    # Save news errors of level crit and higher in a special file.
    uucp,news.crit                                          /var/log/spooler
    "/etc/syslog.conf" 26L, 694C
    
     
  11. falko

    falko Super Moderator

    This means that MySQL is using another hostname. Take a look at chapter 8 on http://www.howtoforge.com/perfect_server_opensuse10.3_p4 , starting with "As you've seen in the netstat output, MySQL is not only listening on localhost, but on all interfaces, which means it can be accessed from the outside."
     
  12. kird03

    kird03 New Member

    Ok, found an important clue in this subject (I think!)

    Although ISPconfig tells me that smtp server is online (see first post) I cannot telnet port 25.
    It times out on the external host
    It times out on localhost (when i first SSH to the server and from there telnet to port 25)

    Combined with the fact the log file of the mailserver is empty this is probably the cause of the problem.

    Questions that remain:
    - why is ISPconfig telling me the SMTP server is online
    - how to proceed with the error?
     
  13. falko

    falko Super Moderator

    Any errors in your mail log?
    What's the output of
    Code:
    netstat -tap
    ?
     
  14. kird03

    kird03 New Member

    see my first post of this treat. The maillog file is totally empty, indicating something is wrong?!

    output of netstat is as follows:
    Code:
    [root@apollo ~]#netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:imaps                     *:*                         LISTEN      27231/couriertcpd
    tcp        0      0 *:pop3s                     *:*                         LISTEN      27249/couriertcpd
    tcp        0      0 young01:10024               *:*                         LISTEN      27154/amavisd (mast
    tcp        0      0 young01:10025               *:*                         LISTEN      27102/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      28264/mysqld
    tcp        0      0 *:pop3                      *:*                         LISTEN      27237/couriertcpd
    tcp        0      0 young01:dyna-access         *:*                         LISTEN      27177/clamd
    tcp        0      0 *:imap                      *:*                         LISTEN      27224/couriertcpd
    tcp        0      0 *:webcache                  *:*                         LISTEN      14761/httpd
    tcp        0      0 *:http                      *:*                         LISTEN      14761/httpd
    tcp        0      0 *:ndmp                      *:*                         LISTEN      1666/perl
    tcp        0      0 apollo.youngwebsolut:domain *:*                         LISTEN      27289/mydns
    tcp        0      0 young01:domain              *:*                         LISTEN      27289/mydns
    tcp        0      0 *:ftp                       *:*                         LISTEN      27275/pure-ftpd (SE
    tcp        0      0 *:ssh                       *:*                         LISTEN      1251/sshd
    tcp        0      0 *:smtp                      *:*                         LISTEN      27102/master
    tcp        1      0 young01:smtp                young01:44548               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33541               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45833               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50443               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:44558               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50706               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:53270               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:47128               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:36891               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:54812               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38941               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:35359               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:54304               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:47651               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:53283               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38182               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-:portgate-auth CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45356               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:42540               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:60460               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55089               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:41522               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:42034               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38451               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:54579               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51254               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45367               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38199               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4203 CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:39229               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:39750               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-:avocent-adsap CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:48456               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:41544               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55113               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:37705               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33353               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33362               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ads:drmsfsd CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:44376               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:45922               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:40546               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38755               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:58214               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87:vvr-control CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:56935               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:57193               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:52332               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55917               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:37745               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:60790               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:59254               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4128 CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87:ept-machine CLOSE_WAIT  -
    tcp        0   8108 apollo.youngwebsolution:ssh a80-101-51-26.adsl.xs:52323 ESTABLISHED 1017/0
    tcp        1      0 young01:smtp                young01:36224               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210:ni-visa-remote CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50321               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51091               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:33428               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:56212               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:ubxd CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:58519               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:59290               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:nirp CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55709               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:48549               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4092 CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:41132               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:38573               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:34479               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:48315               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ad:sdbproxy CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51904               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:43458               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:55239               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:32973               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:49370               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:47837               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:46307               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:51684               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:50918               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:34794               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:36843               CLOSE_WAIT  -
    tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ad:pxc-splr CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:56049               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:35315               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:36597               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:60667               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:48126               CLOSE_WAIT  -
    tcp        1      0 young01:smtp                young01:52479               CLOSE_WAIT  -
    [root@apollo ~]#
    
    In a retry i was able to telnet to port 25, but i got nothing 'normal' like a helo message, just an escape message:
    Code:
    [root@apollo ~]#telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    
    This is not wat i suspect when telnetting to a mailserver!
     
  15. falko

    falko Super Moderator

    And there's still nothing in your mail log?
    What's the output of
    Code:
    ls -la /var/log/
    ?
     
  16. kird03

    kird03 New Member

    Output of ls -la /var/log

    Code:
    [root@apollo ~]#ls -la /var/log/
    total 14244
    drwxr-xr-x  7 root   root       4096 Jul 28 04:02 .
    drwxr-xr-x 27 root   root       4096 Jul 15 11:33 ..
    -rw-------  1 root   utmp   13539072 Jul 28 14:00 btmp
    drwxr-xr-x  2 clamav clamav     4096 Jul 26 04:02 clamav
    -rw-r--r--  1 root   root     409017 Jul 26 04:02 denyhosts
    -rw-r--r--  1 root   root       5775 Jul 15 11:54 dmesg
    -rw-------  1 root   root          0 Jun 14 18:02 fail2ban.log
    -rw-------  1 root   root     160160 Jul 15 11:33 faillog
    drwx------  2 root   root       4096 Jul 26 04:02 httpd
    drwxr-xr-x  3 root   root       4096 Jul 17 05:19 ispconfig
    -rw-r--r--  1 root   root      75262 Jul 15 12:10 ispconfig_install.log
    -rw-r--r--  1 root   root    1461460 Jul 29 03:16 lastlog
    -rw-r--r--  1 root   root          0 Jul 26 04:02 maillog
    -rw-r--r--  1 root   root          0 Jul 19 04:02 maillog.1
    -rw-r--r--  1 root   root          0 Jul 12 04:02 maillog.2
    -rw-r--r--  1 root   root          0 Jul  5 04:02 maillog.3
    -rw-r--r--  1 root   root          0 Jun 28 04:02 maillog.4
    -rw-r--r--  1 root   root          0 Jul 26 04:02 messages
    -rw-r--r--  1 root   root          0 Jul 19 04:02 messages.1
    -rw-r--r--  1 root   root          0 Jul 12 04:02 messages.2
    -rw-r--r--  1 root   root          0 Jul  5 04:02 messages.3
    -rw-r--r--  1 root   root          0 Jun 28 04:02 messages.4
    -rw-r-----  1 mysql  mysql     18861 Jul 15 12:30 mysqld.log
    drwxr-xr-x  2 root   root       4096 Jun 14 15:18 pm
    drwxr-xr-x  2 root   root       4096 Jun 19 04:02 prelink
    -rw-------  1 root   root          0 Jun 21 04:02 pureftpd.log
    -rw-------  1 root   root      75757 Jun 18 10:23 pureftpd.log.1
    -rw-r--r--  1 root   root      23727 Jul 28 04:02 rpmpkgs
    -rw-r--r--  1 root   root      23697 Jul 25 04:02 rpmpkgs.1
    -rw-r--r--  1 root   root      23697 Jul 18 04:02 rpmpkgs.2
    -rw-r--r--  1 root   root      23325 Jul 11 04:02 rpmpkgs.3
    -rw-r--r--  1 root   root      23325 Jul  4 04:02 rpmpkgs.4
    -rw-r--r--  1 root   root          0 Jun 18 06:06 sa-update.log
    -rw-------  1 root   root          0 Jul 26 04:02 secure
    -rw-------  1 root   root          0 Jul 19 04:02 secure.1
    -rw-------  1 root   root          0 Jul 12 04:02 secure.2
    -rw-------  1 root   root          0 Jul  5 04:02 secure.3
    -rw-------  1 root   root          0 Jun 28 04:02 secure.4
    -rw-------  1 root   root          0 Jul 26 04:02 spooler
    -rw-------  1 root   root          0 Jul 19 04:02 spooler.1
    -rw-------  1 root   root          0 Jul 12 04:02 spooler.2
    -rw-------  1 root   root          0 Jul  5 04:02 spooler.3
    -rw-------  1 root   root          0 Jun 28 04:02 spooler.4
    -rw-------  1 root   root          0 Jun 14 15:21 tallylog
    -rw-rw-r--  1 root   utmp     159360 Jul 29 03:16 wtmp
    -rw-r--r--  1 root   root      37653 Jul 26 23:59 yum.log
    [root@apollo ~]#
    
    a log rotation file is created every week, but the size stays zero, so nothing is logged in my opion. File is really empty, when opening with VI it's an empty file.
     
  17. falko

    falko Super Moderator

    Hm, then I'm at my wit's end... :(
     
  18. kird03

    kird03 New Member

    well.. as soon as i have some time, i might just gonna go over the whole thing once more, and redo the mail server part of the how-to, or try to get it working with webmin configuration or somehthing like that..

    I'm lost as welll
     

Share This Page