Topic: Spam is refused by Gmail but remains in mailq
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 MARIADB edition.
- Linux/BSD distribution name and version: Ubuntu 18.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
For a particular domain we have setup around 30 mailboxes that are all forwarders, forwarding to Gmail accounts.
The forwardings were setup in the forwardings table of the vmail MySQL database.
We see spam messages coming in that are refused by Gmail but remain in the Postfix mailq.
An example message we see is like this:
3E4355DEEA 2947 Thu Oct 11 12:21:35 dosne@mercersburgstore.com
(host alt1.gmail-smtp-in.l.google.com[64.233.165.26] said: 421-4.7.0 [159.69.53.82 15] Our system has detected that this message is 421-4.7.0 suspicious due to the nature of the content and/or the links within. 421-4.7.0 To best protect our users from spam, the message has been blocked. 421-4.7.0 Please visit 421 4.7.0 https://support.google.com/mail/answer/188131 for more information. c144-v6si21976269lfd.82 - gsmtp (in reply to end of DATA command))
some.address@gmail.com (changed for privacy reasons).
What is the best practise to handle this? I now delete these messages manually from the mailq.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.