On 12/07/17 14:46, Frank Richter wrote: >> apache@*.mydomain ${address:$rh_from:} F >> >> I suspect that the wiki page is wrong, but I'm not sure. > > Unfortunately, this doesn't work either. Same error message: > Rewrite of apa...@hrz.tu-chemnitz.de yielded unparseable address: empty > address in address > > I'm sendig with: swaks --to ... --from apa...@hrz.tu-chemnitz.de > --server ... --data /tmp/mail > > /tmp/mail contains an e-mail with From:-Header.
What does running with "-d-all+expand+rewrite" show when you try that? Separately, could you be using a transport "return_path" option rather than a rewrite rule, since you're aiming at the envelope-from? -- Cheers, Jeremy -- ## 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/