View Single Post
  #7  
Old 20th March 2011, 13:32
saco721 saco721 is offline
Member
 
Join Date: Feb 2010
Posts: 63
Thanks: 15
Thanked 1 Time in 1 Post
Default

Hi Falko,

I have checked mail.log on my webserver and it is empty, I run netstat -tap and get :

Quote:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 2259/mysqld
tcp 0 0 *:49422 *:* LISTEN 1969/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1955/portmap
tcp 0 0 *:ftp *:* LISTEN 2676/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 2182/sshd
tcp 0 0 localhost:smtp *:* LISTEN 2654/exim4
tcp 0 52 web.example.com:ssh 80.155.234.221:3333 ESTABLISHED 2804/sshd: administ
tcp 0 0 localhost:35283 localhost:www TIME_WAIT -
tcp 0 0 web.example.com:mysql ns0.example.com:52719 TIME_WAIT -
tcp 0 0 web.example.com:mysql ns1.example.com:45903 TIME_WAIT -
tcp 0 0 localhost:55190 localhost:ftp TIME_WAIT -
tcp6 0 0 [::]:http-alt [::]:* LISTEN 2731/apache2
tcp6 0 0 [::]:www [::]:* LISTEN 2731/apache2
tcp6 0 0 [::]:tproxy [::]:* LISTEN 2731/apache2
tcp6 0 0 [::]:ftp [::]:* LISTEN 2676/pure-ftpd (SER
tcp6 0 0 [::]:ssh [::]:* LISTEN 2182/sshd
tcp6 0 0 [::]:https [::]:* LISTEN 2731/apache2
mail.log on my mail server is quite full, the only thing I could find is :

Quote:
Mar 18 17:09:51 mail postfix/smtpd[6367]: NOQUEUE: reject: RCPT from web.example.com[192.168.1.1]: 554 5.7.1 <wefawsd@yahoo.co.uk>: Relay access denied; from=<fred@example.com> to=<wefawsd@yahoo.co.uk> proto=ESMTP helo=<mail.example.com>
Do you need the entire log?

The output of netstat -tap on my mail server is :

Quote:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:39328 *:* LISTEN 1664/rpc.statd
tcp 0 0 *:imaps *:* LISTEN 2562/dovecot
tcp 0 0 *op3s *:* LISTEN 2562/dovecot
tcp 0 0 localhost:10024 *:* LISTEN 1897/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 2531/master
tcp 0 0 localhost:mysql *:* LISTEN 1957/mysqld
tcp 0 0 *op3 *:* LISTEN 2562/dovecot
tcp 0 0 *:imap2 *:* LISTEN 2562/dovecot
tcp 0 0 localhost:spamd *:* LISTEN 2058/spamd.pid
tcp 0 0 *:sunrpc *:* LISTEN 1653/portmap
tcp 0 0 *:ssh *:* LISTEN 1870/sshd
tcp 0 0 *:smtp *:* LISTEN 2531/master
tcp 0 52 mail.example.com:ssh 80.155.234.222:3334 ESTABLISHED 2712/sshd: administ
tcp 0 0 mail.example.com:43128 web.example.com:mysql TIME_WAIT -
tcp6 0 0 [::]:ssh [::]:* LISTEN 1870/sshd
Thanks!
Reply With Quote