Commit Graph

121 Commits (main)

Author SHA1 Message Date
Piotr F. Mieszkowski 2ac26c09ce Simplify code, improve log entries, add comments 2 months ago
Piotr F. Mieszkowski 8f8d9dc1b6 Rename mailgate.py to core.py 2 months ago
Piotr F. Mieszkowski 7849c55d9f Extend the daemon skeleton 2 months ago
Piotr F. Mieszkowski b198f0c4f4 Fix logging 2 months ago
Piotr F. Mieszkowski 5ffbbec5f0 Rename sort_recipients to deliver_message, remove unused imports 6 months ago
Piotr F. Mieszkowski b627fde510 Move gpg-mailgate.py logic to lacre.mailgate module 6 months ago
Piotr F. Mieszkowski 881a8d1756 Add GnuPG encryption support for addresses with delimiters 6 months ago
Piotr F. Mieszkowski c86c620668 Extract delimiter support, add unit tests 6 months ago
Piotr F. Mieszkowski 251e6d1270 Record execution time and log it 6 months ago
Piotr F. Mieszkowski 937046eb17 Use CRLF for line-endings 6 months ago
Piotr F. Mieszkowski 65d2a77486 Don't break Content-Type header with LF - part 2 6 months ago
Piotr F. Mieszkowski 06abbc0edd Don't break Content-Type header with LF 6 months ago
Piotr F. Mieszkowski 55b58d25bc Use literal separator '@' in sanitize_case_sense 6 months ago
Piotr F. Mieszkowski d3b1717290 Extract PGP/INLINE checks, remove unnecessary byte-check 6 months ago
Piotr F. Mieszkowski 4c6fdc52ec Check mandatory config early, add tests 6 months ago
Piotr F. Mieszkowski 3bcc1151e5 Add E2E case: a user with a key and PGP/MIME configured 6 months ago
Piotr F. Mieszkowski 11b78ce0fb Adjust log entry levels for severe conditions 7 months ago
Piotr F. Mieszkowski 75ccfb0850 Use logging module 7 months ago
Piotr F. Mieszkowski baf7954270 Use list booleanness instead of comparing with empty list 7 months ago
Piotr F. Mieszkowski 031c7234f6 Reorder top-level expressions 7 months ago
Piotr F. Mieszkowski d90b50f7e7 Extract config, separate logging, split into smaller functions 7 months ago
Piotr F. Mieszkowski 59b932abaa Remove support for decrypting emails 9 months ago
Piotr F. Mieszkowski c4927d2722 Avoid unnecessary list creation 10 months ago
Piotr F. Mieszkowski 1e7d33c1df Handle bytes properly 11 months ago
Piotr F. Mieszkowski b2a01c15b0 Fix auto-migrated code 11 months ago
Piotr F. Mieszkowski 5f02223ec7 Perform automatic migration to Python 3.x 11 months ago
Piotr F. Mieszkowski 7a063a91b8 Polish E2E testing script and make it configurable 1 year ago
Mukesh Sai Kumar 0b92307b23
Added starttls support for SMTP 4 years ago
TheGreatGooo 29f902b27c Fix bug 5 years ago
TheGreatGooo ba0953a372 Update gpg-mailgate.py 7 years ago
TheGreatGooo bb4d267785 Update gpg-mailgate.py 7 years ago
fkrone 24cfe01d95 Fixing stupid bug with non existing variable. Copy & paste fail. Finding a default key for recipient in domain keymap crashed mailgate. 8 years ago
fkrone 0de0d6a1b1 Critical bugfix: Under some circumstances a mail which should be encrypted with PGP/MIME was not encrypted if at least one attachment ot the body itself contained the PGP-tags. 8 years ago
fkrone 4b7a187ac3 Forgot to change this value from a debug one to the real value 8 years ago
fkrone 11f70fb241 Added possibility to define a regex for finding recipients to decrypt for and also adding possibility to use default keys for domain ranges 8 years ago
fkrone 5fdbabc3b3 Disable PGP/INLINE decryption by default. It does work, however, it has some drawbacks (e.g. content type for files getting lost). 8 years ago
fkrone 2c0e342e5e Support for decrypting PGP encrypted mails. However, it has some drawbacks and might cause some security issues. So before using it please read carefully through the installation instructions. 8 years ago
fkrone 6a7dda969b Bugfix: The mailgate crashes with certain settings when mail is delivered locally 8 years ago
fkrone 4283c7ef4d Prefere keys in keymap over keys in keyring. Could be useful if you have a recipient with two keys. 8 years ago
fkrone dbb65bbf7f Bugfix: Missed return code for failed PGP encryption in log message 8 years ago
fkrone 600b57e6ef Bugfix: Handle multipart messages and especially nested multipart messages correct and not mess up them 8 years ago
fkrone 46730ba8e6 Bugfix: Avoid nested encryptions of any kind 8 years ago
fkrone a766a9bd4a Refactored code (and also optimizing code). 8 years ago
fkrone 7934dc00db Little bugfix for PGP/INLINE: Make it working again by stop calling non existing method 8 years ago
fkrone c022a2fe9d Added option to overwrite default PGP style (inline or PGP/MIME) for defined recipients (useful if you have some recipients which can't handle one style). 8 years ago
fkrone 92d66a35a5 Bugfix: S/MIME worked only for one recipient because Python handles assignments of lists as call by object references. So the for-loop broke after first iteration. 8 years ago
fkrone ccbe8de7e5 Making S/MIME also compatible with RFC 2821 changes. So both RFC 2821 compatibility and ignoring the case sensitivity of mail addresses are supported my S/MIME. 8 years ago
fkrone 228d43e936 Making GPG-Mailgate compatible with RFC 2821 (Simple Mail Transfer Protocol). The previous reverted commits made the gateway incompatible with the RFC. However, compatibility has to be activated in the settings. Most mail servers ignore the case sensitivity of the mail addresses, so this should not be a big issue. 8 years ago
fkrone 2ff0b7e123 Revert 0b503fa: Fixing critical bug: looking up email addresses for PGP encryption in keychain was done case sensitive 8 years ago
fkrone c059cfe63b Merged change: 8 years ago