Author: John Burnham Date: To: 'exim-users@exim.org' Subject: Re: [exim] Exim Honeypot - odd question
> Apologies for the odd question. I'm looking at setting up a > really quick
> and simple Exim to use as a honeypot and wonder if it's possible to do
> this:
>
> Have it accept everything that is thrown at it but write
> every mail to a
> local file only - not actually deliver it. However, I would like to
> preserve the intended original recipient.
>
> I'm guessing this would be a really simple runtime config
> that would use
> a redirect router, but my fear is I don't want to mis-configure it and
> for it to start 'poluting'.
Well, if you remove all routers that can do a remote delivery and run a few exim -d -bt email.address type tests to satisfy yourself that it does what you've told it to do then you should be OK. Use of an accept or redirect router would probably be the way I'd think of doing this and just write the emails to one or more files.
In terms of preserving the original recipients, there are many ways you could achieve this - something in the data acl that does a warn and adds a header containing $recipients maybe ?