In a "split" configuration, where would these warn sets be placed? The sections of the combined "exim4.conf.template" also correspond to the individual files for splits. So ... where did you do this?
Note that I am not using the 850_exim4-config_spamcheck_router but currently using procmail to run spamassassin. So was all of this was there? > Sorry for the caps! In my config should be like this, Im not very > experienced in exim rules: > > warn > condition = ${if <={$message_size}{200K}} > condition = ${if eq {${acl_m0}}{1}{1}{0}} > spam = ${acl_m1}/defer_ok > log_message = "SpamAssassin as ${acl_m1} detected message as spam" > add_header = X-Spam-Subject: ***SPAM*** $h_subject > add_header = X-Spam-Status: Yes, score=$spam_score > add_header = X-Spam-Score: $spam_score_int > add_header = X-Spam-Bar: $spam_bar > add_header = X-Spam-Report: $spam_report > add_header = X-Spam-Flag: YES > set acl_m2 = 1 > > warn > condition = ${if <={$message_size}{200K}} > condition = ${if eq {${acl_m0}}{1}{${if eq {${acl_m2}}{1}{0}{1}}}{0}} > add_header = X-Spam-Status: No, score=$spam_score > add_header = X-Spam-Score: $spam_score_int > add_header = X-Spam-Bar: $spam_bar > add_header = X-Spam-Flag: NO > log_message = "SpamAssassin as ${acl_m1} detected message as NOT spam" > > Magnus Holmgren-3 wrote: > > Please do not abuse the subject line with excessive capitals and > > exclamation > > marks. > > > > On Thursday 02 August 2007 15:14, Diego H. wrote: > >> Below is my spamassassin rules at exim, seems that SA is scanning > >> everything and I want to limit the scanning size up to 100k, no more. I > >> read that there is a rule called message_size but I dont know where to > >> insert it in my config: > > > > This is an Exim question, so please post further questions there. > > > > There is an expansion variable called $message_size. You can add > > something like > > > > condition = ${if <={$message_size}{200K}} > > > > to the beginning of each warn statement to disable scanning of messages > > larger > > than (in this example) 200 KiB. Please read chapters 11 and 40-41 of the > > Exim > > specification to learn how your configuration works. > > > >> Thanks in advance!! > >> > >> warn > >> condition = ${if eq {${acl_m0}}{1}{1}{0}} > >> spam = ${acl_m1}/defer_ok > >> log_message = "SpamAssassin as ${acl_m1} detected message as spam" > >> add_header = X-Spam-Subject: ***SPAM*** $h_subject > >> add_header = X-Spam-Status: Yes, score=$spam_score > >> add_header = X-Spam-Score: $spam_score_int > >> add_header = X-Spam-Bar: $spam_bar > >> add_header = X-Spam-Report: $spam_report > >> add_header = X-Spam-Flag: YES > >> set acl_m2 = 1 > >> > >> warn > >> condition = ${if eq {${acl_m0}}{1}{${if eq {${acl_m2}}{1}{0}{1}}}{0}} > >> add_header = X-Spam-Status: No, score=$spam_score > >> add_header = X-Spam-Score: $spam_score_int > >> add_header = X-Spam-Bar: $spam_bar > >> add_header = X-Spam-Flag: NO > >> log_message = "SpamAssassin as ${acl_m1} detected message as NOT > >> spam" > >> > >> deny > >> condition = ${if eq {${acl_m0}}{1}{${if > >> > >> >{$spam_score_int}{100}{1}{0}}}{0}} > >> > >> log_message = "The mail server detected your message as spam and has > >> prevented delivery (100)." > >> message = "The mail server detected your message as spam and has > >> prevented delivery." > >> > >> :super: > > > > -- > > Magnus Holmgren [EMAIL PROTECTED] > > (No Cc of list mail needed, thanks) > > > > "Exim is better at being younger, whereas sendmail is better for > > Scrabble (50 point bonus for clearing your rack)" -- Dave Evans