Storing the outbound sent emails

36 views
Skip to first unread message

Ramesh S

unread,
Mar 29, 2014, 9:32:57 AM3/29/14
to mir...@googlegroups.com
I have configured Mireka as my local smtp server. I have a local email client application that composes the email and sends it through this local smtp server to the remote recipient. Mireka is configured to automatically send the emails received by the smtp server to the remote destination mail server, through proxy configuration. This setup is working fine. But I have a requirement to store a copy of the email I send, in my local Mireka server.  In other words, whatever email I send through my local Mireka smtp server should be stored locally also, for example, in "Sent" folder or something similar in Mireka. Baseically, in my email client application, I want to show the list of emails sent by this user retrieved from this local store.

Is it possible to achieve this in Mireka? Any help would be appreciated.


Hontvári József Levente

unread,
Mar 29, 2014, 3:45:25 PM3/29/14
to mir...@googlegroups.com
My first idea is to modify mireka.filter.misc.SavePostmasterMail. This filter saves a copy of each message which are sent to the postmester into a file system directory. You can easily copy this class and modify its source to unconditionally save any kind of message. The pupose of this filter is to save the unmodified raw text of messages for debugging. Above that, Mireka does not touch this directory or the mail files in it.



On 2014.03.29. 14:32, Ramesh S wrote:
I have configured Mireka as my local smtp server. I have a local email client application that composes the email and sends it through this local smtp server to the remote recipient. Mireka is configured to automatically send the emails received by the smtp server to the remote destination mail server, through proxy configuration. This setup is working fine. But I have a requirement to store a copy of the email I send, in my local Mireka server.  In other words, whatever email I send through my local Mireka smtp server should be stored locally also, for example, in "Sent" folder or something similar in Mireka. Baseically, in my email client application, I want to show the list of emails sent by this user retrieved from this local store.

Is it possible to achieve this in Mireka? Any help would be appreciated.


--

---
You received this message because you are subscribed to the Google Groups "Mireka mail server and SMTP proxy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mireka+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages