Здравствуйте, такая проблема, что в логах сервера отправляет ошибку undeliverable postmaster notification discarded, я могу со своего ящика который создал отправлять письма, а если я отправляю допустим из Яндекса или гугла, то они мне не приходят. Вот что пишет postconf -n:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
compatibility_level = 2
content_filter = scan:[127.0.0.1]:10024
dovecot_destination_recipient_limit = 1
inet_interfaces = all
mailbox_size_limit = 0
mydestination = localhost.$mydomain, localhost, localhost.localdomain, brusnika.fun
myhostname = brusnika.fun
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
policy-spf_time_limit = 3600s
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_pipelining permit
smtpd_data_restrictions = permit
smtpd_end_of_data_restrictions = permit
smtpd_helo_required = yes
smtpd_helo_restrictions = permit
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_non_fqdn_recipient reject_unauth_destination reject_unknow_recipient_domain reject_unverified_recipient reject_unknow_client_hostname reject_invalid_helo_hostname reject_non_fqdn_helo_hostname reject_unknow_helo_hostname reject_rbl_client bl.spamcom.net reject_rbl_client cbl.abuseat.org reject_rbl_client dul.ru reject_rbl_client dnsbl.abuse.ch check_policy_service unix:private/policy-spf permit
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_mynetworks permit_sasl_authenticated reject_non_fqdn_sender reject_unknown_sender_domain check_sender_access hash:/etc/postfix/sender_access permit
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/mail/public.pem
smtpd_tls_key_file = /etc/ssl/mail/private.key
smtpd_tls_security_level = may
smtpd_use_tls = yes
virtual_alias_domains = proxy:mysql:/etc/postfix/mysql_virtual_alias_domains.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1024
virtual_mailbox_base = /home/mail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1024
virtual_transport = dovecot
virtual_uid_maps = static:1024
а вот что пишет в логах сервера при отправке письма:
11:21:44 brusnika postfix/smtpd[16064]: connect from unknown[147.78.103.173]
Aug 1 11:21:45 brusnika postfix/trivial-rewrite[16090]: warning: do not list domain brusnika.fun in BOTH mydestination and virtual_mailbox_domains
Aug 1 11:21:45 brusnika postfix/trivial-rewrite[16090]: warning: do not list domain brusnika.fun in BOTH mydestination and virtual_mailbox_domains
Aug 1 11:21:45 brusnika postfix/smtpd[16064]: NOQUEUE: reject: RCPT from unknown[147.78.103.173]: 554 5.7.1 <test@brusnika.fun>: Sender address rejected: Relay from brusnika.fun are denied; from=<test@brusnika.fun> to=<test@gmail.com> proto=SMTP helo=<win-clj1b0gq6jp.domain>
Aug 1 11:22:18 brusnika postfix/smtps/smtpd[16094]: warning: hostname apzg-0720d-054.stretchoid.com does not resolve to address 198.199.115.118
Aug 1 11:22:18 brusnika postfix/smtps/smtpd[16094]: connect from unknown[198.199.115.118]
Aug 1 11:22:18 brusnika postfix/smtps/smtpd[16094]: SSL_accept error from unknown[198.199.115.118]: -1
Aug 1 11:22:18 brusnika postfix/smtps/smtpd[16094]: warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:331:
Aug 1 11:22:18 brusnika postfix/smtps/smtpd[16094]: lost connection after CONNECT from unknown[198.199.115.118]
Aug 1 11:22:18 brusnika postfix/smtps/smtpd[16094]: disconnect from unknown[198.199.115.118] commands=0/0
Aug 1 11:22:27 brusnika postfix/smtpd[16095]: connect from forward401c.mail.yandex.net[178.154.239.222]
Aug 1 11:22:27 brusnika postfix/trivial-rewrite[16090]: warning: do not list domain brusnika.fun in BOTH mydestination and virtual_mailbox_domains
Aug 1 11:22:27 brusnika postfix/smtpd[16095]: warning: unknown smtpd restriction: "reject_unknow_recipient_domain"
Aug 1 11:22:27 brusnika postfix/smtpd[16095]: NOQUEUE: reject: RCPT from forward401c.mail.yandex.net[178.154.239.222]: 451 4.3.5 Server configuration error; from=<test.brusnika@yandex.ru> to=<test@brusnika.fun> proto=ESMTP helo=<forward401c.mail.yandex.net>
Aug 1 11:22:27 brusnika postfix/cleanup[16096]: BB1E640A9F: message-id=<20230801082227.BB1E640A9F@brusnika.fun>
Aug 1 11:22:27 brusnika postfix/smtpd[16095]: disconnect from forward401c.mail.yandex.net[178.154.239.222] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8
Aug 1 11:22:27 brusnika postfix/qmgr[15095]: BB1E640A9F: from=<double-bounce@brusnika.fun>, size=1434, nrcpt=1 (queue active)
Aug 1 11:22:27 brusnika postfix/smtp[16097]: BB1E640A9F: to=<postmaster@change-this-to-your.domain.tld>, orig_to=<postmaster>, relay=none, delay=0.04, delays=0.02/0.02/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=change-this-to-your.domain.tld type=AAAA: Host not found)
Aug 1 11:22:27 brusnika postfix/bounce[16098]: warning: BB1E640A9F: undeliverable postmaster notification discarded
Aug 1 11:22:27 brusnika postfix/qmgr[15095]: BB1E640A9F: removed