Am 17.09.2014 um 11:31 schrieb Axb:
> On 09/17/2014 10:51 AM, Reindl Harald wrote:
>> Hi
>>
>> for some mailing-lists a "more_spam_from" would make
>> sense instead whitelist a sender- is there a rule i
>> don't see or has somebody a working one for "local.cf"?
>>
>> honestly i would like to have 4 options depending
>> on sender or RCPT
>>
>> * more_spam (-2)
>> * most_spam (-4)
>> * lot_of_spam (-6)
>> * all_spam (-100)
> 
> http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.txt
> 
> more_spam_to
>  more_spam_to users@spamassassin.apache.org

yes - i mentioned that in my subject, but i asked for "more_spam_FROM"
instead just whitelist senders that seems to be defined all in
"WLBLEval.pm" which is a little bit unlucky to extend

what i want to achieve is 4 levels of negative score for
both - FROM and TO just because it makes sense to handle
some mailing lists different without whitelist them completly
and the same for different RCPT, one user is living in asia
and needs complete different settings

there is also a need to handle "securityfocus" ML different
to "postfix-users" without completly whitelist them

finally offer in the existing webinterface (self-written) a drop-down for
each listed address/domain as well as define the score for each level in
the general settings to adjust

as usal the cronjob builds "local.cf" from a template and that settings

not pissible taht way but below how i imagine that
____________________________________________________________________

score USER_IN_MORE_SPAM_TO -2
header USER_IN_MORE_SPAM_TO eval:check_to('USER_IN_MORE_SPAM_TO')

score USER_IN_MOST_SPAM_TO -4
header USER_IN_MOST_SPAM_TO eval:check_to('USER_IN_MOST_SPAM_TO')

score USER_IN_ALMOST_ALL_SPAM_TO -6
header USER_IN_ALMOST_ALL_SPAM_TO eval:check_to('USER_IN_ALMOST_ALL_SPAM_TO')

score USER_IN_ALL_SPAM_TO -100
header USER_IN_ALL_SPAM_TO eval:check_to('USER_IN_ALL_SPAM_TO')
____________________________________________________________________

score USER_IN_MORE_SPAM_FROM -2
header USER_IN_MORE_SPAM_FROM eval:check_from('USER_IN_MORE_SPAM_FROM')

score USER_IN_MOST_SPAM_FROM -4
header USER_IN_MOST_SPAM_FROM eval:check_from('USER_IN_MOST_SPAM_FROM')

score USER_IN_ALMOST_ALL_SPAM_FROM -6
header USER_IN_ALMOST_ALL_SPAM_FROM 
eval:check_from('USER_IN_ALMOST_ALL_SPAM_FROM')

score USER_IN_ALL_SPAM_FROM -100
header USER_IN_ALL_SPAM_FROM eval:check_from('USER_IN_ALL_SPAM_FROM')
____________________________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to