Re: [exim] Save sent mails in users directory

Etusivu
Poista viesti
Vastaa
Lähettäjä: Giuliano Gavazzi
Päiväys:  
Vastaanottaja: Michael Neurohr
Kopio: exim-users
Aihe: Re: [exim] Save sent mails in users directory

On 9 Jan 2006, at 21:56, Michael Neurohr wrote:

> Hi,
> I'm using Exim 4.50 with Courier IMAP.
> Is it possible to save mails which were sent via SMTP in user's
> sent-mail
> directory?


certainly it is. It should be the client application making the copy
though, since you use IMAP.
If you want to do it from exim I suppose you could either use a
filter, or have a redirect router, before the dnslookup one, that
adds the sender to the recipient list if the sender is in the local
domains.
You should validate the sender address against the authentication id,
otherwise a user could fill another user sent-mail folder.
These are only suggestion. The fun is in the implementation, so I
leave it to you.
Giuliano