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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jakob Hirsch
Datum:  
To: Marco Mescoli
CC: exim-users
Neue Treads: [exim] exim 4 very slow relay, [exim] Slow relay
Betreff: 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.