All of lore.kernel.org
 help / color / mirror / Atom feed
* [mlmmj] README.exim4 broken, needs update
@ 2023-12-07 22:29 Florian Berger
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Berger @ 2023-12-07 22:29 UTC (permalink / raw)
  To: mlmmj; +Cc: webmaster

The mlmmj.org website hosts a tutorial for exim 4 setup at http://mlmmj.org/docs/readme-exim4/ , 
which in turn refers to https://plonk.de/sw/mlmmj/README.exim4 as the most recent original (hence 
author Jakob Hirsch in cc:).

For the transport configuration, it advertises:

mlmmj_transport:
   [irrelevant lines left out]
   command = /usr/local/bin/mlmmj-recieve -F -L MLMMJ_HOME/${lc:$local_part}

This will no longer work in recent versions of exim (4.94 and above). exim now considers 
sender-derived data tainted, and will refuse to use them as-is. See

- https://git.exim.org/exim.git/blob/HEAD:/src/README.UPDATING
- https://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html

As far as the mlmmj config is concerned, $local_part is considered tainted.

It can reasonably be de-tainted by changing it into a directory lookup:

mlmmj_transport:
   [unchanged lines left out]
   command = /usr/bin/mlmmj-receive -F -L "${lookup {$local_part} dsearch,ret=full {MLMMJ_HOME}}"

To avoind exim users running into issues, the tutorial at plonk.de and mlmmj.org should be updated 
accordingly.


Thanks for considering,

Florian



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-06 10:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <df58ab7f-0592-4055-b5cd-3769fa210edc>
2026-03-06  9:16 ` [mlmmj] README.exim4 broken, needs update wulf
2023-12-07 22:29 Florian Berger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.