Re: [Exim] String expansion: repeat a character sequence n t… |
Diese Nachricht ist Teil des folgenden Threads: | |
---|---|
Der komplette Thread sortiert nach Datum | |
Matt Bernstein am | |
Christian Vogel am |
> > headers_add = \ > > ${if \ > > match {$h_X-Spam-Score:}{${repeat{\\\\+}{MAILBOX_SPAMTAG_THRESH}}} \ > > {Subject: ***SPAM*** $h_Subject:} {} \ > > }
warn message = X-Spam-Score: $spam_score ($spam_bar) [INT $spam_score_int] spam = nobody:true
... # The SpamTagScore value should be zero or the $spam_score_int value # above which the Subject line will be tagged. # MAILBOX_SPAMTAG_THRESH= \ ${lookup \ pgsql{ \ SELECT SpamTagScore \ FROM Mailbox \ WHERE Name = '${quote_pgsql:$local_part}' \ } \ {$value} \ {0} \ } ...
local_delivery: ... headers_remove = \ ${if \ and { \ { ! ={MAILBOX_SPAMTAG_THRESH}{0} } \ { \ >{${sg{$h_X-Spam-Score:}{\N^.*\[INT (\d+)\]\N}{\$1}}} \ {MAILBOX_SPAMTAG_THRESH} \ } \ } \ {subject} \ {} \ } headers_add = \ ${if \ and { \ { ! ={MAILBOX_SPAMTAG_THRESH}{0} } \ { \ >{${sg{$h_X-Spam-Score:}{\N^.*\[INT (\d+)\]\N}{\$1}}} \ {MAILBOX_SPAMTAG_THRESH} \ } \ } \ {Subject: ***SPAM*** $h_Subject:} \ {} \ }
Diese Nachricht wurde auf der folgenden Mailing-List gepostet: | ||||
---|---|---|---|---|
Exim-users Mailing-List-Info | Nachrichten um die Zeit | Re: [Exim] String expansion: repeat a character sequence n times | Re: [Exim] spam calls home |
Tahini and Hummus and Cumin Development Archives administriert von cumin Admins | Lurker (Version 2.3) |