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.



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to