[exim] How to easily filter for the current envelope recipie…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Haber
Datum:  
To: exim-users
Betreff: [exim] How to easily filter for the current envelope recipient in a user filter?
Hi,

I'd like to have a possibility to express (in an exim user filter)

if $local_part_prefix is "foo-" and
$original_local_part is "mh" and
$local_part_suffix is "+bar" and
$domain is "example.com" then
....
endif

more easily, for example as

if $local_part_prefix$original_local_part$local_part_suffix@$domain is
"foo-mh+bar@???" then
...
endif

Is there a way to do this?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834