41 Commits

Author SHA1 Message Date
5998535761 switch from cgi.escape to html.escape 2021-02-08 10:45:03 +01:00
dd3f8ac11e cleanup source 2020-11-12 12:12:58 +01:00
a90e087a5d Switch back to email.header lib because of error handling 2020-03-18 18:42:12 +01:00
c7a027a4d8 Bugfix 2020-03-01 22:22:04 +01:00
65d5dcf137 Code cleanup 2020-03-01 21:46:35 +01:00
0fa6ddd870 Fix typo 2020-02-29 00:55:41 +01:00
d8e9dd2685 Fix header decoding and switch to python f-strings 2020-02-29 00:33:29 +01:00
e8265e45a5 Catch exceptions of get_body function 2020-02-11 08:53:29 +01:00
a10e341056 Use python library to extract body of emails 2020-02-03 02:57:50 +01:00
ab16c9f83e Restructure code and rename some config variables 2020-02-03 02:03:59 +01:00
42536befdb Fix typo in notifications.py 2020-01-29 22:26:30 +01:00
983362a69a Add decoding of mail headers 2020-01-29 21:35:37 +01:00
f4399312b4 Add url encoded email template variables 2020-01-29 19:58:08 +01:00
b40e835215 Fix error during decoding of mail body 2020-01-27 22:47:57 +01:00
7a31c01955 Fix handling of mails with missing headers 2020-01-21 15:56:08 +01:00
9e5f51f6f5 Improve email body extraction and decoding 2019-11-26 15:17:02 +01:00
32682cfb8c Add option to send notifications to another host 2019-11-18 15:11:09 +01:00
bacc05cb41 Fix replacement image and change to header 2019-10-29 16:47:52 +01:00
25af4b422a Fix double angle brackets in From header 2019-10-29 15:45:55 +01:00
7020c53b28 Add option notification_email_parser_lib 2019-10-26 13:04:19 +02:00
7509629b44 Fix brackets 2019-10-23 07:36:24 +02:00
9e7691f5ea Add pre tag to whitelist 2019-10-22 23:14:49 +02:00
5ff72dc5e7 Add debug messages in notifications.py 2019-10-22 22:29:06 +02:00
5892d9a2b7 Escape html characters in plain message text 2019-10-22 21:57:53 +02:00
0169c0650e Fix typo in variable name 2019-10-22 20:53:06 +02:00
b6deccc2aa Prefer text/html again, like most email clients 2019-10-22 20:49:52 +02:00
bf28ba64cb Add p tags to whitelist and prefer text/plain 2019-10-22 20:33:53 +02:00
f0f2c6b742 Add option to strip images from emails 2019-10-21 18:48:04 +02:00
228be9f4be Fix iteration bug while removing attributes 2019-10-21 17:53:44 +02:00
89a01d92c8 Make source PEP8 conform 2019-10-17 22:25:10 +02:00
5ffae608ff change email content type to multipart/related 2019-08-28 19:22:59 +02:00
b41ae30335 improve handling of template variables 2019-08-28 16:07:26 +02:00
6ec70b834f add exception on startup if template parsing fails 2019-08-26 21:11:07 +02:00
f37b50eaac Add dynamic template variables according to regex 2019-05-01 13:02:41 +02:00
9e72c00983 Ability to embed custom images in notifications 2019-03-15 17:23:13 +01:00
cc95b103b7 Bugfixes and added notify ability to CLI 2019-03-13 17:23:59 +01:00
6f26255717 Multiple python3 bugfixes 2019-03-13 13:13:28 +01:00
49e38e239a Move to python3, pymilter is available for python3 2019-03-13 13:13:28 +01:00
88cea0e127 Improved CLI, quarantine- and error handling 2019-03-13 09:27:58 +01:00
da6f08ee25 Added CLI, improved error handling, small bugfixes 2019-03-08 15:28:17 +01:00
e41f8bba2a Initial commit of source code and docs 2019-03-03 22:22:56 +01:00