Skip to content
Snippets Groups Projects
Commit 11ae0a84 authored by nimrod's avatar nimrod
Browse files

Post on saving sent messages with Exim.

parent 43474b2f
Branches
No related tags found
No related merge requests found
Pipeline #1411 passed
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>`_.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment