1 (edited by smtlwt 2021-03-28 18:15:30)

Topic: Foxmail邮件客户端发件,服务器检测客户端电脑地址后,reject

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: centos 7.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?   4.7
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


错误:

21 5.7.1 Service unavailable; client [218.93.112.27] blocked using b.barracudacentral.org


邮件服务器地址为 218.93.112.28
web端正常收发邮件。

Foxmail客户端(代理上网代理地址为 218.93.112.27)收件正常,smtp发件报上述错误

vi /var/log/maillog
信息如下:

Mar 28 18:07:44 mail postfix/postscreen[3487]: CONNECT from [218.93.112.27]:3261 to [218.93.112.28]:25
Mar 28 18:07:44 mail postfix/dnsblog[3488]: addr 218.93.112.27 listed by domain b.barracudacentral.org as 127.0.0.2
Mar 28 18:07:50 mail postfix/postscreen[3487]: DNSBL rank 2 for [218.93.112.27]:3261
Mar 28 18:07:50 mail postfix/postscreen[3487]: DISCONNECT [218.93.112.27]:3261

vi  /etc/postfix/main.cf
查看了下,是否是这里的问题?
smtpd_sender_restrictions =
    reject_non_fqdn_sender
    reject_unlisted_sender
    permit_mynetworks
    permit_sasl_authenticated
    check_sender_access pcre:/etc/postfix/sender_access.pcre
    reject_unknown_sender_domain


需要怎么修改,才能把客户端发件(因为客户端很可能是动态地址),不通过这个reject判断

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by smtlwt 2021-03-28 18:40:58)

Re: Foxmail邮件客户端发件,服务器检测客户端电脑地址后,reject

应该不是这里,而是

postscreen_dnsbl_sites =
    zen.spamhaus.org=127.0.0.[2..11]*3
    b.byarracudacentral.org=127.0.0.2*2

这个设置,怎么才能不对,Foxmail登录的电脑(已经通过smtp 验证后的帐号)地址,smtp发件 受影响。

3

Re: Foxmail邮件客户端发件,服务器检测客户端电脑地址后,reject

请在邮件客户端里启用 smtp 验证来发送邮件。

4 (edited by smtlwt 2021-03-28 20:15:48)

Re: Foxmail邮件客户端发件,服务器检测客户端电脑地址后,reject

ZhangHuangbin wrote:

请在邮件客户端里启用 smtp 验证来发送邮件。

smtp  发件, 端口号是 587  ,我按原来的经验配置成25 ,才有这样的错误产生

非常感谢