Look at your permissions, for both your .mailfilter file and also for your
anomy perl script (must be executble - if I remmember correctly when using
.mailfilter files the "users" uid/gid are being used, so if the anomy script
is not executable by the "user" it will not work)
sanitizer.pl should have -rwxr-xr-x
and the config file there should be read permissions for the
owner/group/everyone else....
If these are ok, check your anomy config, I had also been unable to filter
the messages with a bad config file.
hope this helps, good luck!
Gerardo
Emiliano writes:
Hello to everyone.
I have Postfix+mysql+maildrop with virtual users working. Now I want to add
anomy sanitizer to my .mailfilter file.
So I put:
ANOMY=/usr/local/anomy/
xfilter "/usr/local/anomy/bin/sanitizer.pl /usr/local/anomy/anomy.conf"
And my logs says:
May 27 14:54:10 linux2 postfix/local[15195]: 9D5D3A517:
to=<emil...@climafin.com.ar>, relay=
local, delay=1, status=deferred (temporary failure. Command output: bash:
/usr/local/anomy/sanitiz
er.pl: Permission denied maildrop: error writing to filter.
/usr/local/bin/maildrop: Unable to fil
ter message. )
Any Ideas..?
Thanks...
Emiliano.