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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Miquel van Smoorenburg
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Archiving outgoing e-mail for some user
In article <Pine.LNX.4.33.0109172138220.437-100000@???>,
Tamas TEVESZ <ice@???> wrote:
>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)