Re: [exim] copy mail to yourself

Pàgina inicial
Delete this message
Reply to this message
Autor: Brian Blood
Data:  
A: Exim-users List
Assumpte: Re: [exim] copy mail to yourself
You want to add a router like this:

copy_to_local_sender:
    driver = redirect
    check_ancestor
    qualify_preserve_domain
    data = ${if match_domain{$sender_address}{+my_local_domainlist}}
    unseen


You will want to add some extra security on this as the test in "data"
is very rudimentary.

Use that along with some flag that will tell your transport and/or
your system_filter to put the message into their Sent mailbox.

That should work, but will need some fleshing out/testing.



On Oct 13, 2008, at 8:59 AM, Konstantin V. Gavrilenko wrote:

> I was wondering if somebody can guide me in a right direction.
>
> I need to configure exim so that every message a user sends is
> copied into his
> Sent folder. So that a MUA doesn't have to first deliver a message
> through SMTP
> and then save the message in the user's IMAP Sent folder.
>
> I think the best way of doing this is by adding a BSSself recipient
> to every
> sent message, something like "get $sender_address and add BBC:
> $sender_address
>
> then have the sieve rules to actually place self addressed messages
> into the
> Sent folder.
>
> Any suggestions? comments?




Brian