Re: Blocking cannibalized spam/virus mail with password-protected attachments

Matus UHLAR - fantomas <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
On 13.01.21 20:55, Nikolaos Milas wrote:
>How could I modify the above to also capture the text "Archiv 
>Passwort: 9999"
>
>Would the following work?
>
>body        __ARCHIVE_PASSWORD_1 /pass(word|wort)? archiv(e|io)?:/i
>body        __ARCHIVE_PASSWORD_2    /archiv(e|io)? pass(word|wort)?:/i
>meta        ARCHIVE_PASSWORD    __ARCHIVE_PASSWORD_1 || __ARCHIVE_PASSWORD_2
>describe    ARCHIVE_PASSWORD    provides archive password
>score        ARCHIVE_PASSWORD    5
>
>Sorry, I am struggling through these...

it should, although this belongs more to spamassassin users list.

"(" could be replaced by "(?:" to spare some CPU cycles.

you can also feed the mail to "spamassassin -d", it should show you if it
loaded those meta rules.



-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a teepee: no Windows, no Gates and an apache inside...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.