Re: BlameSentansoken...
"Alejandro Mery" <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
> The first issue I found using crm114 this way is the handling of > :text_cache: ... file names defined in mailfilter.cf are supposed to > be :fileprefix: relative, but this is not true when talking about > :text_cache:. I think mailreaver.crm should prefix it, as it does to > the other variables it use for writting files. do you agree? (to send > you the patch) > > Yep. That's a bug. > > Either it's a "documentation" bug (we should either redefine :fileprefix: > to point only to the executable parts) or it's a genuine "Hey, the > code needs *this*." > > I agree with you though. Best to fix it so it does what the documentation > says it does. what's the right way to fix it, preppeding :*:fileprefix: when :*:text_cache: is used or "alter"ing :text_cache: at the begging (when defined)? (I'm using the second currently because the patch was smaller) > The second issue is "_mcleanup: gmon.out: Permission denied" ... how > can I disable profiling? > > That's in the Makefile. Look at the top of the file where the Makefile > defines the CFLAGS. > > There are several options there; I believe the one that turns on > profiling is -pg so delete that, save the file, and do a "make install". > That should do it. yes, removing -pg solved the problem :-) > And the third issue is that I get empty output for large files (outch) > ... It's fine at allmails.log, but never comes out. may it be related > to temporal storage permissions or to the second issue? > > Empty output in... as in you run the filter and allmail.txt gets written > BUT nothing comes out on stdout? And this depends only on the size of > the input file? > > hmmm... Maybe you're blowing the data window limit, part way through > the runtime? Can you run it on one of the large files from a terminal > window and see if you get any error messages? let's the "code" speak ;-) # whoami root # ls -al .crm/.deliver.zSAHL14278.crash -rw------- 1 vmail vmail 6424234 Aug 14 07:15 .crm/.deliver.zSAHL14278.crash # /usr/bin/crm -u /usr/share/crm114 --fileprefix=$PWD/.crm/ mailreaver.crm < .crm/.deliver.zSAHL14278.crash # echo $? 1 # strace -vvfF -o crm.strace /usr/bin/crm -u /usr/share/crm114 --fileprefix=$PWD/.crm/ mailreaver.crm < .crm/.deliver.zSAHL14278.crash # echo $? 0 # tar jcf crm.strace.tbz crm.strace.* .crm/.deliver.zSAHL14278.crash http://geeks.cl/crm.strace.tbz It's a forward of a mail with a .wmv I sent for testing, but let me know when I can delete it :p Thanks, Alejandro Mery ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/