Hi there,
I was doing a research about how to implement an outgoing email filter.
For every sent message we want to add a footer with a counter.
I've tried to add the "content_filter" tag as shown:
smtp inet n - n - 50 smtpd
-o content_filter=footer
footer unix - n n - - pipe
flags=Rq user=myuser argv=/home/postfix/tag.sh ${sender} ${recipient}
But the messages doesn't seem to be filtered.
$ postconf | grep content_filter
content_filter = (empty)
Is this supposed to work? Is there a workaround for this?
Huge thanks.
R