Re: [exim] Copy of any relayed messagges to a local user

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: Marco Mescoli
CC: exim-users
Assumptes nous: [exim] exim 4 very slow relay, [exim] Slow relay
Assumpte: Re: [exim] Copy of any relayed messagges to a local user
Marco Mescoli wrote:

> I would use exim as relay server (SMTP server in LAN email clients) and
> i need a copy of any relayed messagges to a local user. Anyone can


Something like this in the routers section of your config should work:

local_copy:
driver = redirect
domains = !local_domains
data = your_spy_user
unseen


Just make sure that mail to your_spy_user is always deliverable or the
original sender will get a bounce. Setting errors_to to some
administrator's address (e.g. postmaster) should prevent that.