[xmail] Re: filters.in.tab
On Thu, 18 Mar 2004, CLEMENT Francis wrote: First think to signal is that XMail DO NOT ALLWAYS EXECUTE = filters.in.tab ON EVERY RECEIVED MAIL !! even if you say : *[TAB]*[TAB]0.0.0.0/0[TAB]0.0.0.0/0[TAB]yourfilterfile.tab[NEW= LINE ] (execute this for all) Davide previously said (if I remember) that filters.in.tab is for local delivery incoming mails and filters.out.tab for outgoing mails In fact filters.in.tab is done on each destination email address AFTER determining if local or not Davide, correct me if i'm wrong : Yes. Bottom line is that XMail let you have a fine grained policies, and hence it does have to split the 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]
[xmail] Re: filters.in.tab
Hello Davide, OK. It's realy cool. And if you send 1 message to the list, consisting of 50 people, then how many messages are in a spool after that? :) send ONE message to the mailinglist - all mailinglist subscribers incoming mail is scanned AGAIN. And as they are local domain users, that's the real pain in ass for the system. Wednesday, March 17, 2004, 8:34:24 PM, you wrote: DL On Wed, 17 Mar 2004, Renar Dobkevich wrote: I have a regular mailserver (1.17) with a multiple domains and a few mailinglists (xmail ones) with SpamAssassin and Antivirus filter. When a mail is sent to a list system load is just horrible as it spawns spamd and checkvirus scripts for a count of recipients in list just for one mail... Practically if I have a 50 members in my mailing list and I send 1 email to that list - it will be checked 50 times. Is there a solution? Or is there a way how to specify an exclusion for one or several mailing lists / users in a %subj% ? DL Xmail always explode the message. Every message in the spool has only one DL recipient. DL - 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]
[xmail] Re: filters.in.tab
On Wed, 17 Mar 2004, Renar Dobkevich wrote: I have a regular mailserver (1.17) with a multiple domains and a few mailinglists (xmail ones) with SpamAssassin and Antivirus filter. When a mail is sent to a list system load is just horrible as it spawns spamd and checkvirus scripts for a count of recipients in list just for one mail... Practically if I have a 50 members in my mailing list and I send 1 email to that list - it will be checked 50 times. Is there a solution? Or is there a way how to specify an exclusion for one or several mailing lists / users in a %subj% ? Xmail always explode the message. Every message in the spool has only one recipient. - 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]
[xmail] Re: filters.in.tab oddity
Davide Libenzi wrote: Try this : http://www.xmailserver.org/xmail-1.17-pre04.tar.gz and look at the syslog when it fails. It is not there so we cannot download it. -- Groeten, Peter -- WinErr: 018 Unrecoverable error - System has been destroyed. Buy a new one. Old Windows licence is not valid anymore. --- --- Heb je een Sony Digital video camera ? --- Kijk eens op http://www.dvin.org --- Kijk ook op http://www.lindeman.org --- ICQ 22383596 --- Uptime lindeman.org - 0 days, 20 hours and 40 minutes, 0 users logged in. - 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]
[xmail] Re: filters.in.tab oddity
Davide Libenzi wrote: Try this : http://www.xmailserver.org/xmail-1.17-pre04.tar.gz and look at the syslog when it fails. It is not there so we cannot download it. -- Groeten, Peter Try this : http://www.xmailserver.org/xmail-1.17-pre05.tar.gz I cannot get a failure with this version. thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
spankie wrote: Try this : http://www.xmailserver.org/xmail-1.17-pre05.tar.gz I cannot get a failure with this version. thanks, Installed it now on my server. I'll keep looking in to the logs if I see the error or not. -- Groeten, Peter -- Sorry, we deleted that package last week... --- --- Heb je een Sony Digital video camera ? --- Kijk eens op http://www.dvin.org --- Kijk ook op http://www.lindeman.org --- ICQ 22383596 --- Uptime lindeman.org - 1 days, 5 hours and 56 minutes, 1 user logged in. - 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]
[xmail] Re: filters.in.tab oddity
On Sun, 7 Sep 2003, Peter Lindeman wrote: spankie wrote: Try this : http://www.xmailserver.org/xmail-1.17-pre05.tar.gz I cannot get a failure with this version. thanks, Installed it now on my server. I'll keep looking in to the logs if I see the error or not. It was not script responsibility. There was a bug in XMail (Unix) for versions 1.17-pre05. Basically the external program was executed but XMail failed to detect it. Versions = 1.17-pre05 fixes the problem. - 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]
[xmail] Re: filters.in.tab oddity
Davide Libenzi wrote: Installed it now on my server. I'll keep looking in to the logs if I see the error or not. It was not script responsibility. There was a bug in XMail (Unix) for versions 1.17-pre05. Basically the external program was executed but XMail failed to detect it. Versions = 1.17-pre05 fixes the problem. Great that it is solved. I now installed pre 06 so it should not occur again. I'll keep track on the log, it happened several times a day here so I can see it in short time. -- Groeten, Peter -- WOMAN.ZIP: Great Shareware, but be careful of viruses... --- --- Heb je een Sony Digital video camera ? --- Kijk eens op http://www.dvin.org --- Kijk ook op http://www.lindeman.org --- ICQ 22383596 --- Uptime lindeman.org - 1 days, 6 hours and 8 minutes, 1 user logged in. - 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]
[xmail] Re: filters.in.tab oddity
On Sat, 6 Sep 2003, spankie wrote: I ran XMail in debug mode and here is the error it throws: POP3 client exit [24.106.36.93] Filter error: Sender = [EMAIL PROTECTED] Recipient = [EMAIL PROTECTED] (/var/MailRoot/spamassassin/sa_filter.pl) SMAIL local SMTP = darad.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] This error looks like it is coming from the SysExec call not returning 0. Any ideas why SysExec would be failing to execute the script? I substituted XXX for the email address in this posting, but it refers to a local address. Did you try 1.17-pre03 ? - 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]
[xmail] Re: filters.in.tab oddity
On Sat, 6 Sep 2003, spankie wrote: I ran XMail in debug mode and here is the error it throws: POP3 client exit [24.106.36.93] Filter error: Sender = [EMAIL PROTECTED] Recipient = [EMAIL PROTECTED] (/var/MailRoot/spamassassin/sa_filter.pl) SMAIL local SMTP = darad.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] This error looks like it is coming from the SysExec call not returning 0. Any ideas why SysExec would be failing to execute the script? I substituted XXX for the email address in this posting, but it refers to a local address. Did you try 1.17-pre03 ? - Davide Yes, that is what these results are from. thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
On Sat, 6 Sep 2003, spankie wrote: Did you try 1.17-pre03 ? - Davide Yes, that is what these results are from. Try this : http://www.xmailserver.org/xmail-1.17-pre04.tar.gz and look at the syslog when it fails. - 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]
[xmail] Re: filters.in.tab oddity
spankie wrote: I'll see the same thing on my system, I will try to look into it if it is perhaps an AV filter problem, please let me know if you find anything. i managed to get around this problem by calling one shell script with both the AV script and Spam script inside of it. I had to put some exit code checking in the script but it works consistently now. Davide, is it possible there is a problem with the sequential processing of filters losing track of the child processes. I noticed there was a comment of some fixes in 1.17-pre03 in that area. What version of XMail are you running ? I am still on 1.16 Is it version related ? Peter - 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]
[xmail] Re: filters.in.tab oddity
spankie wrote: I'll see the same thing on my system, I will try to look into it if it is perhaps an AV filter problem, please let me know if you find anything. i managed to get around this problem by calling one shell script with both the AV script and Spam script inside of it. I had to put some exit code checking in the script but it works consistently now. Davide, is it possible there is a problem with the sequential processing of filters losing track of the child processes. I noticed there was a comment of some fixes in 1.17-pre03 in that area. What version of XMail are you running ? I am still on 1.16 Is it version related ? Peter i was running 1.16 then went to 1.17-pre03. Same problem, both versions. randy - 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]
[xmail] Re: filters.in.tab oddity
On Thu, 4 Sep 2003, spankie wrote: i managed to get around this problem by calling one shell script with both the AV script and Spam script inside of it. I had to put some exit code checking in the script but it works consistently now. Davide, is it possible there is a problem with the sequential processing of filters losing track of the child processes. I noticed there was a comment of some fixes in 1.17-pre03 in that area. No, otherwise the filter will fail in such case. Try to run XMail in debug mode from a console. - 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]
[xmail] Re: filters.in.tab oddity
On Thu, 4 Sep 2003, spankie wrote: i managed to get around this problem by calling one shell script with both the AV script and Spam script inside of it. I had to put some exit code checking in the script but it works consistently now. Davide, is it possible there is a problem with the sequential processing of filters losing track of the child processes. I noticed there was a comment of some fixes in 1.17-pre03 in that area. No, otherwise the filter will fail in such case. Try to run XMail in debug mode from a console. - Davide i will do that and let you know what i find. thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
On Fri, 5 Sep 2003, Peter Lindeman wrote: Davide Libenzi wrote: No, otherwise the filter will fail in such case. Try to run XMail in debug mode from a console. Just start it in a console session with the normal paramaters on the cmdline and redirecting the output to a log ? When it happens stop Xmail and send you the last piece of the log ? You need the -Md parameter also. - 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]
[xmail] Re: filters.in.tab oddity
i thought the same thing, so i stuck in a loop when it can't find the file, to pause a second and try again...it never leaves the loop, the messages is physically gone out of the spool directory at the point it gets to try and process it. - Original Message - From: Rob Arends [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:23 PM Subject: [xmail] Re: filters.in.tab oddity sounds like a timing issue, with the previous process not releasing the file before the next process starts. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of spankie Sent: Thursday, September 04, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: [xmail] filters.in.tab oddity I am running into a strange problem. I am filtering incoming e-mails with two filters, an antivirus script first, and then a spam detecting script. Occasionally, when the antivirus script runs and returns a 7 after finding no viruses and adding a header, the spam script starts but will error saying that it cannot find the message file being passed to it via @@FILE. I can duplicate it by creating a loop sending messages, but can't find the pattern. Sometimes the first message, sometimes the fifth, tenth, etc. Sometimes it happens with just one incoming message. I am running xmail 1.17-pre03 on red hat 7.3. Any ideas? Thanks in advance! - 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] - 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] - 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]
[xmail] Re: filters.in.tab oddity
On Thu, 4 Sep 2003, spankie wrote: i thought the same thing, so i stuck in a loop when it can't find the file, to pause a second and try again...it never leaves the loop, the messages is physically gone out of the spool directory at the point it gets to try and process it. Are you sure that the AV filter does not nuke the file ? - Davide Yes, the message gets delivered just without the headers added from the spamassassin script. thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
Isn't there a time limit for filters to finish operations? If the filter takes too long, the message is processed by xmail and sent? Could you be running into this limit? i don't know, is there a time limit? However, there doesn't appear to be a delay in processing. The log shows no more than 5 seconds between each message being processed by each filter and my e-mail send loops send an e-mail every 4 seconds. thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
Please be advised that the SpamAssassin script doesn't support the new filter architecture as of 1.16. You need to modify the script to use the new return values. I've been too busy to upgrade XMail as well as upgrade the script, but it's on my list. -Don Both scripts use @@FILE as the input to process the message and use work directories created with random generated values. The antivirus script is the one peter lindeman contributed and the spam script is the spamassassin script contributed by don drake. Based on the XMail logs, some of these errors occur when there are no other messages coming in at least 30 minutes before or after. That's what makes it so puzzling. It is safe to say the scripts for a single message are executed consecutively and not in parallel, correct? thanks, randy - 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] - 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]
[xmail] Re: filters.in.tab oddity
Yes, i did do that. I have been running a modified version of the script that has been working fine for several months. I added the anti-virus filter script in front of it this weekend and that is when these problems started occurring. It appears to be in the AV script or in the code that processes filters sequentially. thanks, randy - Original Message - From: Don Drake [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 9:14 AM Subject: [xmail] Re: filters.in.tab oddity Please be advised that the SpamAssassin script doesn't support the new filter architecture as of 1.16. You need to modify the script to use the new return values. I've been too busy to upgrade XMail as well as upgrade the script, but it's on my list. -Don Both scripts use @@FILE as the input to process the message and use work directories created with random generated values. The antivirus script is the one peter lindeman contributed and the spam script is the spamassassin script contributed by don drake. Based on the XMail logs, some of these errors occur when there are no other messages coming in at least 30 minutes before or after. That's what makes it so puzzling. It is safe to say the scripts for a single message are executed consecutively and not in parallel, correct? thanks, randy - 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] - 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] - 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]
[xmail] Re: filters.in.tab oddity
spankie wrote: Isn't there a time limit for filters to finish operations? If the filter takes too long, the message is processed by xmail and sent? Could you be running into this limit? i don't know, is there a time limit? However, there doesn't appear to be a delay in processing. The log shows no more than 5 seconds between each message being processed by each filter and my e-mail send loops send an e-mail every 4 seconds. I'll see the same thing on my system, I will try to look into it if it is perhaps an AV filter problem, please let me know if you find anything. -- Groeten, Peter -- Ummm... Didn't you say you turned it off? --- --- Heb je een Sony Digital video camera ? --- Kijk eens op http://www.dvin.org --- Kijk ook op http://www.lindeman.org --- ICQ 22383596 --- Uptime lindeman.org - 11 days, 20 hours and 48 minutes, 0 users logged in. - 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]
[xmail] Re: filters.in.tab oddity
I'll see the same thing on my system, I will try to look into it if it is perhaps an AV filter problem, please let me know if you find anything. -- Groeten, Peter -- Thanks Peter. I'll let you know if i find anything, let me know if you do. thanks, randy I did find the frequency seems to be tied to the number of mailer threads (-Qn nthreads). The higher the number of threads, the frequency decreases, but still happens. Not sure if incoming filters use these threads. thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
Isn't there a time limit for filters to finish operations? If the filter takes too long, the message is processed by xmail and sent? Could you be running into this limit? i don't know, is there a time limit? However, there doesn't appear to be a delay in processing. The log shows no more than 5 seconds between each message being processed by each filter and my e-mail send loops send an e-mail every 4 seconds. I'll see the same thing on my system, I will try to look into it if it is perhaps an AV filter problem, please let me know if you find anything. -- Groeten, Peter i managed to get around this problem by calling one shell script with both the AV script and Spam script inside of it. I had to put some exit code checking in the script but it works consistently now. Davide, is it possible there is a problem with the sequential processing of filters losing track of the child processes. I noticed there was a comment of some fixes in 1.17-pre03 in that area. randy - 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]
[xmail] Re: Filters.in.tab
Did you try 1.17-pre01 ? I am now using 1.16 and the filter does let my own domain emails go through now (filters.in.tab) when using RETCODE 16 to stop processing, the oddball item is that it still puts the email in the KEEP dir of XScanner so I then have duplicate copies. But it works, even despite this quirk, so now I am successfully not filtering my own domain to domain emails =) I will watch for 1.17 when it is final... Thanks all! - 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]
[xmail] Re: filters.in.tab oddity
On Wed, 3 Sep 2003, spankie wrote: I am running into a strange problem. I am filtering incoming e-mails with two filters, an antivirus script first, and then a spam detecting script. Occasionally, when the antivirus script runs and returns a 7 after finding no viruses and adding a header, the spam script starts but will error saying that it cannot find the message file being passed to it via @@FILE. I can duplicate it by creating a loop sending messages, but can't find the pattern. Sometimes the first message, sometimes the fifth, tenth, etc. Sometimes it happens with just one incoming message. I am running xmail 1.17-pre03 on red hat 7.3. Any ideas? This is very likely due to a non-reentrant filter. - Davide Sorry, can you help me with what that actually means? thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
On Wed, 3 Sep 2003, spankie wrote: On Wed, 3 Sep 2003, spankie wrote: I am running into a strange problem. I am filtering incoming e-mails with two filters, an antivirus script first, and then a spam detecting script. Occasionally, when the antivirus script runs and returns a 7 after finding no viruses and adding a header, the spam script starts but will error saying that it cannot find the message file being passed to it via @@FILE. I can duplicate it by creating a loop sending messages, but can't find the pattern. Sometimes the first message, sometimes the fifth, tenth, etc. Sometimes it happens with just one incoming message. I am running xmail 1.17-pre03 on red hat 7.3. Any ideas? This is very likely due to a non-reentrant filter. - Davide Sorry, can you help me with what that actually means? XMail sending happen in parallel, so multiple copies of your filters might be running at the same time. If you use fixed path locations, you're going to be screwed. You need to use the @@FILE (that is unique) in your paths. - 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]
[xmail] Re: filters.in.tab oddity
On Wed, 3 Sep 2003, spankie wrote: On Wed, 3 Sep 2003, spankie wrote: I am running into a strange problem. I am filtering incoming e-mails with two filters, an antivirus script first, and then a spam detecting script. Occasionally, when the antivirus script runs and returns a 7 after finding no viruses and adding a header, the spam script starts but will error saying that it cannot find the message file being passed to it via @@FILE. I can duplicate it by creating a loop sending messages, but can't find the pattern. Sometimes the first message, sometimes the fifth, tenth, etc. Sometimes it happens with just one incoming message. I am running xmail 1.17-pre03 on red hat 7.3. Any ideas? This is very likely due to a non-reentrant filter. - Davide Sorry, can you help me with what that actually means? XMail sending happen in parallel, so multiple copies of your filters might be running at the same time. If you use fixed path locations, you're going to be screwed. You need to use the @@FILE (that is unique) in your paths. - Davide - Both scripts use @@FILE as the input to process the message and use work directories created with random generated values. The antivirus script is the one peter lindeman contributed and the spam script is the spamassassin script contributed by don drake. Based on the XMail logs, some of these errors occur when there are no other messages coming in at least 30 minutes before or after. That's what makes it so puzzling. It is safe to say the scripts for a single message are executed consecutively and not in parallel, correct? thanks, randy - 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]
[xmail] Re: filters.in.tab oddity
On Wed, 3 Sep 2003, spankie wrote: It is safe to say the scripts for a single message are executed consecutively and not in parallel, correct? Yes, they are. At least if you don't fork another task. - 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]
[xmail] Re: filters.in.tab oddity
On Wed, 3 Sep 2003, spankie wrote: It is safe to say the scripts for a single message are executed consecutively and not in parallel, correct? Yes, they are. At least if you don't fork another task. - Davide - Nope, just running the perl scripts, no mods. Odd, i will continue to search and post anything i find. thanks for the input 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]
[xmail] Re: filters.in.tab oddity
sounds like a timing issue, with the previous process not releasing the file before the next process starts. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of spankie Sent: Thursday, September 04, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: [xmail] filters.in.tab oddity I am running into a strange problem. I am filtering incoming e-mails with two filters, an antivirus script first, and then a spam detecting script. Occasionally, when the antivirus script runs and returns a 7 after finding no viruses and adding a header, the spam script starts but will error saying that it cannot find the message file being passed to it via @@FILE. I can duplicate it by creating a loop sending messages, but can't find the pattern. Sometimes the first message, sometimes the fifth, tenth, etc. Sometimes it happens with just one incoming message. I am running xmail 1.17-pre03 on red hat 7.3. Any ideas? Thanks in advance! - 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] - 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]
[xmail] Re: Filters.in.tab
The filters are executed in sequence in the order they are in the filters.*.tab so you would need to order them properly. Rob:-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Friday, August 29, 2003 2:18 AM To: [EMAIL PROTECTED] Subject: [xmail] Re: Filters.in.tab sender[TAB]recipient[TAB]remote-addr[TAB]local-addr[TAB]f ilename[N EWLINE] Your example would be: [EMAIL PROTECTED] [EMAIL PROTECTED] 0.0.0.0/0 0.0.0.0/0 exception.tab Duh, I should have read the documentation... I wonder though if I have currently: * * 0.0.0.0/0 0.0.0.0/0 mydomain.org.tab If this exception.tab will overrule the previous all inclusive list, or if I need to do this the long way. I will find out later today I suppose =) Thanks - 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] - 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]
[xmail] Re: Filters.in.tab
The filters are executed in sequence in the order they are in the filters.*.tab In Filters.in.tab I tried your idea complete with batch file, I even tried retcode 108 instead of 8, no go. Then I tried sending it to my current filter, XScanner as such in exception.tab c:\xscanner\xscanner.exe c:\xscanner @@FILE @@FROM @@RCPT 8 So far I am unable to get it to stop processing the next file, even though exception.tab is called first in my filters.in.tab - so it continues to send it onto the next filter... - 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]
[xmail] Re: Filters.in.tab
On Fri, 29 Aug 2003, William wrote: The filters are executed in sequence in the order they are in the filters.*.tab In Filters.in.tab I tried your idea complete with batch file, I even tried retcode 108 instead of 8, no go. Then I tried sending it to my current filter, XScanner as such in exception.tab c:\xscanner\xscanner.exe c:\xscanner @@FILE @@FROM @@RCPT 8 So far I am unable to get it to stop processing the next file, even though exception.tab is called first in my filters.in.tab - so it continues to send it onto the next filter... Did you try 1.17-pre01 ? - 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]
[xmail] Re: Filters.in.tab
Did you try 1.17-pre01 ? Nope, I can read up on the changelog and see though. Thanks - 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]
[xmail] Re: Filters.in.tab
Searching the README, I found the following. filters.in.tab sender[TAB]recipient[TAB]remote-addr[TAB]local-addr[TAB]filename[N EWLINE] Your example would be: [EMAIL PROTECTED] [EMAIL PROTECTED] 0.0.0.0/0 0.0.0.0/0 exception.tab exception.tab command[TAB]arg-or-macro[TAB]...[NEWLINE] Your example would be: c:\winnt\system32\cmd.exe /c return8.bat[NEWLINE] return8.bat @echo off EXIT 8 If the filter returns 0 the message is allowed to pass, but if you add 8 the next filter is NOT executed. So if you return 0+8 (ie.8) then you have the ability to stop all further filter processing. So in the example, if the to from domains are your domain and the mail is incoming (being delivered to a local mailbox) then execute the script defined within exception.tab. That script should do nothing, just exit with return code 8. You might want to play with the IP address also, to ensure you ONLY except email that are locally created. The above example will except mail created by a user at home with a from address of [EMAIL PROTECTED] sending to [EMAIL PROTECTED] You may want to scan mail that originates offsite regardless. I haven't test the above, It's just theory, but let me know how you go. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Sent: Wednesday, August 27, 2003 7:47 AM To: [EMAIL PROTECTED] Subject: [xmail] Filters.in.tab Is there a way to avoid filtering mydomain to mydomain emails? I am NOT using an outgoing filter at all, but incoming mails from the same domain are still considered incoming, and people are upset that they get caught in the filter since I am not always around to hand filter for a time. Has anyone figured out of this is doable at all? XMail 1.15 Win32 Thanks! - 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] - 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]