New topic. Need a procmail recipe.

Ben Boulanger ben at blackavar.com
Tue Jul 8 16:02:21 EDT 2003


On Tue, 8 Jul 2003, Steven W. Orr wrote:
> I'm running majordomo2 here. I have list A which is only for officials in
> my town. List B is open to all residents. I'm toying with the idea of
> requiring all officals who want to be on A to also be on B. The goal is to
> prevent the A people from getting two copies when someone on A sends to
> both A and B. If all A's are also on B then I can define a rule which says
> that if you want to send to both then please only send to B (which would
> hit everybody). Since the average IQ (by definition) is 100 then half the
> officials must be below that. And that means that even if I tell them not
> to, they will send to both A and B (when they want to reach everyone). In
> that case, I want procmail to take over and change the To: from A,B to
> just B.

So... maybe something like

:0H
* listb at domain.com
{
	:0H
	* lista at domain.com
	| sed -e 's/lista at domain.com//'
}

???  Never tried this, but I've done something similar.  The other option 
is just stick formmail in in place of sed.

Ben



-- 

"Intelligence complicates. Wisdom simplifies." -- Mason Cooley




More information about the gnhlug-discuss mailing list