Topic: How can I remove amavis,clamav,spamassassin/
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CENTOS7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?No
- Related log if you're reporting an issue:
====
log:
1,/etc/postfix/main.cf最后两行
#content_filter = smtp-amavis:[127.0.0.1]:10024
#smtp-amavis_destination_recipient_limit = 1
注释掉
2,/etc/postfix/master.cf 134行
# -o content_filter=smtp-amavis:[127.0.0.1]:10026
注释掉
141-145行
#smtp-amavis unix - - n - 2 smtp
# -o smtp_data_done_timeout=1200
# -o smtp_send_xforward_command=yes
# -o disable_dns_lookups=yes
# -o max_use=20
注释掉
3,
yum remove clamav
yum remove amavisd-new(不知道是哪个了.名字忘记了...)
yum remove spamassassin
还是会出现错误:
Sep 22 07:31:06 mail postfix/smtpd[15243]: NOQUEUE: reject: RCPT from gproxy1-pub.mail.unifiedlayer.com[69.89.25.95]: 451 4.7.1 <admin@
XXX.im>: Recipient address rejected: Intentional policy rejection, please try again later; from=<iredmail@box673.bluehost.com> to=<a
dmin@XXX.im> proto=ESMTP helo=<gproxy1.mail.unifiedlayer.com>
Sep 22 07:31:06 mail postfix/smtpd[15243]: disconnect from gproxy1-pub.mail.unifiedlayer.com[69.89.25.95]
Sep 22 08:01:04 mail postfix/error[15541]: 0E5B07328: to=<XXXXXX@qq.com>, relay=none, delay=75689, delays=75689/0.02/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Sep 22 08:01:04 mail postfix/error[15543]: D72945134: to=<XXX@hotmail.com>, relay=none, delay=75895, delays=75895/0.03/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.