procmail
[Top] [All Lists]

Re: Mail Forwarding

1997-05-13 02:03:00
"Nevel" == Nevel, Simeon <Simeon(_dot_)Nevel(_at_)Schwab(_dot_)COM> 
writes:

Nevel> How would one accomplish this if the addresses to foward to
Nevel> were in a file and what format should the file be in?

Nevel> user1(_at_)a(_dot_)com
Nevel> user2(_at_)b(_dot_)edu
Nevel> user3(_at_)c(_dot_)org

Nevel> (separated by newlines)
Nevel> or
Nevel> user1(_at_)a(_dot_)com user2(_at_)b(_dot_)edu user3(_at_)c(_dot_)org

:0
* <conditions>
! `cat addressfile`

This will work in both cases. If your list gets longer, the first
alternative becomes more attractive.

-- 
Guy Geens <ggeens(_at_)iname(_dot_)com>
Home Page: http://www.elis.rug.ac.be/~ggeens
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 

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