Ricardo Kleemann wrote:

# ls -l /etc/courier/filters/active
total 0
lrwxrwxrwx 1 root root 43 Mar 21 20:39 perlfilter -> /usr/lib/courier/libexec/filters/perlfilter
...
Yes I did, but I simply had the perl script in another location. But I've moved it, so now:

# cat /etc/courier/filters/perlfilter
/usr/lib/courier/libexec/filters/perlfilter.pl

That's still confusing me. When I start a filter, it doesn't put anything in /etc/courier/filters/. Did you create the "perlfilter" file? Why isn't the file in /etc/courier/filters/active a symlink to the perl script? What does the contents of /usr/lib/courier/libexec/filters look like?

For debugging the filter, you can write to STDERR. Anything written to the filter's stderr will show up in your mail logs.

And in the perl script, I'm outputting each line to STDERR. But nothing comes out in the log.

What's "each line"?



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to