Re: [exim] cc'ing outgoing mail

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Yan Seiner
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] cc'ing outgoing mail

On 06/04/2014 04:55 AM, Jasen Betts wrote:
> On 2014-06-03, Yan Seiner <yan@???> wrote:
>> I have several domains and email addresses I want to CC myself on. I'm
>> using this router:
>>
>>           cc_to_me:
>>               driver = redirect
>>               domains = xxx.com : yyy.com : zzz.ca : aaa.org
>>           headers_add = "X-cc-to-me: by $primary_hostname on $tod_full\n\
>>           Reply-To: YanS@???"
>>               data = $local_part@$domain, yan@???

>>
>> Is it possible to match for a specific email address rather than an
>> entire domain as above?
> condition + if + inlist
>
> like this:
>
>   condtions=${if inlist{$local_part@$domain}\
>     {one@??? : two@??? : three@??? : four@???}}


Thanks.

>
>> Further, this is cumbersome. I find that I need to keep fiddling with
>> exim config files. I'd like to set up something like .forward for
>> outgoing mail that says
>> if $h_to: contains "somebody@???" then cc yan@??? and add
>> reply-to: yans@???
>>
>> Is that possible?
> I can't see an easy way to put all of that in a file that's outside of
> exim's configuration.
>

Reading the docs, it looks like I could use a per-address system filter?

http://www.exim.org/exim-html-current/doc/html/spec_html/ch-systemwide_message_filtering.html#SECTperaddfil

Would that work or am I off-base?

--Yan