Hi all,
first message to this list, so hope this works :)
I was wondering if it is possible to use partial expansions together
with format modifiers in smtpd.conf. For example, I'd like to reduce an
email with a format like
-+z...@example.org
to
I've tried the following variations:
%{sender.user[5:]:strip}
%{sender.user:strip[5:]}
%{%{sender.user[5:]}:strip}
However I'm still getting "... Mailing list expansion problem ...". I
know I can work around this by using %{sender.user[5:-5]} but the
part is usually way longer and it feels hardcoded/hacky. Additionally,
if the sender address changes in the slightest this would expand to
something different.
Any help would be appreciated. Thank you!
Kind regards,
Johannes
--
Johannes Thyssen Tishman
https://thyssentishman.com