On Mon, 22 Sep 2003, Michail Tchoudinov wrote: > I have wrote the simple script in php (yes php can be executed from a = > command > line like perl, like shell like any others).=A8 > This script connects XMail and Norman Virus Control. > Script was saved in ../MailRoot/filters > > I have edited filters.in.tab and filters.out.tab > Like this: > "*"<TAB>"*"<TAB>"0.0.0.0/0"<TAB>"0.0.0.0/0"<TAB>"av-filter.tab" > > And created av-filter.tab contains > "/usr/bin/php -q /var/MailRoot/filters/script.php"<TAB>"@@FILE" > > script works fine when started manually. > But it does not seems to be started through "av-filter.tab" > > Even if I write in "av-filter.tab" something like > "ls /var > /tmp/listlog" > This does not work! I get nothing in /tmp (besides should this simple = > work?) > > How to check where I'm wrong? > May be "filters.xx.tab" files are wrong, may be "av-filter.tab" is not > correct. > Is there any logging possibilities about external script starting in = > XMail?
Get 1.17 and run XMail in debug mode (after having stopped the service) : # export MAIL_ROOT=/var/MailRoot # /var/MailRoot/bin/XMail -Md ... Then try to send a message. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
