7a5c942d54
Make PY_SSIZE_T_CLEAN
Stuart D. Gathman
2021-11-09 18:40:13 -05:00
1b2c48d8a9
adding required argument message_from_binary_file (#43)
Barry de Graaff
2021-11-01 23:46:59 +01:00
866201ca52
Merge branch 'master' of github.com:sdgathman/pymilter
Stuart D. Gathman
2021-07-14 08:43:05 -04:00
2744175998
Use a more generally runnable socketname
Stuart D. Gathman
2021-07-14 08:39:58 -04:00
599277855c
Update template.py (#40)
Barry de Graaff
2021-07-14 14:37:24 +02:00
e7592c6a96
Fix some test cases and bugs found on py3 bmsmilter install.
Stuart D. Gathman
2021-01-09 21:49:13 -05:00
7df236127b
Add sendmail style MTA policy query module
Stuart D. Gathman
2020-07-04 22:29:28 -04:00
1234869dd6
Add MTA policy module
Stuart D. Gathman
2020-07-04 21:21:41 -04:00
f37090371b
Milter.utils.parse_header returns string, other py3 fixes
Stuart D. Gathman
2020-06-25 19:47:38 -04:00
7ea839cfb1
Update docs for @decode callback.
Stuart D. Gathman
2020-06-18 19:53:43 -04:00
879e65bc31
bytes optimization
Stuart D. Gathman
2020-06-18 16:40:54 -04:00
4c7c76fca4
First cut at encoding error decorator
Stuart D. Gathman
2020-06-17 13:55:26 -04:00
132e8326b5
Consistently use surrogate escape by default.
Stuart D. Gathman
2020-06-17 12:54:58 -04:00
0efddd316a
Fix bug found by pysrs unit tests
Stuart D. Gathman
2020-06-16 20:10:33 -04:00
588153078b
New config test case with fix
Stuart D. Gathman
2020-06-16 19:50:07 -04:00
4ed12cf825
config test passes
Stuart D. Gathman
2020-06-16 19:40:37 -04:00
c098f9df6b
Test case for Milter.config (still failing)
Stuart D. Gathman
2020-06-16 18:45:03 -04:00
cdae26af47
More py3 fixes, switch to setuptools.
Stuart D. Gathman
2020-06-12 16:51:38 -04:00
bf3108b938
Fix doco nit from qzrrbz@github
Stuart D. Gathman
2020-06-02 15:08:21 -04:00
d5f9f86bba
Use utf-8 decoding with surrogateescape for invalid utf-8 for env and hdr val
Stuart D. Gathman
2020-04-23 15:52:20 -04:00
805825438c
Change __version__
Stuart D. Gathman
2020-04-21 18:27:49 -04:00
3844751ef0
Envelope and header values consistently decoded from utf-8. See RFC 8616.
Stuart D. Gathman
2020-04-21 18:20:16 -04:00
2b1b01c1ef
Decode header values as utf-8. Add header_bytes method which can be overridden.
Stuart D. Gathman
2020-04-21 15:07:27 -04:00
222afcd555
setup.py: Update URL (#36)
John Vandenberg
2020-01-27 22:25:28 +07:00
4251fbc151
Work in python2 and python3
Stuart D. Gathman
2019-08-27 22:29:38 -04:00
4749f0ff98
Change header callback to bytes, but default Milter to convert to str with surrogateescape.
Stuart D. Gathman
2019-08-27 21:47:26 -04:00
18186a3c11
Read header encoding tests as binary
Stuart D. Gathman
2019-08-27 19:24:06 -04:00
a01f598e37
Test case for invalid utf8 bytes in header.
Stuart D. Gathman
2019-08-20 18:37:35 -04:00
d0d45c5e61
ZipFile.setpassword() takes bytes in python3
Stuart D. Gathman
2019-08-12 17:46:45 -04:00
a1714f4838
Get denatured viruses from encrypted zip to avoid alarming scanners, this allows test cases to pass again after last commit.
Stuart D. Gathman
2019-08-10 20:28:48 -04:00
edc2f73375
Store denatured viruses in encrypted zip, password "denatured". This is for those complaining about signature scanners triggering on them.
Stuart D. Gathman
2019-07-09 12:05:18 -04:00
6373f8965b
Release 1.0.4
Stuart D. Gathman
2019-04-19 10:32:09 -04:00
bc9d8c622b
Release 1.0.2
Stuart D. Gathman
2016-12-13 14:15:56 -05:00
2fa952e108
Make test cases work. (Previous commit incomplete)
Stuart D. Gathman
2016-12-02 00:19:27 -05:00
381e906b6a
Implement setsymlist decorator and test framework
Stuart D. Gathman
2016-12-01 23:59:31 -05:00
207278479f
Another setsymlist misspelling
Stuart D. Gathman
2016-11-17 09:12:16 -05:00
a0bd76cded
Gerhard Schmidt corrected the FreeBSD test via pymilter list.
Stuart D. Gathman
2016-11-08 08:08:33 -05:00
8e96c23ddc
Update email and url in setup.py
Stuart D. Gathman
2016-11-07 20:10:54 -05:00
5ec4e2b34d
Update email
Stuart D. Gathman
2016-10-29 09:51:13 -04:00
28c3a6afd6
update .gitignore
Stuart D. Gathman
2016-10-17 23:48:09 -04:00
36df47f019
Move expected failure to testutils.py where it can be tagged. Change to example.com/40 for iniplist with leftover bits to ignore.
Stuart D. Gathman
2016-10-17 23:38:49 -04:00
e5c03665e9
Fixes (#8)
Tom Hendrikx
2016-10-18 05:23:55 +02:00
ea9ca0c12a
Pass bytes to body callback.
Stuart D. Gathman
2016-10-17 20:42:46 -04:00
fb1da3b12b
Call PyType_Ready
Stuart D. Gathman
2016-10-17 19:15:07 -04:00
74d33126b5
Create src.tar from git-archive
Stuart D. Gathman
2016-09-30 20:12:41 -04:00