From 11ae0a8436310b292b185176081523c8b27f9b2f Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 8 May 2021 21:39:25 +0300 Subject: [PATCH] Post on saving sent messages with Exim. --- content/exim-sent-messages.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/exim-sent-messages.rst diff --git a/content/exim-sent-messages.rst b/content/exim-sent-messages.rst new file mode 100644 index 0000000..9b39e4b --- /dev/null +++ b/content/exim-sent-messages.rst @@ -0,0 +1,18 @@ +Saving sent messages with Exim +============================== + +:date: 2021-05-08 +:summary: Saving sent messages with Exim + +In shore.co.il I use the Exim mail transfer agent (SMTP server) along with the +Dovecot IMAP server. Messages received in Exim are sent to Dovecot over LMTP. So +far, pretty standard stuff. All of the configuration and setup can be seen in my +`GitLab instance <https://www.shore.co.il/blog/ldap-auth/>`_. + +I wanted to save sent messages to a folder (like GMail does) but didn't find a +way to do that over LMTP documented anywhere so here's what I did. I created a +router in Exim that if the sender is one of the local domains (domains Exim +receives messages for), then they're redirected to the LMTP transport but with +``+Sent`` suffix attached so they're saved to the ``Sent`` folder. You can see +the configuration `here +<https://git.shore.co.il/shore/mail-docker/-/blob/master/exim4/exim4.conf#L665>`_. -- GitLab