On 10.03.2025 18:32, Jeremy Harris via Exim-users wrote:
No particular max, though it's bound to blow a memory limit at some point...
Embedded NULs are a bad move though.

Alright. Only valid JSON in our case.


I guess another question is: for the problem case, was it (according to the debug) definitely the expected router accepting this message, this transport delivering it,
and with no other mention of the problem variable between the two?

- - - - - -

07:39:51 24397 set r_dkim_data = '{"id": "1tmS87-000000006LU-2Bsj", ...
**** debug string too long - truncated ****
07:39:51 24397 calling smtp_router router
07:39:51 24397 smtp_router router called forpp...@doruhari.myhostpoint.ch
07:39:51 24397   domain = doruhari.myhostpoint.ch
    ...
07:39:51 24397 routed by smtp_router router
07:39:51 24397   envelope to:pp...@doruhari.myhostpoint.ch
07:39:51 24397   transport: remote_smtp_dane
    ...
07:39:51 24398 set_process_info: 24398 delivering 1tmS87-000000006LU-2Bsj using 
remote_smtp_dane
07:39:51 24398 remote_smtp_dane transport entered
    ...
07:39:51 24398 try option dkim_domain
07:39:51 24398  ╭considering: 
${if░def:r_dkim_data░{$h_X-DKIM-Sign:}{hostpoint.ch}}
07:39:51 24398  ├──condition: def:r_dkim_data
07:39:51 24398  ├─────result: false
    ...
07:39:51 24398 Leaving remote_smtp_dane transport
    ...

- - - - - -

"smtp_router" and "remote_smtp_dane" are the expected router and transport. No mention of "r_dkim_data" in between.


A bit of grasping at straws, but another thing maybe worth mentioning is the following statement our "smtp_router" router:

        transport = ${if 
match{$tod_epoch}{[0]\$}{remote_smtp_dane_secondary}{${if 
match{$tod_epoch}{[NOMATCH]\$}{remote_smtp_dane_tertiary}{remote_smtp_dane}}}}

We use this to balance sent mails over two transports (and one spare) with different assigned interfaces accordingly. This causes ~10% of mails to be sent via the "remote_smtp_dane_secondary" transport.


Regards
Patrik

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to