David Mathog wrote: > For a class I set up a common email so that the students could > communicate with the TAs. When mail is sent to it, it delivers that > message to the common account and my account, and also forwards that > message to the TAs. The current .forward is just: > > \common_account, \my_account, [EMAIL PROTECTED], [EMAIL PROTECTED] > > Somehow or other that email address made it onto a spam list. The > common account only needs to receive mail from campus addresses. So I > want to put something like the following in the .forward instead, but > this is pseudocode because I do not know the correct syntax: > > # exim filter > if $reply_to = "campus.edu$" then #reply_to ENDS in "campus.edu" > deliver common_account #delivery to addressee on this machine > deliver my_account #delivery to 2nd account on this machine > deliver [EMAIL PROTECTED] #forward to one TA > deliver [EMAIL PROTECTED] #forward to another TA > fi > finish > > What is the actual syntax for this?
Forward doesn't have conditions, what you need is procmail. -- René Berber -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
