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: y...@qqq.com"
            data = $local_part@$domain, y...@seiner.com

Is it possible to match for a specific email address rather than an entire domain as above?

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 "someb...@xxx.com" then cc y...@seiner.co and add reply-to: y...@qqq.com

Is that possible?

--
## List details at https://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/

Reply via email to