Re: mail filter plugin script doesn't effective

2016-03-31 Thread Jerry
On Thu, 31 Mar 2016 20:32:57 +0530, use experience stated: >BTW, I have tried modifying as follows, but still I script doesn't >effective. Please stop top-posting. It is really annoying. Also, why are your posts all double spaced? Anyway, I found two URLs that might be of interest to you. http:

Re: mail filter plugin script doesn't effective

2016-03-31 Thread use experience
Thanks Jerry, BTW, I have tried modifying as follows, but still I script doesn't effective. Also I gave full permission for script execution. unix_listener auth-userdb { group = vmail mode = 0666 user = vmail } service santhosh-filter-out { executable = script /usr/local/b

Re: mail filter plugin script doesn't effective

2016-03-31 Thread Jerry
On Thu, 31 Mar 2016 19:56:04 +0530, use experience stated: >> unix_listener auth-userdb { >> >> mode = 0777 >> >> } Try adding: user = vmail group = vmail Why are you using mode = 0777? I never use more than 0666. Usually just 0660 and all works well. Try to include the "group" in your

Re: mail filter plugin script doesn't effective

2016-03-31 Thread use experience
Hello Team, I am using script to create a database (Testing, so that I can use it for further my feature) service santhosh-filter { executable = script /usr/local/bin/mail-filter.sh unix_listener santhosh-filter { mode = 0777 user = vmail } } mail-filter.sh contains mysql