проблема с настройкой почтового сервера в centOS [закрыто]

Я следовал этому руководству: http://www.linuxmail.info/ , чтобы установить почтовый сервер на CentOS 6. Все шло нормально, пока я не достиг этот раздел: http://www.linuxmail.info/ . Когда я пытаюсь подключиться к своему доменному имени через SMTP, мне отказывают в подключении, но я использую pop3, я подключаюсь к dovecot нормально.

0
задан 8 August 2012 в 07:28
2 ответа

There are more official-ish docs on the CentOS wiki:

http://wiki.centos.org/HowTos/postfix

http://wiki.centos.org/HowTos/postfix_sasl

Probably a few others.

There could be a number of things that are wrong. One in particular is your ISP blocking port 25 traffic as an anti-spam measure. In that case, you should be using the SMTP submission port (587) for Postfix, or SMTPS (SSL-enabled SMTP) on port 465.

Verify that Postfix is listening to the public interface, e.g., netstat -pant |grep ":25".

If it's a SASL authentication issue, check your logs.

update

From the netstat output in the comments, it looks like Postfix is only listening to localhost.

Look at CentOS Wiki's Postfix configuration guide for the available options. In particular, you want to set inet_interfaces = all from whatever the default is in /etc/postfix/main.cf and reload.

1
ответ дан 23 November 2019 в 10:36

doublecheck mynetworks you should include here your local network with netmask or the server probably will relay only emails from localhost

mynetworks = 127.0.0.0/8
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =  permit_mynetworks, 
    permit_sasl_authenticated, 
    reject_unauth_destination
broken_sasl_auth_clients = yes
0
ответ дан 23 November 2019 в 10:36

Теги

Похожие вопросы