Posted May 21May 21 My users have setup many email forwardsThe SPAM emails also get forwardedDue to this, email providers like microsoft / gmail are rate limiting emails from my servers and also blacklisting the IPHow to stop my server forwarding SPAMI have enabled ClamAV, Amavis & Spamassassin
May 23May 23 It is not feasible to disable these redirects.So, you can do what I do: use a global antispam system on your server, where you can use postscreen, and use a system (Spamassassin, Rspamd, etc) that performs Bayesian analysis of emails (there will be complaints, globally means spam for some, but not for others). But Bayesian analysis learns fast, before problem turn big. Rspamd have neural analisys, too.In addition, monitor rejections from major providers: Gmail, Outlook (mainly Hotmail), etc. When there are problems with these major email providers, they complain first with error messages, and gradually lowering reputation of your mail server. With active monitoring, you will have enough time to avoid a definitive block on them, and you will have time to complain about the redirection of your clients, or even disable them.Regards,Netino Edited May 23May 23 by Netino
May 30May 30 Author On 5/23/2025 at 5:38 AM, Netino said:It is not feasible to disable these redirects.So, you can do what I do: use a global antispam system on your server, where you can use postscreen, and use a system (Spamassassin, Rspamd, etc) that performs Bayesian analysis of emails (there will be complaints, globally means spam for some, but not for others). But Bayesian analysis learns fast, before problem turn big. Rspamd have neural analisys, too.In addition, monitor rejections from major providers: Gmail, Outlook (mainly Hotmail), etc. When there are problems with these major email providers, they complain first with error messages, and gradually lowering reputation of your mail server. With active monitoring, you will have enough time to avoid a definitive block on them, and you will have time to complain about the redirection of your clients, or even disable them.Regards,NetinoI see some hints at https://talk.plesk.com/threads/do-not-forward-spam-emails-to-external-mailbox.370124/Using postfix-pcre to block outgoing emails with SPAM in subject lineHave implemented the same.Hope it works, I will update it here.
June 3Jun 3 Email messages are essentially text messages. When you install postfix-pcre, it will perform a regex analysis on each message, and this involves additional processing. If you have a small volume of messages on your mail server, this is fine, there should be no problem. But if your traffic is heavier, I recommend that you do a performance analysis, and if there is an impact, find a less expensive solution.
June 6Jun 6 Author Solution As of now I am able resolve the issue bySolution:Step 1: Made sure that SPAMAssassin is working. https://forum.centos-webpanel.com/e-mail/how-to-install-spamassassin-updated/msg51428/#msg51428 and other threadsStep 2: Added outgoing email filter to block emails with subject SPAM https://talk.plesk.com/threads/do-not-forward-spam-emails-to-external-mailbox.370124/This is working very well now.
Create an account or sign in to comment