2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
Printable Version of Topic
Click here to view this topic in its original format |
XMail Forum > Documentation and Knowledge Base > Filter Error (-92) ? |
Posted by: akbsol Feb 4 2008, 10:18 AM |
No matter what I do I am getting this filter error. I checked all the permissions and paths. Tried placing the script at different locations. Even a test script: #!/bin/bash exit 0 gets executed well from the shell but gives error 92 when tested in XMail's debug mode. Please help.. |
Posted by: akbsol Feb 4 2008, 10:57 AM |
It seems ulimit -s 128 before running XMail solves this. Although I don't know why. |
Posted by: hschneider Feb 5 2008, 12:48 PM |
Looks like spawning new threads requires that soft limit on your system. Thanks for the hint! BTW: Think you mean ulimit -S 128, don't you ? |
Posted by: erich Mar 12 2008, 10:18 PM |
In filters.pre-data.tab command must be ./var/MailRoot/bin/glst/glst in one of my servers, other witout . do not know why..it works. erich |
Posted by: MaartenJB May 23 2008, 09:33 AM | ||
I'm getting the same error, and tried the ulimit suggestion, but that didn't work. I've tried it on several linux installations. (Fedora 4/5, CentOS 5.1) |
Posted by: hschneider May 24 2008, 07:45 AM |
Print some string to the screen and run XMail in debug mode to see if the script is fired correctly. |
Posted by: MaartenJB May 27 2008, 11:47 AM | ||||||
Hi, This is what I have: test.tab in the filters directory. This file has 777 access rights, this file contains:
the file "filters.out.tab" contains: (real tabs, no spaces)
Result in debug mode:
I don't think the code is being executed. What do I do wrong? Thanks. |
Posted by: hschneider May 27 2008, 12:31 PM |
Looks like there is some misunderstanding about filters: filters.out.tab is setup correctly. test.tab should contain something like this: "/var/MailRoot/filters/myfilter.sh"[TAB]"@@FILE“[TAB]..... The script itself goes into filters/myfilter.sh |
Posted by: MaartenJB May 27 2008, 02:09 PM |
thanks!! it works fine now! |
Posted by: hschneider May 27 2008, 07:40 PM |
Good Boy |