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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] route authenticated mail via a smarthosts and non authenticated out another.
Brent Clark via Exim-users <exim-users@???> (Di 13 Jul 2021 11:35:39 CEST):
> 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.


And then use this as a router condition

    begin routers


        smarthost:
                driver = manualroute
                route_data = ${if def:authenticated_id {SMART_AUTH} {SMART_NOAUTH}}
                …


But, this is untested, just meant as a sketch.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -