Re: [exim] route authenticated mail via a smarthosts and non…

Inizio della pagina
Delete this message
Reply to this message
Autore: Dominic Benson
Data:  
To: exim-users
Oggetto: Re: [exim] route authenticated mail via a smarthosts and non authenticated out another.
I would set an acl_m_ var when you accept authenticated mail, and then check that in the condition of your (authenticated smarthost) router, immediately before the default smarthost for unauth senders.

Heavily abbreviated illustration:

(acl section)
  accept
    authenticated = *
    set acl_m_authenticated = 1



(router section)
smarthost_authusers:
condition = $acl_m_authenticated
driver = manualroute
route_list = * auth.smarthost.address

smarthost_other:
driver = manualroute
route_list = * default.smarthost.address


> On 13 Jul 2021, at 10:35, Brent Clark via Exim-users <exim-users@???> wrote:
>
> Good day Guys
>
> Where I work, we have a story where we need to route authenticated mail via a smarthosts and non authenticated out another smarthost.
>
> Would anyone perhaps have a suggestion of how I can achieve this.
> My Googling is not of much use today.
>
> Many thanks in advance.
>
> Regards
> Brent Clark
>
>
> --
> ## 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/