[Techtalk] procmail recipe wont work

Wim De Smet kromagg at gmail.com
Wed Jan 10 19:37:43 UTC 2007


On 1/10/07, Conor Daly <conor.daly-linuxchix at cod.homelinux.org> wrote:
> 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:
>
> :0
> * ^TOfirst.last+marker at example.com

Looks weird to me. I thought this just got passed to egrep in which
case it should be something like:
* ^To: *first.last+marker at example.com
or
* ^To: first.last+marker at example.com (since there's usually only one
space there anyway)

I seem to be missing something here but I don't know why you wrote TO
and then the address straight behind it. It's probably case
independent but skipping the ':' and the space shouldn't work. Sorry
if I'm completely wrong here.

greets,
Wim


More information about the Techtalk mailing list