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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: Marco Mescoli
Kopio: exim-users
Uudet otsikot: [exim] exim 4 very slow relay, [exim] Slow relay
Aihe: 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.