Re: [exim] Storing messages in Maildir format with symmetric…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kirill Miazine
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Storing messages in Maildir format with symmetric encryption
• Dengler, Gabriel via Exim-users [2022-11-23 01:16]:
> Hello everyone,
>
> I want to store the incoming e-mails using the Maildir file format encrypted
> by using some symmetric encryption using the user's password (e.g., AES). So
> in the end, Exim should write the encrypted files directly on the disk.
> Furthermore, it would be convenient if the actual password is solely
> persistent saved as a hash (for checking at authentication), the real
> password - and therefore the en-/decryption key - is only temporarily
> available during the login session.


Why do you have Exim to make this? Why not use Dovecot's delivery
facilities to make Dovecot encrypt and store in Maildir?

https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/#functional-overview

> Therefore, I wanted to modify the Exim source code directly but was
> confronted with a large amount of code, e.g., the differentiation between
> the different transport types or the many cases considered in the appendfile
> protocol. So I have some questions, where you might help me in the "big
> picture":
> * How to enforce that a user has to authenticate him-/herself with a
> password?
> * Where is a good point of "grabbing out" the password from the user and how
> to "carry" it to the point where the encryption happens?
> * Where is a good point to add the encryption, e.g., by modifying the
> transport_instance block or directly before the file is written?
>
> Thanks for your help in advance!
>
> Best regards,
>
> Gabriel
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


-- 
    -- Kirill Miazine <km@???>