LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix don't sending/receiving anything (https://www.linuxquestions.org/questions/linux-server-73/postfix-dont-sending-receiving-anything-842991/)

Anilo 11-08-2010 04:38 AM

Postfix don't sending/receiving anything
 
Hi, i have one issue. Yesterday i run a postfix everything works fine and today it hangs up.
if i dial "telnet localhost 25" i get (before day i get 220 answer and ordinary hello):
Code:

Trying 62.197.207.43...
Connected to trons.sk.
Escape character is '^]'.

and nothing go far.
i havent firewall on, router is forwarding 25 port to 192.168.1.110
try to check my configs if i missed something:
sudo postconf -n:
Code:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
mydestination = trons.sk, trons, localhost.localdomain, localhost, mail.localdomain
mydomain = tronic.sk
myhostname = mail.trons.sk
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes

sudo netstat -tupan:
Code:

tcp        0      0 127.0.0.1:3306          0.0.0.0:*              LISTEN      1050/mysqld   
tcp        0      0 0.0.0.0:139            0.0.0.0:*              LISTEN      862/smbd       
tcp        0      0 0.0.0.0:80              0.0.0.0:*              LISTEN      1243/apache2   
tcp        0      0 127.0.0.1:7634          0.0.0.0:*              LISTEN      1057/hddtemp   
tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN      972/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*              LISTEN      6650/master   
tcp        0      0 0.0.0.0:445            0.0.0.0:*              LISTEN      862/smbd
tcp        0      0 192.168.1.110:25        192.168.1.1:55855      CONNECTED    -             
tcp        0      0 192.168.1.110:55855    62.197.207.43:25        CONNECTED    6854/telnet   
tcp        0      0 192.168.1.110:25        81.0.247.69:43282      CONNECTED    -             
tcp        1      0 192.168.1.110:25        81.0.247.69:42947      CLOSE_WAIT  -             
tcp        1      0 127.0.0.1:25            127.0.0.1:58115        CLOSE_WAIT  -

Thanks i very appriciated!

linuxlover.chaitanya 11-08-2010 05:10 AM

Your server seems to be running and listening. That is the escape sequence that you see. If you type Control key + ] you will get the telnet prompt.

Anilo 11-08-2010 05:23 AM

thanks for answer, yes it seems but i didn't get any SMTP response code 220, it just stuck at that escape line. Thats Wrong isn't it?


All times are GMT -5. The time now is 06:16 AM.