小编Pha*_*mDj的帖子

Postfix 上 Amavis 和 Relayhost 的问题

我对这一切都很陌生。我尝试在 Ubuntu Server 16.04TLS 上设置 Postfix

我的情况需要使用中继服务器发送外部邮件

主文件:

#RELAY STUFF
#enable SASL authentication 
smtp_sasl_auth_enable = yes
# disallow methods that allow anonymous authentication. 
smtp_sasl_security_options = noanonymous
# where to find sasl_passwd
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# Enable STARTTLS encryption 
smtp_use_tls = yes
# where to find CA certificates
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt

smtp_tls_wrappermode = yes
smtp_tls_security_level = encrypt

relayhost = [mailgate.myisp.net]:465
Run Code Online (Sandbox Code Playgroud)

此配置工作正常,我可以在本地和其他域中发送和接收邮件。

但是,一旦我尝试使用以下行激活 Amavis:

content_filter = amavis:[127.0.0.1]:10024
Run Code Online (Sandbox Code Playgroud)

我的日志中出现错误:

Dec 20 13:21:41 iserv postfix/qmgr[4628]: 54AFB8408F7: from=<mail1@mydomain.net>, size=358, nrcpt=1 (queue active)
Dec 20 13:21:41 …
Run Code Online (Sandbox Code Playgroud)

postfix amavisd-new

5
推荐指数
1
解决办法
3050
查看次数

标签 统计

amavisd-new ×1

postfix ×1