[Esd-l] Procmail regexp query
John D. Hardin
jhardin at impsec.org
Fri Jan 18 21:33:01 PST 2002
On Fri, 18 Jan 2002, Marcus Williams wrote:
> :0
> * ^From:.*<[a-z0-9\.]+@(quintic.co.uk|onq2.com)>
> * ^To:.*<[a-z0-9\.]+@(quintic.co.uk|onq2.com)>
-------------------------------^--^-------^
Escape the periods and you should be fine.
> {
> SECURITY_STRIP_MSTNEF=
> }
>
> Basically I'm not sure of the \. bit - I can never remember this!
If you want to match a period, you need to escape the period in the
regexp.
> Will this match something like user.one at quintic.co.uk?
It should.
> Also (slightly off topic) with regards to the way Net folders
> work, is there anything else I should switch off? If I have to
> switch anything else off I'll make the recipe a lot more specific,
I don't know.
> but for the time being I dont mind tnef attachments internally
> (bound to regret that statement).
For internal mail it shouldn't present a problem unless you've got a
mix of mail clients.
--
John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
jhardin at impsec.org pgpk -a jhardin at wolfenet.com
768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5 E9 BF C8 33 A7 A9 CE 76
1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Monty Python's Star Trek Voyager:
A successful trans-warp experiment turns Paris and Janeway into
newts, but they get better.
...wait a minute... It's already been done...
-----------------------------------------------------------------------
Tomorrow: Babylon 5: the Legend of the Rangers
More information about the esd-l
mailing list