On 24/09/10 14:12, Steven Haigh wrote:
On 24/09/10 14:07, Steven Haigh wrote:
On 24/09/10 07:27, Bill McGonigle wrote:
On 09/23/2010 03:14 AM, Steven Haigh wrote:
So, lets all stop complaining and take control over your own stuff!
Good call, Steven. Does anybody have a recipe for knocking out Reply-To
headers?
Well, it looks like the current headers are as such:
Reply-To: Discussions by users about RPMforge packages
<[email protected]>
As a quick knockup, it'd be something like this:
## RPMForge email
:0 f
* ^X-BeenThere:.*[email protected]
| sed -e '/^Reply-To.*/Reply-To:use...@lists\.rpmforge\.net/g'
:0 A
.Mail\ Lists.RPMForge/
I haven't tested this, and it probably won't work if the Reply-To is
split over two lines, however someone much better with sed could
probably fix this in a matter of seconds :)
In fact, on further thought, all procmail is doing is running a command
and supplying the email via stdin. This means you could do it in bash /
perl / python / whatever and write whatever you want to get the desired
result. You could easily rewrite the whole email if you wanted to...
Ok, so I got curious.... There seems to be an even simpler way:
:0 fhw
^X-BeenThere:.*[email protected]
| formail -i "Reply-To: [email protected]"
This should change the reply-to to the list if it isn't already set to
that. This assumes that it is not done as the default on the mailing list...
--
Steven Haigh
Email: [email protected]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users