[exim] How to setup a specific route for a specific SENDER a…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Larry Rosenman
Päiväys:  
Vastaanottaja: Exim users
Aihe: [exim] How to setup a specific route for a specific SENDER address.
I'm trying to set up Exim to use the FreeBSD smtp server for any mail
that I send that comes in with the sender
of my FreeBSD address <ler@???>.
Doc: https://docs.freebsd.org/en/articles/committers-guide/#smtp-setup

What I tried:
Router:
freebsd_send:
driver = manualroute
transport = freebsd_smtp
route_data = ${lookup ${lc:${sender_address}} lsearch
{/usr/local/etc/exim/freebsd_send}}

Where freebsd_send contains:
ler@??? smtp.freebsd.org:587

and the freebsd_smtp transport:
freebsd_smtp:
         driver = smtp
   tls_certificate=/home/ler/letsencrypt-home/*.lerctr.org/fullchain.cer


tls_privatekey=/home/ler/letsencrypt-home/*.lerctr.org/*.lerctr.org.key
tls_require_ciphers =
EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+AESGCM:EECDH:EDH+AESGCM:EDH+aRSA:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!LOW:!RC4:!MD5:!EXP:!PSK:!SRP:!DSS
dkim_domain = lerctr.org
dkim_selector = ler2019
dkim_private_key= /usr/local/etc/exim/dk/ler2019.rsa.private
dnssec_request_domains = *
arc_sign = lerctr.org : ler2019 :
/usr/local/etc/exim/dk/ler2019.rsa.private : timestamps
hosts_try_dane = *
hosts_require_auth = smtp.freebsd.org

And in authenticators:
fixed_plain:
driver = plaintext
public_name = PLAIN
client_send = ^ler/mail^<password here>


this failed with:
<21>1 2022-03-22T22:10:43.422806-05:00 thebighonker.lerctr.org exim
72957 - - H=mail-oa1-f43.google.com [209.85.160.43]:33104
I=[192.147.25.65]:25 sender v
erify defer for <m.ray.mullins+caf_=mrm=lerctr.org@???>: failed to
expand "${lookup ${lc:${sender_address}} lsearch
{/usr/local/etc/exim/freebsd_send
}}": missing lookup type

Ideas?


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@???
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106