RE: [Exim] Masquerade needed for outbound mail.

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Kevin Reed
CC: 'exim Users'
Assunto: RE: [Exim] Masquerade needed for outbound mail.
On Thu, 14 Aug 2003, Kevin Reed wrote:

> Find for now...
>
>  smarthost_smtp:
>       driver = smtp
>       headers_rewrite = *@*.my.domain $1@???
>       return_path = MAILER-DAEMON@???


Are you sure you want all return paths to be MAILER-DAEMON? That means
all bounces will come to that account, not to the original sender.

With a bit of messing around with expanded strings, you could test
$return_path to see if it was of the form *@*.your.domain, and then
rewrite it as *@your.domain, which is what I thought you really wanted.

Sorry, I haven't time to work out the exact expansion string at the
moment. You would need to use a regular expression match.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book