Re: [Exim] Archiving outgoing e-mail for some user

Top Page
Delete this message
Reply to this message
Author: Miquel van Smoorenburg
Date:  
To: Tamas TEVESZ
CC: exim-users
Subject: Re: [Exim] Archiving outgoing e-mail for some user
According to Tamas TEVESZ:
> On Mon, 17 Sep 2001, Miquel van Smoorenburg wrote:
>
> > Look for shadow_transport and shadow_condition in the exim specification
>
> to discover that let me quote "shadow remote transports are not
> supported".


Oops, I missed that. Hmm, that makes it a lot less useful then
I thought.

> he can make * localdomain and then spits those unwanted to
> an smtp router, in which case he can just stick an "i'm an open relay
> shoot here" sign on the machine just as well...


Okay, then I think another solution would be to put a "copy"
domainlistrouter first with the "unseen" flag on, delivering
to an "appendfile" transport.

Something like (untested!)

## TRANSPORTS

copy_message_transport:
driver = appendfile
user = some_user
mode = 0600
file = /where/ever/you/want

## ROUTERS

copy_message_router:
driver = domainlist
domains = doma.in
local_parts = fl-argh:fl-bla:fl-foo:fl-etcetc
transport = copy_message_transport
route_list = "*"
unseen = yes

Mike.
-- 
"I think...I think it's in my basement. Let me go upstairs and check."
    -- M.C. Escher (1898-1972)