Great Circle Associates Majordomo-Users
(July 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: taboo headers
From: bh @ stargame . org
Date: Tue, 30 Jul 1996 01:43:57 GMT
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <ufazq4ihc1b.fsf@sina.hpc.uh.edu>
References: <31fd505a.1939272@mindspring.com> <ufazq4ihc1b.fsf@sina.hpc.uh.edu>
Reply-to: bh @ stargame . org

On 29 Jul 1996 18:31:28 -0500, you wrote:

>>>>>> "b" == bh  <bh@stargame.org> writes:
>
>b> I am having trouble getting the taboo headers to work.
>
>Since taboo headers are a 1.94 feature, I certainly hope you're know you're
>using a development version and that you're running 1.94alpha9.

Yes I do.  Since I am not up on perl regexp as I should be the problem is much
more likely to be mine then a problem in 1.94.  I am not forming my perl
expression right more then likely.  I'm not so proud as to not admit when the
error is likely mine.

>b> What would be the proper format of the taboo header line to make all
>b> messages from him get bounced to me for approval?

>taboo_headers       <<  END
>/^from:\s.*user@aol\.com/i
>END
>
>in the list config file would work.  That's: "from:" at the beginning of
>the line followed by at one whitespace character followed by anything (or
>nothing) followed by "user@aol.com" (you may have to escape the `@' in
>perl5), all matched without regard to case.


I forgot to escape the dot in aol.com or on the @.  That is proably what the
problem was.  Thanks.  I'm not up on my regexpes as I should be.  One more
questions if you don't mind.  AOL doesn't have this problem, but some sites put
the users full named after the e-mail address so you get

from: user@aol.com (full name)

How would you change the regex to handle that?

Brian



References:
Indexed By Date Previous: Re: taboo headers
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: taboo headers
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: taboo headers
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: taboo headers
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com