You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Daniel R." <dr...@sawag.com> on 2010/02/02 14:13:36 UTC
SA Blacklist for Display Names?
Hi All,
we get a lot of Spam with some bad Words in the Display name of the sender.
With the blacklist_from command it is possible to filter by email-address,
but what is the right notation for filtering the display name of the sender?
can you please helb me?
Thanks a lot,
bye Daniel
--
View this message in context: http://old.nabble.com/SA-Blacklist-for-Display-Names--tp27420107p27420107.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: SA Blacklist for Display Names?
Posted by Martin Gregorie <ma...@gregorie.org>.
On Tue, 2010-02-02 at 05:13 -0800, Daniel R. wrote:
> Hi All,
> we get a lot of Spam with some bad Words in the Display name of the sender.
> With the blacklist_from command it is possible to filter by email-address,
> but what is the right notation for filtering the display name of the sender?
>
> can you please helb me?
>
At present you can only match strings in the From: header, so add a
local rule in /etc/mail/spamassassin/local.cf something like this:
describe XX_BADWORDS Bad words in the sender name
header XX_BADWORDS From =~ /bad words pattern/i
score XX_BADWORDS 5.0
See http://wiki.apache.org/spamassassin/WritingRules for a fuller
explanation.
Martin