Some simultaneous access to some others files or ressources from the = script ? In mind some conflict when accessing same ressource.
Can you confirm that when the problem arrivies, the script is not = started at all by xmail ? To confirm, make a little change in the script to first write something somewhere as a trace. Francis >-----Message d'origine----- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] la part de decker >Envoy=E9 : lundi 3 septembre 2007 10:07 >=C0 : [email protected] >Objet : [xmail] Wierd filter failure > > >Hey all, > >I've been noticing a strange, seemingly random occurrence lately and >I'm not sure what may have caused it (joy.) > >I'm not looking for what is wrong so much as what kind of thing >triggers this error. I modified the source a little and rebuilt to = give >an extra piece of info (you'll see below) but it makes no sense to me. = > >In the filters log, I get the following (mixed in with lots of normal >filtering): > >"[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "64.92.164.60" >"66.70.120.50" "2007-09-02 22:09:07" "post-data" "" "-5" >"-1" >"/var/email/bin/n3t_filter.pl;/tmp/msrv80f1800.5fad2.tmp;[66.70 >.120.50]:3615;" >"[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "64.92.164.60" >"63.211.210.203" "2007-09-03 02:31:42" "post-data" "" >"-5" "-1" >"/var/email/bin/n3t_filter.pl;/tmp/msrv80f1800.659c9.tmp;[63.21 >1.210.203]:1516;" >"[EMAIL PROTECTED]" "[EMAIL PROTECTED]" >"64.92.164.60" "64.70.81.118" "2007-09-03 02:32:07" "post-data" >"" "-5" "-1" >"/var/email/bin/n3t_filter.pl;/tmp/msrv80f5400.659e5.tmp;[64.70 >.81.118]:41816;" > >And in the system mail log at the same time I get the following: > >Sep 3 02:31:42 krondor XMail[491]: SMTP filter error (-5): Filter =3D >"/var/email/bin/n3t_filter.pl" timeout=3D-1112671832 Sep 3 02:32:07 >krondor XMail[491]: SMTP filter error (-5): Filter =3D >"/var/email/bin/n3t_filter.pl" timeout=3D-1117936584 > >The timeout=3D is my addition since that seemed to be what the -5 = error >was referring to, it's around line 1825 of SMTPSvr.cpp in 1.24 source > > } else { > SysLogMessage(LOG_LEV_ERROR, > "SMTP filter error (%d): Filter = =3D >\"%s\" timeout=3D%d\n", iExecResult, Toks.ppszCmdTokens[0]), >iFilterTimeout; } > >The filter works about 80% of the time without any problems. >The system has very low load; it handles maybe 2 emails a minute in an >average day. I don't see any rhyme or reason to which ones fail, same >ips/addresses work one minute then fail the next. > >The filter wasn't changed at the time I started noticing this problem. >I have since rebuild the server (freebsd 5.5) from latest sources and >rebuilt xmail (and rebooted) and the problem still occurs just as >before. Anyone got an idea as to what the -5 error means exactly ? It >appears the perl filter (which has extensive logging enabled) is not >being executed at all. Apache, crontabs, shell users etc are not = having >any problems execve'ing the perl binary so I doubt it's a problem with >that, but I'm pretty much out of ideas now, so I'm mailing yall as a >last resort :) > >Thanks, >Darren > > >- >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]
