[exim] SRS configuration

Pàgina inicial
Delete this message
Reply to this message
Autor: Luca Bertoncello
Data:  
A: Exim-Users
Assumpte: [exim] SRS configuration
Hi again!

Next problem: on the old server, with Exim 4.94.2, I compiled Exim with
"EXPERIMENTAL_SRS" and it worked very well.

Exim 4.98 does not have this option anymore, but it has SUPPORT_SRS, so
I compiled Exim so.

But now the old syntax in the configure file is not valid anymore...

I checked this page
https://exim.org/exim-html-current/doc/html/spec_html/ch-dkim_spf_srs_and_dmarc.html
and I tryed to change the configuration to work with the new syntax, but
I don't really understand how it is supposed to work...

My Routers:

external_gw:
driver = dnslookup
transport = ${if exists {/etc/exim/domainKeys/$sender_address_domain}
{remote_smtp_DK} {remote_smtp}}
domains = ! +local_domains
no_more

localWrite_gw:
  driver = redirect
  allow_filter
  domains = +local_domains
....
  redirect_router = loopbackRouter
  reply_transport = autoresponder
  pipe_transport = address_pipe
  file_transport = address_file
  directory_transport = address_file
  headers_remove = ${if def::h_X-DefSubject {Subject}}:X-DefSubject:
  headers_add = ${if def:h_X-DefSubject {Subject: $h_X-DefSubject:}}
  srs = forward         <<<< THIS IS NOT VALID ANYMORE
  no_more


loopbackRouter:
driver = manualroute
transport = loopback_smtp
route_list = * "</ ::1"
headers_remove =
X-AV-scan:X-Infected:X-SPAM:X-Spam-Score:X-SpamFolder:X-Spam-Report:X-DefSubject:
self = send

So, now I have to rethink the structure, but I don't understand how to
rewrite the address...
I removed "srs = forward", of course, since otherwise Exim just give an
error.
Now I tried to configure a test Address test@??? that has in the
data "deliver lucabert@???".

Exim tries to forward the E-Mail to itself and starts a loop.

Can someone suggest me how to change the configuration?

Thanks a lot!
Luca Bertoncello
(lucabert@???)

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/