[exim] smarthost and envelope rewrite for "external" recipie…

Top Page
Delete this message
Reply to this message
Author: Giuseppe Sacco
Date:  
To: exim-users
Subject: [exim] smarthost and envelope rewrite for "external" recipient
Hi all,
I would like to setup a system where all local users have a different
username while sending "internal" email. The should share a common email
address when sending email outside.

I read the FAX and found a solution that actually works, but it seems it
is not applicable to may case since the "external" email is sent via a
smarthost, with authentication, that check the envelop and raise an
error: 553 <alessandra@localhost> Invalid mail address, must be fully
qualified domain

I think the solution would be to also rewrite the envelope, but how may
I conditional rewrite all fields iff the destination is an external
domain?

Thanks,
Giuseppe