Am 05.04.2014 20:29, schrieb Paul J Stevens: > On 05-04-14 17:18, Reindl Harald wrote: > >> however, lmtpd should not crash because a typo in a sieve-script and if >> that is the trigger how do i get the existing 8 errors cleaned > > The only way to make sure that doesn't happen due to a problem in > libsieve is by re-validating each script before running it. But there is > a reason validation is done at insertion time if you use dbmail-sievecmd > or dbmail-timsieved.
normally i use dbmail-timsieved, sadly the thunderbird extension don't work with recent TB versions, however i remember that in case of a syntax error in the past dbmail stopped to proceed the rule and even sent a message to the scripts owner about that since my sieve rule works now it don't have a syntax error i am pretty sure the first crash was because a syntax error which i realized quickly *but* the current troubles are because there are rules to move messages into "mailing-lists" and others into "mailing-lists/subfolder" combined, i changed that now and we well see what happens - IMHO it should not crash in that case however, that the count below raises each time dbmail-lmtpd crashs and never get cleaned up - that' serious, luckily that seems to be only messages directed to myself [root@mail:~]$ /usr/sbin/dbmail-util -y -c -t -u -b -p -d -r 24h Ok. Found [4] missing rfcsize values. EEEEOk. Found [4] missing envelope values. EEEEOk. Found [4] un-cached physmessages. > Runtime validation at execution time would affect performance. I don't > know how much, so it might not be dramatic. But adding that just so > people can shoot themselves in the foot? I don't know... yes and no - a segfault should never happen, given that in the past there where such a validation i would at least appreciate it if it could be enabled with default off > It would be nice to have some backtraces for the problematic lmtpd > process. i will look if i can reproduce sieve scripts to do the same local if it really stops now that the combination with move messages in the parent folder and others in a subfolder is replaced with use only subfolders as sieve-target > @Curtis: if you see processes running at 100% cpu without any > database load, please try running > > http://git.dbmail.eu/paul/dbmail/plain/test-scripts/dumpbt.sh > > against it with 'dbmail-lmtpd' as only argument.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
