NOQUEUE: reject: RCPT Relay отказано в доступе к AWS Ubuntu - PullRequest
0 голосов
/ 30 сентября 2018

Я установил Postfix на AWS Ubuntu (18.04).Когда я пытаюсь отправить электронную почту с моего EmailId на настроенный почтовый сервер postfix, например, ceo@visitormanagementsystem.co.in, получаю журнал ниже:

30 сентября 15:12:05 mailer postfix / smtpd [17712]: соединение с mail-pg1-f178.google.com [209.85.215.178] 30 сентября 15:12:06 mailfix postfix / smtpd [17712]: NOQUEUE: отклонить: RCPT от mail-pg1-f178.google.com [209.85.215.178]: 454 4.7.1: доступ к реле запрещен;from = to = proto = ESMTP helo =

Мой /etc/postfix/mail.cf имеет следующую конфигурацию:

smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
biff = no
append_dot_mydomain = no
readme_directory = no
mailbox_size_limit = 0
recipient_delimiter = + .
inet_interfaces = all
inet_protocols = all
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
compatibility_level = 2
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = mailer.visitormanagementsystem.co.in
myorigin = /etc/mailname
mydestination = $myhostname, mailer.visitormanagementsystem.co.in, localhost.visitormanagementsystem.co.in, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

1 Ответ

0 голосов
/ 01 октября 2018

Вы определяете, как пользователи могут передавать через ваш экземпляр postfix, а не как вы можете получать почту.Вам нужно будет настроить другие типы транспорта smtpd, чтобы обеспечить доставку почты.

smtpd_recipient_restrictions
smtpd_client_restrictions
smtpd_sender_restrictions
...