On Tue, Jun 10, 2014 at 05:45:02PM -0500, Jay G. Scott wrote:
> After trying various combinations of things in
> main.cf and master.cf, I find that, using the script
> below, if the mail reaches the filter script, the
> resulting mail message bounces (too many hops)
> but the filter has processed the input.
>
> If I turn content_filter off in main.cf the
> mail gets delivered unfiltered, no bounces, no hops.
>
> main.cf:
>
> content_filter = filter
>
> got it filtered, but resulted in the hops bounce.
>
> What am I missing?
Reading FILTER_README carefully, and disabling content_filter
in master.cf for the pickup service as instructed:
pickup fifo n - - 60 1 pickup
-o content_filter=
Simple filter resubmission via sendmail(1) must enter the queue at
an injection interface that does not apply the content_filter again.
--
Viktor.