Hwllo,

I'd like to rewrite envelope from "apache@*.mydomain" to the address in header From. I tried it according to https://github.com/Exim/exim/wiki/Q0801 with this rewrite rule:

apache@*.mydomain ${sg{$h_from:}{^.*<(.*)>}{\$1}}  Ffrs

Sending an email with a header From: leads to this:

2017-07-12 09:10:49 Rewrite of apache@sub.mydomain yielded unparseable address: 
empty address in address

I tried different variations of header From, and broke the rewrite rule down to

apache@*.mydomain $h_from: F

with no success.

Any ideas are welcome!

Regards,
Frank Richter
Chemnitz University of Technology, Germany

Attachment: smime.p7s
Description: S/MIME Cryptographic 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/

Reply via email to