Am Mittwoch, 28. Oktober 2020, 13:19:41 CET schrieb Jeremy Harris via Exim-
users:
> On 28/10/2020 07:22, Rainer Dorsch via Exim-users wrote:
> > elif "$original_local_part:" is "web" or "$original_local_part:" is
> > "impressum" then save Maildir/.AA-bokomoko.public/
>
> You have an extraneous ":" there.
Hmm....I have that always and everywhere in my .forward file:
e.g.
[...]
elif $h_to: contains "canyon@???" then save
Maildir/.Listen.Newsletter.shopping.sports.bike.Canyon/
elif $h_to: contains "fahrrad.de@???" then save
Maildir/.Listen.Newsletter.shopping.sports.bike.fahrrad-de/
elif "$original_local_part:" matches "fahrradxxl" then save
Maildir/.Listen.Newsletter.shopping.sports.bike.fahrradXXL/
[...]
But rereading the documentation (Section 5)
https://www.exim.org/exim-html-current/doc/html/spec_html/filter_ch-exim_filter_files.html
I understand that colon is only meant for header variables.
What is super weird is that it also works:
2020-10-28 19:05:27 1kXpp2-0004H5-Mp <= suite29@???
H=uspmta120019.emarsys.net [185.4.120.19] P=esmtps
X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no S=87155 DKIM=emarsys.net
id=0.1.7E.627.1D6AD54E4EB2A62.0@???
2020-10-28 19:05:27 1kXpp2-0004H5-Mp => /home/rd/
Maildir/.Listen.Newsletter.shopping.sports.bike.fahrradXXL/ (rd@???)
<fahrradxxl@???> R=userforward T=address_directory
2020-10-28 19:05:27 1kXpp2-0004H5-Mp Completed
Looking closer, the difference is then made by "is" and "matches".
Many thanks for you taking the time to look at my issue and the excellent
response, that solved (at least in a test mail) my problem.
Rainer
--
Rainer Dorsch
http://bokomoko.de/