小编dam*_*anb的帖子

拒绝使用 Postfix 向特定收件人发送电子邮件

所以,现在我正在尝试通过smtpd_recipient_restrictions.

我遇到的问题是我的测试电子邮件在我期望它们被系统拒绝时正在发送。

这是 /etc/postfix/main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = …
Run Code Online (Sandbox Code Playgroud)

email postfix blacklist

7
推荐指数
1
解决办法
8347
查看次数

标签 统计

blacklist ×1

email ×1

postfix ×1