[Techtalk] (solved) procmail recipe wont work
Conor Daly
conor.daly-linuxchix at cod.homelinux.org
Wed Jan 10 11:28:03 UTC 2007
On Wed, Jan 10, 2007 at 11:03:48AM +0000 or so it is rumoured hereabouts,
Conor Daly thought:
> So, I'm trying to put together a procmail recipe to forward a particular
> source to a list. The source address is:
>
> first.last+marker at example.com
>
> where first.last at example.com is the address our mailserver forwards to my
> account. The '+marker' bit is to distinguish a particular sender for
> procmail. The current recipe is:
>
> * ^TOfirst.last+marker at example.com
So somebody said:
>> The + has special meaning for regexes, either escape it or replace it
>> with .
>> Paul
The very thing.
* ^TOfirst.last\+marker at example.com
worked.
Conor
--
Conor Daly <conor.daly at cod.homelinux.org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++
------END GEEK CODE BLOCK------
http://www.geekcode.com/ http://www.ebb.org/ungeek/
More information about the Techtalk
mailing list