Re: crm114 and procmail: eating mails

Antoine Junod <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Paolo <[email protected]> writes:

> On Mon, Apr 21, 2008 at 08:11:42AM +0200, Antoine Junod wrote:
>> 
>> ### ->
>> :0fw: .lockmsg
>> | /usr/bin/crm114 -u /usr/share/crm114/ --fileprefix /usr/share/crm114/ mailfilter.crm
>> 
>> :0
>> /var/vpopmail/domains/my.domain.com/tickets/.maildir/
>> ### <-
>> 
>> All the crm files are in /usr/share/crm114/ directory. I'm not sure of
>
> it's unlikely you / mail have rw permission in /usr/share/crm114/ (a system
> folder) - pls post mailfilter.cf.

Below are the relevant parts of mailfilter.cf (all but the
comments). The only thing I've changed is the password. And I've
checked the availability of the mime decoder and the cache dupe
command.

I've tested with chmoding /usr/share/crm114 and all its content to
777. Without any difference.

> Also, run procmail with VERBOSE=yes and catch the whole log for a test run
> with crm recipe active.

What is crm recipe active? Here is a log for a minimal test mail:

procmail: [397] Tue Apr 22 21:21:35 2008
procmail: Locking ".lockmsg"
procmail: Executing "/usr/bin/crm114,-u,/usr/share/crm114/,--fileprefix,/usr/share/crm114/,mailfilter.crm"
procmail: Unlocking ".lockmsg"
procmail: Assigning "LASTFOLDER=/var/vpopmail/domains/vecchio.shockfish.com/tickets/.maildir/new/1208892095.397_1.vecchio"
  Folder: /var/vpopmail/domains/vecchio.shockfish.com/tickets/.maildir        0


Thanks a lot for your reply,
-AJ

# Mailfilter.cf
:spw: /mytailorisrich/
:verbose_startup: //
:do_base64: /yes/
:mime_decoder: /mimencode -u/
:mime_decoder: /openssl base64 -d/
:cache_dupe_command: /\/bin\/ln/
:general_fails_to: //
:rejected_mail_exit_code: /0/
:accepted_mail_exit_code: /0/
:unsure_mail_exit_code: /0/
:program_fault_exit_code: /1/
:add_headers: /yes/
:add_verbose_stats: /yes/
:add_mailtrainer_report: /yes/
:add_extra_stuff: /no/
:spam_flag_subject_string: /ADV:/
:good_flag_subject_string: //
:unsure_flag_subject_string: /UNS:/
:confirm_flag_subject_string: /TCF:/
:rewrites_enabled: /yes/
:log_to_allmail.txt:  /yes/
:log_all_mail_to_file: //
:mail_separator: /\n-=-=-=-=-=-=- cut here -=-=-=-=-=-=-\n/
:text_cache: /reaver_cache/
:trainer_invoke_command: /.\/mailtrainer.crm/
:trainer_randomizer_command: /.\/shuffle.crm/
:log_rejections: /yes/
:log_rejections_to_file: //
:inoculations_enabled: /no/
:decision_length: /16000/
:expand_urls: /no/
:url_fetch_cmd:  /wget -T 30 -O -  /
:url_trim_cmd:  / head -c 16000 /
:clf: /osb unique microgroom/
:good_threshold: /10.0/
:spam_threshold: /-10.0/
:thick_threshold: /10.0/
:lcr: /[[:graph:]]+/
:undo_interruptus: /no/
:automatic_training: /no/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.