procmail
[Top] [All Lists]

Using an alias file to copy/forward mail to other addresses

2005-08-02 21:48:14
I have lots of recipes similar to the ones below:

:0 c
* ^X-Original-To:.(fred|barney|wilma)@mydomain\.com
! me(_at_)anotherdomain(_dot_)com

:0 c
* ^X-Original-To:(_dot_)betty(_at_)mydomain\(_dot_)com
! you(_at_)yetanotherdomain(_dot_)com \
  someoneelse(_at_)anywhere(_dot_)com


It would be easier if I could just dump the names in a file, and have the 
file parsed for forwarding addresses.  Eg:

fred(_at_)mydomain(_dot_)com     me(_at_)anotherdomain(_dot_)com
betty(_at_)mydomain(_dot_)com     you(_at_)yetanotherdomain(_dot_)com     
someoneelse(_at_)anywhere(_dot_)com

The first column is the address here, the rest of the line is a list of 
email addresses to forward to.

Thanks,
Steve :) 


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail