[EXIM] Rewrite to <>

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jochen Topf
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] Rewrite to <>
I have an internet mail host, which generates bounces with non-empty envelope-
from. I want to rewrite them to the empty envelope-from to prevent mail loops.
I tried the following rewrite rules:

^user@???$ "${if eq{$h_subject:}{ERROR}{<>}{$0}}" F

and

^user@???$ "${if eq{$h_subject:}{ERROR}{}{$0}}" F

Both rules don't work. Exim doesn't accept the empty address in this case:

1999-04-14 16:51:53 10XR15-0000WZ-00 Rewrite of user@??? yielded
unparseable address: missing or malformed local part in address <>
1999-04-14 16:51:10 10XR0L-0000WV-00 Rewrite of user@??? yielded
unp arseable address: empty address in address

jochen

--
*** Exim information can be found at http://www.exim.org/ ***