Re: [xmail] Filters help
At 11.55 13/04/11, you wrote: How can I debug filters operations? You can try running XMail with command line switches --debug -Md -Qg -Md enables verbose output on the console, including filters operations -Qg is supposed to enable filters logging (undocumented) Back in 2005, a helpful user posted this info http://www.mail-archive.com/xmail@xmailserver.org/msg12190.html on the format of filters logs. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Filters help
On 08/04/2011 18:26, L wrote: I'm testing filters. It seem that xmail doesn't execute the bash script ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Filters help
What OS? On Apr 8, 2011 3:37 AM, L d4...@autistici.org wrote: Can someone help me creating filters to make copy of any ingoing and outgoing email that transit through the server (put a copy of any email in a specific folder)? Thank you very much. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Filters help
On 08/04/2011 09:08, L wrote: Can someone help me creating filters to make copy of any ingoing and outgoing email that transit through the server (put a copy of any email in a specific folder)? I'm testing filters. With phpxmail I had create this off-line In filter: #cat /var/MailRoot/filters/testfilter.tab /var/MailRoot/filters/test.sh A B #cat /var/MailRoot/filters/test.sh #!/bin/sh echo $1 $2 /var/MailRoot/logs/test Then I had send a mail to myself and filters log show: Exec Result = 0 Exit Code = 1 Executable = /var/MailRoot/filters/test.sh;A;B; But nothing change in var/MailRoot/logs/test. Then I try this: #cat /var/MailRoot/filters/testfilter.tab /var/MailRoot/filters/test.sh A B But filters log show: Exec Result = -92 Exit Code = -1 Executable = /var/MailRoot/filters/test.sh A B; And nothing change in var/MailRoot/logs/test. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail