Sandro
|
20751ea706
|
Set C standard to C17 explicitely (#70)
GCC 15 uses C23 by default. But `libmilter` is not compatible, yet.
This breaks the build as `bool` is a keyword in C23 (issue #68).
|
2025-03-12 20:05:10 -04:00 |
|
dotlambda
|
7197b82ed6
|
thread module has been renamed to _thread in Python 3 (#64)
|
2025-03-12 20:00:12 -04:00 |
|
Stuart D. Gathman
|
39a1fc78d8
|
Merge branch 'master' of github.com:sdgathman/pymilter
|
2024-10-15 19:43:54 -04:00 |
|
Stuart D. Gathman
|
5ad23e468d
|
bsddb changed nulls in access file policy
|
2024-10-15 19:42:05 -04:00 |
|
Sandro
|
6eedaf7717
|
Python 3.13: Replace deprecated makeSuite() (#65)
The function has been deprecated in Python 3.11 and is no longer
available in Python 3.13.
|
2024-10-14 14:36:04 -04:00 |
|
Jean-Yves
|
4a8018c2de
|
Welcome __NetBSD__ to the required header include. (#60)
Same rule applies for NetBSD as FreeBSD, <arpa/inet.h> include is
needed to provide inet_nto*() prototypes.
|
2024-06-05 08:18:15 -04:00 |
|
Stuart D. Gathman
|
1212a0ef59
|
Forgot to bump internal tags
|
2024-05-29 18:45:09 -04:00 |
|
Stuart D. Gathman
|
5675adeb3c
|
Work with berkeleydb and try importing it first.
pymilter-1.0.6
|
2024-05-29 18:08:30 -04:00 |
|
Stuart D. Gathman
|
35416dfc46
|
Support MTAs with colon separator
|
2024-05-29 11:15:26 -04:00 |
|
Stuart D. Gathman
|
c33de064ee
|
Merge branch 'master' of github.com:sdgathman/pymilter
|
2024-05-29 11:14:19 -04:00 |
|
Jaime Marquínez Ferrándiz
|
1c05080768
|
Remove calls to the deprecated method "assertEquals" (#57)
It has been removed in python 3.12
|
2024-03-11 22:27:18 -04:00 |
|
Stuart D. Gathman
|
dce7c0080a
|
Adapt to MTAs that use ':' as key terminator and/or add null char to
key/value.
|
2022-07-15 19:00:41 -04:00 |
|
Stuart D. Gathman
|
7deec90a59
|
Drop paragraph about python 2.0 compatibility
|
2021-12-31 00:56:54 -05:00 |
|
Stuart D. Gathman
|
c73b533acb
|
Update README.md to satisfy PiPy
|
2021-12-31 00:49:54 -05:00 |
|
Stuart D. Gathman
|
102e042a38
|
Fix deprecation warnings
pymilter-1.0.5
|
2021-12-15 23:35:02 -05:00 |
|
Stuart D. Gathman
|
7a5c942d54
|
Make PY_SSIZE_T_CLEAN
|
2021-11-09 18:43:26 -05:00 |
|
Barry de Graaff
|
1b2c48d8a9
|
adding required argument message_from_binary_file (#43)
* adding required argument message_from_binary_file
message_from_binary_file now has a required argument `policy`
https://docs.python.org/3/library/email.parser.html#email.message_from_binary_file
In a future version a default will be added, but as of now, calling message_from_binary_file without policy will throw an error and not work
https://docs.python.org/3/library/email.parser.html#email.parser.BytesFeedParser
Also added some code to show how to iterate through attachments and how to get attachment filename, type, extension, attachment data and attachment object
* Update template.py
|
2021-11-01 18:46:59 -04:00 |
|
Stuart D. Gathman
|
866201ca52
|
Merge branch 'master' of github.com:sdgathman/pymilter
|
2021-07-14 08:43:05 -04:00 |
|
Stuart D. Gathman
|
2744175998
|
Use a more generally runnable socketname
|
2021-07-14 08:39:58 -04:00 |
|
Barry de Graaff
|
599277855c
|
Update template.py (#40)
fixes `milter.error: cannot opensocket`
My name is NOT stuart
|
2021-07-14 08:37:24 -04:00 |
|
Stuart D. Gathman
|
e7592c6a96
|
Fix some test cases and bugs found on py3 bmsmilter install.
|
2021-01-09 21:49:13 -05:00 |
|
Stuart D. Gathman
|
7df236127b
|
Add sendmail style MTA policy query module
|
2020-07-04 22:29:28 -04:00 |
|
Stuart D. Gathman
|
1234869dd6
|
Add MTA policy module
|
2020-07-04 21:22:56 -04:00 |
|
Stuart D. Gathman
|
f37090371b
|
Milter.utils.parse_header returns string, other py3 fixes
|
2020-06-25 19:47:38 -04:00 |
|
Stuart D. Gathman
|
7ea839cfb1
|
Update docs for @decode callback.
|
2020-06-18 19:53:43 -04:00 |
|
Stuart D. Gathman
|
879e65bc31
|
bytes optimization
|
2020-06-18 16:40:54 -04:00 |
|
Stuart D. Gathman
|
4c7c76fca4
|
First cut at encoding error decorator
|
2020-06-17 13:55:26 -04:00 |
|
Stuart D. Gathman
|
132e8326b5
|
Consistently use surrogate escape by default.
|
2020-06-17 12:54:58 -04:00 |
|
Stuart D. Gathman
|
0efddd316a
|
Fix bug found by pysrs unit tests
|
2020-06-16 20:10:33 -04:00 |
|
Stuart D. Gathman
|
588153078b
|
New config test case with fix
|
2020-06-16 19:50:07 -04:00 |
|
Stuart D. Gathman
|
4ed12cf825
|
config test passes
|
2020-06-16 19:40:37 -04:00 |
|
Stuart D. Gathman
|
c098f9df6b
|
Test case for Milter.config (still failing)
|
2020-06-16 18:45:03 -04:00 |
|
Stuart D. Gathman
|
cdae26af47
|
More py3 fixes, switch to setuptools.
|
2020-06-12 16:51:38 -04:00 |
|
Stuart D. Gathman
|
bf3108b938
|
Fix doco nit from qzrrbz@github
|
2020-06-02 15:08:21 -04:00 |
|
Stuart D. Gathman
|
d5f9f86bba
|
Use utf-8 decoding with surrogateescape for invalid utf-8 for env and hdr val
|
2020-04-23 15:52:20 -04:00 |
|
Stuart D. Gathman
|
805825438c
|
Change __version__
|
2020-04-21 18:27:49 -04:00 |
|
Stuart D. Gathman
|
3844751ef0
|
Envelope and header values consistently decoded from utf-8. See RFC 8616.
|
2020-04-21 18:20:16 -04:00 |
|
Stuart D. Gathman
|
2b1b01c1ef
|
Decode header values as utf-8. Add header_bytes method which can be overridden.
|
2020-04-21 15:07:27 -04:00 |
|
John Vandenberg
|
222afcd555
|
setup.py: Update URL (#36)
good catch. A shame pythonhosted went away.
|
2020-01-27 10:25:28 -05:00 |
|
Stuart D. Gathman
|
4251fbc151
|
Work in python2 and python3
|
2019-08-27 22:29:38 -04:00 |
|
Stuart D. Gathman
|
4749f0ff98
|
Change header callback to bytes, but default Milter to convert
to str with surrogateescape.
|
2019-08-27 21:47:26 -04:00 |
|
Stuart D. Gathman
|
18186a3c11
|
Read header encoding tests as binary
|
2019-08-27 19:24:06 -04:00 |
|
Stuart D. Gathman
|
a01f598e37
|
Test case for invalid utf8 bytes in header.
|
2019-08-20 18:37:35 -04:00 |
|
Stuart D. Gathman
|
d0d45c5e61
|
ZipFile.setpassword() takes bytes in python3
|
2019-08-12 17:46:45 -04:00 |
|
Stuart D. Gathman
|
a1714f4838
|
Get denatured viruses from encrypted zip to avoid alarming scanners,
this allows test cases to pass again after last commit.
|
2019-08-10 20:34:03 -04:00 |
|
Stuart D. Gathman
|
edc2f73375
|
Store denatured viruses in encrypted zip, password "denatured".
This is for those complaining about signature scanners triggering on them.
|
2019-07-09 12:05:18 -04:00 |
|
Stuart D. Gathman
|
6373f8965b
|
Release 1.0.4
|
2019-04-19 10:32:09 -04:00 |
|
Stuart D. Gathman
|
10fdccf366
|
Release 1.0.4
pymilter-1.0.4
|
2019-04-17 19:07:50 -04:00 |
|
Stuart D. Gathman
|
7d097fa4a0
|
start.sh superceded by daemonize on EL6 and systemd elsewhere.
|
2019-04-17 17:25:06 -04:00 |
|
Stuart D. Gathman
|
ca81502c85
|
Remove milter.path no longer needed. Unified rpm spec.
|
2019-04-17 17:16:39 -04:00 |
|