No description
Find a file
Thomas Gleixner 759dd19c9e remail: Simplify send_mail()
1) Use EmailMessage

   EmailMessage with the default policy handles header encoding correctly by
   default and uses '\n' line separators, which works for both as_string() and
   smtplib.send_message() correctly. The latter flattens the message with the
   RFC conform '\r\n' line separators unconditionally.

   Aside of that EmailMessage provides defects reporting which is useful to
   ensure that the outgoing mails are correct. A check for that will be added
   later

2) Simplify header handling

   Remove all existing headers from the cloned message first and add those
   which are required either as new headers or copied from the original
   message which was handed in to send_mail()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2023-06-20 23:43:23 +02:00
Documentation remail: Allow optional transport based security 2020-11-01 22:19:22 +01:00
LICENSES remail: Initial import 2019-09-22 22:38:59 +02:00
remail remail: Simplify send_mail() 2023-06-20 23:43:23 +02:00
.gitignore remail: Initial import 2019-09-22 22:38:59 +02:00
__init__.py remail: Initial import 2019-09-22 22:38:59 +02:00
COPYING remail: Initial import 2019-09-22 22:38:59 +02:00
README.md remail: Initial import 2019-09-22 22:38:59 +02:00
remail.service remail: Add TODO and a hacky service file 2019-09-22 22:48:52 +02:00
remail_chkcfg remail: Initial import 2019-09-22 22:38:59 +02:00
remail_daemon remail: Initial import 2019-09-22 22:38:59 +02:00
remail_pipe remail/pipe: Add command line option to handle config updates 2020-09-19 01:43:07 +02:00
requirements.txt remail: Add requirements.txt file 2020-01-09 19:52:22 +01:00
TODO remail: Add TODO and a hacky service file 2019-09-22 22:48:52 +02:00

remail - A set of tools for crypted mailing lists

A simplistic but powerfull crypted mailing list tool set. The following tools are available:

remail_daemon - The crypto mailing list processor remail_chkcfg - Tool to check the configuration

Install

It's recommended to generate the appropriate package for your system and install it via the package manager.

Usage

See Documentation and man pages