procmail
[Top] [All Lists]

RE: fumbling with multiple TO's and forwarding

2000-10-25 18:06:20
well, after some ado, i've come up with the following:

:0c
* ^TO_*famke(_at_)anakha(_dot_)net
{
  :0:
  ! m(_dot_)mesch(_at_)wanadoo(_dot_)nl
  :0
  /dev/null
}
:0c
* ^TO_*matthijs(_at_)anakha(_dot_)net
{
  :0:
  ! matthijs(_dot_)sneijders(_at_)chorusgroup(_dot_)com
  :0
  /dev/null
}
:0c
* ^TO_*frub(_at_)anakha(_dot_)net
{
  :0:
  ! w(_dot_)van(_dot_)der(_dot_)horst(_at_)hccnet(_dot_)nl
  :0
  /dev/null
}
:0:
* ^TO_*(frub|famke|matthijs)@anakha.net
* ! ^TO_*wouter(_at_)anakha(_dot_)net
/dev/null

(by the way, the '*' after ^TO_ seems to be necessary)

this seems to work. one of the other problems i encountered
wat that procmail is invoked with my provider without a .forward!
it never used to, they must've changed it recently! that's probably
why i got every message twice...

thanks for helping me out, if you have any suggestions about
how to make this a bit better, please let me know.

wouter

<< mailto:wouter(_at_)anakha(_dot_)net >>         -=(UDIC)=-
-------------------------------------------------
"I'm a Leo.  Leos don't believe in this astrology stuff."
        -- Tom Neff


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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