Topic: bypass content_filter
( HUMM i thought i had posted this but I cant find it sorry if it is duplicated)
I need to bypass the content filter for some servers, users and email from root.
I have tried several options as described on postfix filter but no luck
amavisd stops from time to time for no reason and when that does no email goes out, I need to send out some alert to a pager but root email are stuck in the queue.
I have try to add t new entry in master.cf
10026 inet n - n - - lmtp
-o content_filter=
-o smtpd_client_restrictions=permit_mynetworks,reject
then
created a /etc/postfix/filter-whitelist with this in it and postmap it
/root@localhost/ FILTER smtp:[127.0.0.1]:10026
127.0.0.1 FILTER smtp:[127.0.0.1]:10026
and added this to main.cf
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/filter-whitelist
if amavisd stops root email does not go out, root email should not be filtered or should it?
thanks
==== Required information ====
- iRedMail version: latest
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): sql
- Linux/BSD distribution name and version: centis 6
- Related log if you're reporting an issue:
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.