1 (edited by toxic 2018-11-20 19:31:32)

Topic: Postfix/Amavis pre-queue filtering

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 OpenLDAP
- Linux/BSD distribution name and version: Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

Is it possible to configure postfix/amavis in a way that it checks and if necessary rejects spam during the initial smtp connect like the postscreen filters ? I would like that postfix sends the mail to amavis for checking and if necessary tells the sending mailserver that the mail was rejected so that the sending mailserver can generate a bounce on its own. This would help use reduce backscatter.

At the moment postfix accepts the message closes the connection to the sending mailserver and amavis generates a bounce if it is spam.

----

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

2

Re: Postfix/Amavis pre-queue filtering

iRedMail configures Amavisd as post-queue filter, you have to check Postfix/Amavisd documents to implement before-queue on your own. sorry.

To reject backscatter, did you check this tutorial?
http://www.postfix.org/BACKSCATTER_README.html

3

Re: Postfix/Amavis pre-queue filtering

ZhangHuangbin wrote:

iRedMail configures Amavisd as post-queue filter, you have to check Postfix/Amavisd documents to implement before-queue on your own. sorry.

To reject backscatter, did you check this tutorial?
http://www.postfix.org/BACKSCATTER_README.html


Thanks. I'll have a look at it.