procmail
[Top] [All Lists]

old forwarding question

1996-12-11 09:38:23

Hi,

I saw the same kind of question in the archive of the mailing-list, but 
couldn't find any complete answer... So please excuse me if I just missed it!

I currently have a procmail forwarding which looks like that:

:0
* ^TO_gonzo(_at_)me(_dot_)com
! realaddress(_at_)blah(_dot_)com
 
:0
* ^TO_alonzo(_at_)me(_dot_)com
! realalonzo(_at_)xxx(_dot_)com
 
:0
* ^TO_fozzie(_at_)me(_dot_)com
! realfozie(_at_)yyy(_dot_)com


But of course, this is a bit primitive... When a message is sent to both 
'gonzo' and alonzo' (TO: gonzo(_at_)me(_dot_)com, alonzo(_at_)me(_dot_)com), 
the first one coming in 
is forwarded to gonzo, and the second one to...gonzo again!.. Which is 
perfectly normal, given these recipes.

A quick and dirty fix would be to have ':0c' instead of ':0'. In this case, 
the first message coming in would be sent both to gonzo and alonzo, as well as 
the 2nd one. That means they would get the same msg twice.

Is there a solution to this problem? How could I avoid sending the same msg 
twice?

Thanks a lot!
--Pierre

<Prev in Thread] Current Thread [Next in Thread>