1

Topic: How to Configure iRedMail to Automatically Reject Emails from Specific

Hi everyone,
I’m running a fresh iRedMail installation on Ubuntu 24.04 with Postfix as the MTA. I want to automatically reject incoming emails from certain domains (e.g., spammy domains) before they reach the mailbox, rather than just filtering them after delivery. I’ve checked the documentation about Postfix restrictions, but I’m not sure about the best approach in the context of iRedMail’s setup, especially without breaking other functionalities like DKIM or spam filtering.

Has anyone done this successfully? Could you provide an example of the configuration files or steps I should follow to safely block specific domains at the SMTP level?

Thanks!

----

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

2

Re: How to Configure iRedMail to Automatically Reject Emails from Specific

Are you going to reject them based on their email address / domain, or IP address?

3

Re: How to Configure iRedMail to Automatically Reject Emails from Specific

我也想了解关于过滤器的问题,我是0.98版本,过滤器配置了不生效,已经active了,对应用户目录下也有了相应的sieve配置,但是并没有生效,我该从什么地方开始排查?

ZhangHuangbin wrote:

Are you going to reject them based on their email address / domain, or IP address?