procmail
[Top] [All Lists]

Re: Mail Forwarding

1997-05-13 00:53:00
On Mon, 12 May 1997 13:12:31 -0700,
"Nevel, Simeon" <Simeon(_dot_)Nevel(_at_)Schwab(_dot_)COM> wrote:
How would one accomplish this if the addresses to foward to were
in a file and what format should the file be in?

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

:0
* conditions
! `cat $HOME/file`

The backticks will transform line feeds in the file into spaces, so it
doesn't really matter whether you use spaces or newlines. I'd think
newlines would be more practical.

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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