Постфикс, почта отправки проблемы Голубятни от клиента

Я имею, устанавливают почтовый сервер с человечностью, постфиксом, голубятней и mysql.

Tryng для отправки почты от почты веб-интерфейса выходит без любого неудобства. При попытке почтовым клиентом от моего ноутбука (использующий Интернет) я не могу. Я получаю эту ошибку:

13 февраля почтовый postfix/submission/smtpd[13066] 11:44:48: предупреждение: неизвестное smtpd ограничение: "permit_sasl_autenticated"

и следующая строка:

13 февраля почтовый postfix/submission/smtpd[13066] 11:44:48: NOQUEUE: отклонение: ПРИЕМ от неизвестного [37.176.162.9]: 451 4.3.5 ошибки конфигурации Сервера; от = до = proto=ESMTP привет = <[192.168.0.100]>

Эта вторая строка является моим сообщением, отклоняемым сервером.

Я проверил/etc/postfix/main.cf, и моя конфигурация TLS следующая:

# TLS parameters
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
#smtpd_use_tls=yes
#smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_tls_cert_file=/etc/dovecot/cert.pem smtpd_tls_key_file=/etc/dovecot/private/cert.pem smtpd_use_tls=yes smtpd_tls_auth_only = yes

#Enabling SMTP for authenticated users, adn handing off autentication to Dovecot smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes

smtpd_recipient_restrictions =
        permit_sasl_authenticated,
        permit_mynetworks,
        reject_unauth_destination

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination

Поскольку Вы видите, что нет a permit_sasl_autenticated нигде (и нет в целом файле).

Что продолжается? МОЖНО ЛИ помочь мне решить это?

РЕДАКТИРОВАНИЕ - добавило более полный раздел моего журнала:

Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: warning: hostname 217-221-73-77-static.albacom.net does not resolve to address 217.221.73.77: Name or service not known
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: connect from unknown[217.221.73.77]
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: disconnect from unknown[217.221.73.77]
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: warning: hostname 217-221-73-77-static.albacom.net does not resolve to address 217.221.73.77: Name or service not known
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: connect from unknown[217.221.73.77]
Feb 13 11:27:23 mail postfix/trivial-rewrite[12501]: warning: do not list domain montglane.it in BOTH mydestination and virtual_mailbox_domains
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: warning: unknown smtpd restriction: "permit_sasl_autenticated"
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: NOQUEUE: reject: RCPT from unknown[217.221.73.77]: 451 4.3.5 Server configuration error; from=<lelio@montglane.it> to=<lelio.faieta@gmail.c$
Feb 13 11:27:23 mail postfix/cleanup[12503]: D9AF313ED0D: message-id=<20170213102723.D9AF313ED0D@mail.montglane.it>
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: disconnect from unknown[217.221.73.77]
Feb 13 11:27:23 mail postfix/oqmgr[3096]: D9AF313ED0D: from=<double-bounce@mail.montglane.it>, size=1329, nrcpt=1 (queue active)
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: warning: hostname 217-221-73-77-static.albacom.net does not resolve to address 217.221.73.77: Name or service not known
Feb 13 11:27:23 mail postfix/submission/smtpd[12499]: connect from unknown[217.221.73.77]
Feb 13 11:26:49 mail dovecot: message repeated 3 times: [ auth: Warning: auth client 0 disconnected with 1 pending requests: EOF]
Feb 13 11:27:23 mail dovecot: lmtp(12507): Connect from local
Feb 13 11:27:24 mail dovecot: lmtp(12507, postmaster@liveslowsailfast.com): eXI0OAuKoVjbMAAAiLNN4A: msgid=<20170213102723.D9AF313ED0D@mail.montglane.it>: saved mail to INBOX
Feb 13 11:27:24 mail dovecot: lmtp(12507): Disconnect from local: Successful quit
Feb 13 11:27:24 mail postfix/lmtp[12506]: D9AF313ED0D: to=<postmaster@liveslowsailfast.com>, orig_to=<postmaster>, relay=mail.montglane.it[private/dovecot-lmtp], delay=0.15, delays=0.04/0.01/0.$
Feb 13 11:27:24 mail postfix/oqmgr[3096]: D9AF313ED0D: removed
Feb 13 11:27:24 mail postfix/submission/smtpd[12499]: warning: unknown smtpd restriction: "permit_sasl_autenticated"
Feb 13 11:27:24 mail postfix/submission/smtpd[12499]: NOQUEUE: reject: RCPT from unknown[217.221.73.77]: 451 4.3.5 Server configuration error; from=<lelio@montglane.it> to=<lelio.faieta@gmail.c$
Feb 13 11:27:24 mail postfix/cleanup[12503]: 2A96D13ED0D: message-id=<20170213102724.2A96D13ED0D@mail.montglane.it>
Feb 13 11:27:24 mail postfix/oqmgr[3096]: 2A96D13ED0D: from=<double-bounce@mail.montglane.it>, size=1329, nrcpt=1 (queue active)
Feb 13 11:27:24 mail postfix/submission/smtpd[12499]: disconnect from unknown[217.221.73.77]
Feb 13 11:27:24 mail dovecot: lmtp(12507): Connect from local
Feb 13 11:27:24 mail dovecot: lmtp(12507, postmaster@liveslowsailfast.com): fXI0OAuKoVjbMAAAiLNN4A: msgid=<20170213102724.2A96D13ED0D@mail.montglane.it>: saved mail to INBOX
Feb 13 11:27:24 mail postfix/lmtp[12506]: 2A96D13ED0D: to=<postmaster@liveslowsailfast.com>, orig_to=<postmaster>, relay=mail.montglane.it[private/dovecot-lmtp], delay=0.09, delays=0.02/0/0/0.0$
Feb 13 11:27:24 mail dovecot: lmtp(12507): Disconnect from local: Successful quit
Feb 13 11:27:24 mail postfix/oqmgr[3096]: 2A96D13ED0D: removed
0
задан 13 February 2017 в 04:35

1 ответ

Добавьте Ваш аутентификация метод к Вашему /etc/master.cf файл. Ищите запись, подобную этому:

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
-o content_filter=spamassassin
#smtp      inet  n       -       -       -       1       postscreen
#smtpd     pass  -       -       -       -       -       smtpd
#dnsblog   unix  -       -       -       -       0       dnsblog
#tlsproxy  unix  -       -       -       -       0       tlsproxy
submission inet n       -       -       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#  -o syslog_name=postfix/smtps
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING

После внесения изменений в Вашу Постфиксную конфигурацию убедиться перезапустить сервис.

1
ответ дан 6 November 2019 в 23:54

Другие вопросы по тегам:

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