Expose a new parameter: [daemon]max_data_bytes, to limit Lacre's memory
usage and allow processing of messages larger than 32MB (which is the
default limit).
We no longer support decrypting emails, so:
- Remove parameters from exmaple configuration file.
- Remove relevant section from installation instructions (INSTALL.md).
- Add a "mailop" module to define mail operations. Each should inherit from
MailOperation class (which just defines the contract).
- Make lacre.mailgate.delivery_plan always return KeepIntact strategy to have
a daemon that just forwards messages without modifying them.
- Add sample configuration.
- Include daemon configuration in mandatory parameter check.
- Replace custom logging code with calls to logging module.
- Use logging.config to provide configuration parameters.
To make Lacre's logging more flexible, use fileConfig from logging.config to
set up all parameters. If the configuration file is missing, use dictConfig
with hardcoded reasonable defaults.
- Replace hardcoded MySQLdb package with sqlalchemy to support other RDBMS
backends.
- Provide a script that could eventually replace schema.sql (schema.py).
- Update sample configuration.
62f60f0592
( Added option to convert text/plain source email into MIME/PGP attachment style during encryption.
Useful if sending to recipient that can't handle the PGP-inline style. )
- Cron now notifies user what happened (key successfully added/deleted or error)
- More options to customize templates
- Separating concepts in settings (S/MIME, templates)
- Register-handler now only informs on failed PGP submissions (reduce mails to user and false positive mails)