procmail
[Top] [All Lists]

Mails to be sent to 2 domains.

2001-08-01 07:17:55
Hello,
I use sendmail as MTA and procmail as MDA.
I would like  all messages that come to xxx(_at_)domain1 to be sent to
1- xxx(_at_)domain1 as it does actually,
and also to
2- xxx(_at_)domain2(_dot_)

I can make it work user by user doing this:

: 0  c
* ^TO (_dot_)*userx(_at_)domain1
! userx(_at_)domain2

: 0  :
* ^TO (_dot_)*userx(_at_)domain1
! userx(_at_)domain1

but I have 1200 users.
I think that it might be possible to do this
with only one (or 2) recipe but I don't find the solution.
Thank you for your help.


_________________________________________________________________
Téléchargez MSN Explorer gratuitement à l'adresse http://explorer.msn.fr/intl.asp

_______________________________________________
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>