Custom rule to filter on sender name

Status
Not open for further replies.
P

Philip Beaurline

I am getting a lot of spam with things like "viagra" and "cialis" in the

sender name, where the sender address changes constantly. I'd like a rule to

filter on this. Can anyone tell me how?

Thanks

Philip
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Create a rule for specific words in the text, there's no need for VBA.

Best regards

Michael Bauer

Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:


> I am getting a lot of spam with things like "viagra" and "cialis" in the
> sender name, where the sender address changes constantly. I'd like a rule


to
> filter on this. Can anyone tell me how?

> Thanks
> Philip
 
P

Philip Beaurline

Thanks for your reply.

I do have rules for the sender address, subject, message header and message

body, but they don't catch words in the SenderName field. I am trying to

cobble together a custom rule but my VBA skills are next to nothing.

"Michael Bauer " wrote:



> Create a rule for specific words in the text, there's no need for VBA.

> > Best regards
> Michael Bauer

> > >

> Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:
>
> > I am getting a lot of spam with things like "viagra" and "cialis" in the
> > sender name, where the sender address changes constantly. I'd like a rule

> to
> > filter on this. Can anyone tell me how?
> > Thanks
> > Philip

> .
>
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
The message header should do it.

Best regards

Michael Bauer

Am Thu, 12 Nov 2009 06:27:02 -0800 schrieb Philip Beaurline:


> Thanks for your reply.

> I do have rules for the sender address, subject, message header and


message
> body, but they don't catch words in the SenderName field. I am trying to
> cobble together a custom rule but my VBA skills are next to nothing.

> "Michael Bauer " wrote:
>
>

>
>> Create a rule for specific words in the text, there's no need for VBA.
>

>> > > Best regards
> > Michael Bauer
>

>> >> >>

>

>
>> Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:
> >
> >> I am getting a lot of spam with things like "viagra" and "cialis" in the
> >> sender name, where the sender address changes constantly. I'd like a


rule
> > to
> >> filter on this. Can anyone tell me how?
> >
>>> Thanks
> >> Philip

> > .
> >
 
P

Philip Beaurline

Well I thought so too. Something is apparently blocking the rule from reading

the SenderName in the header. I tested this by creating a rule that

successfully detected part of the email address, but my Sender Name rule

would not detect anything in SenderName. Hence my quest to make a custom

rule. Is there something I am missing?

Thanks for your help with this.

"Michael Bauer " wrote:



> The message header should do it.

> > Best regards
> Michael Bauer

> > >

> Am Thu, 12 Nov 2009 06:27:02 -0800 schrieb Philip Beaurline:
>
> > Thanks for your reply.
> > I do have rules for the sender address, subject, message header and

> message
> > body, but they don't catch words in the SenderName field. I am trying to
> > cobble together a custom rule but my VBA skills are next to nothing.
> > "Michael Bauer " wrote:
> >
> >
> >
> >> Create a rule for specific words in the text, there's no need for VBA.
> >
> >> > >> Best regards
> >> Michael Bauer
> >
> >> > >> > >>

> >
> >
> >> Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:
> >
> >>> I am getting a lot of spam with things like "viagra" and "cialis" in the
> >>> sender name, where the sender address changes constantly. I'd like a

> rule
> >> to
> >>> filter on this. Can anyone tell me how?
> >>
> >>> Thanks
> >>> Philip
> >> .
> >>

> .
>
 
P

Philip Beaurline

Oh nevermind. I just figured out that the rule filter words are case

sensitive. Argh.

"Philip Beaurline" wrote:


> Well I thought so too. Something is apparently blocking the rule from reading
> the SenderName in the header. I tested this by creating a rule that
> successfully detected part of the email address, but my Sender Name rule
> would not detect anything in SenderName. Hence my quest to make a custom
> rule. Is there something I am missing?

> Thanks for your help with this.

> "Michael Bauer " wrote:
>
> > The message header should do it.
> > > > Best regards
> > Michael Bauer
> > > > > >

> > Am Thu, 12 Nov 2009 06:27:02 -0800 schrieb Philip Beaurline:
> >
> > > Thanks for your reply.
> > > > I do have rules for the sender address, subject, message header and

> > message
> > > body, but they don't catch words in the SenderName field. I am trying to
> > > cobble together a custom rule but my VBA skills are next to nothing.
> > > > "Michael Bauer " wrote:
> > > >
> > >
> > >> Create a rule for specific words in the text, there's no need for VBA.
> > >
> > >> > > >> Best regards
> > >> Michael Bauer
> > >
> > >> > > >> > > >>

> > >
> > >
> > >> Am Wed, 11 Nov 2009 08:23:08 -0800 schrieb Philip Beaurline:
> > >
> > >>> I am getting a lot of spam with things like "viagra" and "cialis" in the
> > >>> sender name, where the sender address changes constantly. I'd like a

> > rule
> > >> to
> > >>> filter on this. Can anyone tell me how?
> > >>
> > >>> Thanks
> > >>> Philip
> > >> .
> > >>

> > .
> >
 
Status
Not open for further replies.
Top