Re: [exim] How to forward outgoing mail to specific email ac…

Etusivu
Poista viesti
Vastaa
Lähettäjä: tony ha
Päiväys:  
Vastaanottaja: James R. Price
Kopio: exim-users@exim.org
Aihe: Re: [exim] How to forward outgoing mail to specific email account
Dear James,

Thanks for your advice. I can solve my problem with system filter. But I
want one domain (user) have separate filter file not one. I will try your
direction. Thank you once again.

Vy,


On Fri, Jan 18, 2013 at 9:37 PM, James R. Price <james@???>wrote:

> On Jan 18, 2013, at 4:01 AM, "tony ha" <tonyha1090@???> wrote:
>
> > Hi all,
> >
> > I am researching two day for my question. I want to filter all outgoing
> > email from specific domain to email admin@???. I find this
> tutorial
> > via link
> >
> http://www.instacarma.com/blog/technical/how-to-set-up-a-forwarder-for-outgoing-emails/
> ,
> > but it's not match my require. Because, I want have separate filter
> > file
> > not one file /etc/cpanel_exim_system_filter.
> >
> > Please help me solve this problem. And I am sorry for my bad english.
> > Thanks!
> > --
> > ## 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/
>
> If I understand you correctly you simply want to redirect email from a
> given domain and redirect it to an email account of your choosing.
>
> Example using wildcarded sender at domain.com:
> redirect2email_router:
>         driver = redirect
>         senders = *@domain.com
>         data = admin@???

>
> This is pretty simple, you can get crazy here with conditions matching on
> all sorts of things, this is pretty simple. Moral of the story, a redirect
> router is your guy. I would use some additional logic to limit this sort
> of thing to a given server or servers. That can be done with a condition
> matching on some other identifier.
>
> Thanks,
> James
>
>