Topic: Amavis + another content_filter


I have installed iRedMail 0.6.1, and now I need to attach on smtp content filter, so I did :
smtp      inet  n       -       -       -       -       smtpd
   -o content_filter=gsql:dummy
gsql   unix  -       n       n       -       -       pipe
  flags=Rq user=demo null_sender=
  argv=/etc/postfix/gsql/main.sh -f ${sender} -- ${recipient}

In main.cf
content_filter = smtp-amavis:[]:10024

If I comment     -o content_filter=gsql:dummy, then amavis start working againe.

My filter start working fine, but amavis stop working, and I cant get why. I am first time using IRedMail, befor I allways compiled everything on my own, and its worked perfect befor.