* arsen.shnurkov <arsen.shnur...@gmail.com> [2013-02-02 08:00:28 +0400]:
> When I try to start, it writes "ok":
> 
> |  # /etc/init.d/postfix start
>  * Starting postfix  ...                                                      
>                                                                           [ 
> ok ]
> |
> 
> but 25-th port is not opened:
> 
> |# ss -4l
> State      Recv-Q Send-Q                                             Local 
> Address:Port                                                 Peer Address:Port
> LISTEN     0      50                                                     
> 127.0.0.1:mysql                                                           *:*
> LISTEN     0      128                                                         
>    *:pop3                                                            *:*
> LISTEN     0      128                                                         
>    *:imap                                                            *:*
> LISTEN     0      128                                                         
>    *:http                                                            *:*
> LISTEN     0      128                                                         
>    *:ssh                                                             *:*
> LISTEN     0      128                                                         
>    *:https                                                           *:*
> |
> 
> |I allowed all interfaces:
> 
> # postconf -n | grep inet
> inet_interfaces = all
> inet_protocols = ipv4
> |
> 
> # grep «smtp» /etc/postfix/master.cf
> 
> |smtp      inet  n       -       n       -       -       smtpd -v
> smtp      unix  -       -       n       -       -       smtp
> relay     unix  -       -       n       -       -       smtp
>         -o smtp_fallback_relay=

Have you enabled the "smtpd" line in the master.cf file - for incoming 
connections:

smtp    inet    n       -       n       -       -       smtpd

This is what enables the smtpd(8) daemon to listen for incoming tcp/25 
connections

Reply via email to