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

created a /etc/postfix/filter-whitelist with this in it and postmap it
/root@localhost/     FILTER smtp:[]:10026     FILTER smtp:[]: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?


==== 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:


Re: bypass content_filter

I guess you need to update 'pickup' transport in /etc/postfix/master.cf like below:

pickup - ...
    -o content_filter=

Then all emails generated locally will bypass content filter.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee


Re: bypass content_filter

Not exactly what I was looking for but Ill try that, thanks
I was hopping we could do a white list for other addresses like reports from other systems that may contain spam related text. I have systems that runs pflogsum being cought by the filter.