Re: [exim] Vacation and Exim with virutal users and domains

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Mike Jones
CC: 'exim-users@exim.org'
Subject: Re: [exim] Vacation and Exim with virutal users and domains
On Wed, 14 May 2008, Mike Jones wrote:
>
> This works fine, but the vacation email that gets returned has the
> return address of : fjones[at]mail.example.com instead of
> fred.jones[at]hisoffice.co.uk
>
> Now, ok, fair enough, perhaps I'm being picky, but for neatness it
> would be nice for the return address to be right.


If you want sender addresses generated by Exim to be different from
username@qualify_domain then you need to use rewrite rules.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}