Topic: sogo/amavis blacklist/whitelist priority
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.8
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello, newly installed server, v0.9.8. Working well, no issues, send/receive ok. (technically, not receiving yet, secondary mx. Sends no issue)
Wanted to be very restrictive, internal server only, send receive from one domain only (separate service)
Method selected was to blacklist/whitelist in Amavis (included with the standard iredmail install)
Understand there are outbound and inbound black/whitelists
added @. to blacklists (all users)
added alloweddomain.com to whitelists
Roundcube works perfectly, exactly as expected
Sogo appears to have an issue, perhaps applying the lists out of order?
If I set the INBOUND list to @. then try to SEND and email from sogo, fails
"Cannot send message: all recipients are invalid."
maillog:
Jun 15 20:09:51 mx postfix/postscreen[10139]: CONNECT from [127.0.0.1]:47762 to [127.0.0.1]:25
Jun 15 20:09:51 mx postfix/postscreen[10139]: WHITELISTED [127.0.0.1]:47762
Jun 15 20:09:51 mx postfix/smtpd[10140]: connect from localhost[127.0.0.1]
Jun 15 20:09:52 mx postfix/smtpd[10140]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <d.lee@alloweddomain.com>: Recipient address rejected: Blacklisted; from=<postmaster@iredmailserverdomain.com> to=<d.lee@alloweddomain.com> proto=ESMTP helo=<localhost>
Jun 15 20:09:52 mx postfix/smtpd[10140]: disconnect from localhost[127.0.0.1]
Any ideas?
If I remove blacklist @. everything works again.
Sogo, for the Activesync
thankyou
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.