simscan's regex

Posted by alexus on Server Fault See other posts from Server Fault or by alexus
Published on 2010-03-14T00:41:09Z Indexed on 2010/03/14 0:45 UTC
Read the original article Hit count: 614

Filed under:
|
|
|
-bash-3.2# cat /var/qmail/control/simcontrol
:clam=yes,spam=yes,spam_hits=7.0,regex=^Subject\072.*(7.|8.)\%.*:(?m)\.ru\/\n{21}
-bash-3.2# cat ./cur/msg.1268526916.764928.8759:2,S | pcregrep -M
'(?m)\.ru\/\n{21}'
Party's over for Clinton http://260.noonwife.ru/




















of because Abraham is large Confessional murdered the for
-bash-3.2# grep -c REGEX /var/log/qmail/smtpd/@*
/var/log/qmail/smtpd/@400000004b9c134f0095ecdc.s:25
/var/log/qmail/smtpd/@400000004b9c144c2748a9dc.s:6
/var/log/qmail/smtpd/@400000004b9c16eb2ac491fc.s:12
/var/log/qmail/smtpd/@400000004b9c1c61239185ac.s:28
/var/log/qmail/smtpd/@400000004b9c216a3013fdb4.s:29
/var/log/qmail/smtpd/@400000004b9c26b11fb5263c.s:22
/var/log/qmail/smtpd/@400000004b9c2b2505d2035c.s:25
/var/log/qmail/smtpd/@400000004b9c2ec3139530f4.s:12
/var/log/qmail/smtpd/@400000004b9c312c160d7454.s:4
-bash-3.2#

first regex works, yet i can't get it to match second, even though pcregrep matches it using same regex just fine

any ideas?

© Server Fault or respective owner

Related posts about qmail

Related posts about simscan

  • simscan's regex

    as seen on Server Fault - Search for 'Server Fault'
    -bash-3.2# cat /var/qmail/control/simcontrol :clam=yes,spam=yes,spam_hits=7.0,regex=^Subject\072.*(7.|8.)\%.*:(?m)\.ru\/\n{21} -bash-3.2# cat ./cur/msg.1268526916.764928.8759:2,S | pcregrep -M '(?m)\.ru\/\n{21}' Party's over for Clinton http://260.noonwife.ru/ of because Abraham… >>> More