Re: rule with multiple lines

2016-08-18 Thread Martin Gregorie
On Thu, 2016-08-18 at 13:50 +, Nicola Piazzi wrote: > Is there a way to have multiple line in a single rule ? > Not as far as I know.  I use long lists (e.g. selling terms or product names) to recognise advertising spam and initially thought of writing something like an RBL to handle such lis

rule with multiple lines

2016-08-18 Thread Nicola Piazzi
Is there a way to have multiple line in a single rule ? For example : metaOW_SENT_EMAIL ( OW_T_SENT_EMAIL && ! OW_T_REF_EMAIL && ! OW_T_REF_FULL && ! OW_REF_THIS && OW_PASS) Will be better : metaOW_SENT_EMAIL ( OW_T_SENT_EMAIL

Re: Header-Rule with multiple lines

2005-03-15 Thread Eric A. Hall
On 3/15/2005 2:50 AM, Jörg Schütter wrote: > I want to write a additional rule for spamassassin (3.0.2) which > match the following header lines. > > Received: from blabla (unknown [1.2.3.4]) > by my.mailserver.com > > This rule shuld add bad scores to machines which don't talk rfc. http

Re: Header-Rule with multiple lines

2005-03-15 Thread Matt Kettler
At 02:50 AM 3/15/2005, Jörg Schütter wrote: This rule shuld add bad scores to machines which don't talk rfc. Her is my try which doesn't succeded. header MY_RECV_FQDN1 Received =~ /^from [a-zA-Z0-9-]+ (\w+ \w+) by hostname\d\d\.domain\.com describe MY_RECV_FQDN1 Sender does not use FQN in EHLO sco

Header-Rule with multiple lines

2005-03-15 Thread Jörg Schütter
Hallo, I want to write a additional rule for spamassassin (3.0.2) which match the following header lines. Received: from blabla (unknown [1.2.3.4]) by my.mailserver.com This rule shuld add bad scores to machines which don't talk rfc. Her is my try which doesn't succeded. header MY_RECV_