Hi, keep in mind that From: may contain multiple addresses. (But, actually, DMARC restricts it to have only one address.)
Mueller via Exim-users <exim-users@exim.org> (Mi 08 Dez 2021 07:45:10 CET): > I try to catch the friendly name from within $h_from (ex h_from: > "Tester"<tes...@tester.com>). > I have set it in acl_check_data with no success: … > condition = ${if match{$h_from:}{"tester.*<"}} … > What do I miss? "match" is case sensitive. exim -bem /tmp/eml '${if match{$h_from:}{tester.*<}}' vs. exim -bem /tmp/eml '${if match{$h_from:}{(?i)tester.*<}}' (with a given /tmp/eml containing nothing more than From: Tester <tes...@example.com> ) Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE -
signature.asc
Description: PGP signature
-- ## 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/