Andrew C Aitchison via Exim-users writes
> 
> Argh. Still wrong.
> Is
>     ${sg{sg{$MM_LISTCHK}{\/config.pck$}{}}{.*\/}{}}
> a better replacement for $local_part ?

  Thank you so much!

  I have a test installation now. If any wants to use it to figure
  out the right transporter, contact me off-list.

  This transporter:

mailman_transport:
  driver  = pipe
  command = MM_WRAP \
          '${if def:local_part_suffix \
                {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                {post}}' \
          ${sg{sg{$MM_LISTCHK}{\/config.pck$}{}}{.*\/}{}}
  current_directory = MM_HOME
  home_directory    = MM_HOME
  user              = MM_UID
  group             = MM_GID


  which I believe is what Andrew's last suggestion aims at still fails with

2022-07-21 06:19:30 1oEPWy-002t7O-0x == [email protected] 
R=mailman_router
T=mailman_transport defer (0): Expansion of
"${sg{sg{$/var/lib/mailman/lists/${lc::$local_part}/config.pck}{\/config.pck$}{}}{.*\/}{}}"
from command "/var/lib/mailman/mail/mailman '${if
def:local_part_suffix
{${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} {post}}'
${sg{sg{$/var/lib/mailman/lists/${lc::$local_part}/config.pck}{\/config.pck$}{}}{.*\/}{}}"
in mailman_transport transport failed: $ not followed by letter,
digit, or {

  Messages are no longer rejected, just kept waiting for the issue
  to be resolved. 


-- 

  Cheers,

  Thomas Krichel                  http://openlib.org/home/krichel
                                              skype:thomaskrichel

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to