[sclug] procmail help

Tom Dawes-Gamble tmdg at tmdg.co.uk
Sun Mar 21 20:50:14 UTC 2004


OK you procmail gurus.

One of the mailing lists I subscribe to have the "List-Id:" header
configured wrongly.  So when I use "Reply To List" in Evolution
I get a bogus address.  I've told them but they know better and 
insist it's configured correctly.

So I'd like to configure procmail to correct it for me.

I used to have 
:0:
* ^Sender: listname-bounces at domain.org.uk
List_Folder

that put everything in to the folder OK.

I thought something like :-

:0:
* ^Sender: listname-bounces at domain.org.uk
| sed -e 's/List-Id: List name <bogus.dom.ain.domain.org.uk>/List-Id:
List Name <listname.domain.org.uk>/' >> List_Folder

should do the trick but that just puts the mail in my normal inbox
so it looks like the rule is not being triggered.

The sed line is on one line in the .procmailrc file.

So what is the magic to make it do what I want.

Tom.

-- 
There are 10 sorts of people.
Those that understand binary and those that don't!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.tmdg.co.uk/pipermail/sclug/attachments/20040321/13631bf0/attachment.bin


More information about the Sclug mailing list