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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jakob Hirsch
Fecha:  
A: Marco Mescoli
Cc: exim-users
Temas nuevos: [exim] exim 4 very slow relay, [exim] Slow relay
Asunto: 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.