您好,我的 Postfix 服务器只能从我的本地域发送和接收邮件。
root@vps-9c0d7878:/# root@vps-9c0d7878:/# 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 = smtp-amavis:[127.0.0.1]:10024
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination =
myhostname = vps-9c0d7878.vps.ovh.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_proxy_options = speed_adjust
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/letsencrypt/live/mail.2m-partners.tn/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/mail.2m-partners.tn/privkey.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_use_tls = yes
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = lmtp:unix:private/dovecot-lmtp
systemctl status amavis:(我的域名 => outlook)
6月3日 15:23:33 vps-9c0d7878 amavis[13844]: (1384 4-05) 已通过 CLEAN {RelayedInbound},[196.178.210.179]:61879 [196.178.210 .179] [电子邮件保护]->[电子邮件保护],<rayen_ben_said@out look.fr>,队列ID:1A6532B994C,消息ID:<1793227b-51b8-f199-b23e-9af[电子邮件保护]>,mail_id:SlXOR3r9sqvh,点击数:-0.999,大小:810,queued_as:3A6D22B994E,5911 毫秒
我没有 /var/log/mail.log 用于日志
有人能帮我吗 ?