Is it possible to configure recipient dependent content filtering ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to configure recipient dependent content filtering ?

Antoni Ivanov
This post has NOT been accepted by the mailing list yet.
Hi,

I am reading http://www.postfix.org/FILTER_README.html#domain_dependent

I cannot understand how can I do content filtering based on email ? Is it possible
My use case is the following:
For mail aaa@mydomain.com use x.sh script to filter mail
for bbb@mydomain.com use y.sh
for all the other do not use any content filtering

I was looking at transport_maps
aivanov my_filter

and my_filter is pipe as in the example above but that simply looped.

Any suggestions?