7 Oct 19:40
Help with simple .forward filter: accept only campus mail
From: David Mathog <mathog <at> caltech.edu>
Subject: Help with simple .forward filter: accept only campus mail
Newsgroups: gmane.mail.exim.user
Date: 2008-10-07 17:41:02 GMT
Subject: Help with simple .forward filter: accept only campus mail
Newsgroups: gmane.mail.exim.user
Date: 2008-10-07 17:41:02 GMT
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, ta1 <at> campus.edu, ta2 <at> campus.edu 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 ta1 <at> campus.edu #forward to one TA deliver ta2 <at> campus.edu #forward to another TA fi finish What is the actual syntax for this? Thanks, David Mathog mathog <at> caltech.edu Manager, Sequence Analysis Facility, Biology Division, Caltech -- --(Continue reading)
>
> When recipient addresses belongs to the same domain router runs only ONCE
> for this domain.
>
> So if one of recipients does NOT match the condition criteria ("condition
> failure")
> the router doesn't process the remaining recipients for THIS domain.
>
> But it WILL process recipients in another domain.
>
>
> Example:
>
> #Router configuration
> blackholes:
> # Only addr1 should be blackholed!
> condition = ${if match{$local_part}{addr1}{1}{0}}
> driver = redirect
> data = :blackhole:
> no_verify
>
>
> Assume message has 2 recipients in the same domain: addr1@??? and
> addr2@???
>
> If router "sees" addr1 first it will blackhole it (as it matches condition
> criteria) and then will process addr2.
>
RSS Feed