Commit Graph

  • 20751ea706 Set C standard to C17 explicitely (#70) master Sandro 2025-03-13 01:05:10 +01:00
  • 7197b82ed6 thread module has been renamed to _thread in Python 3 (#64) dotlambda 2025-03-12 17:00:12 -07:00
  • 39a1fc78d8 Merge branch 'master' of github.com:sdgathman/pymilter Stuart D. Gathman 2024-10-15 19:43:54 -04:00
  • 5ad23e468d bsddb changed nulls in access file policy Stuart D. Gathman 2024-10-15 19:42:05 -04:00
  • 6eedaf7717 Python 3.13: Replace deprecated makeSuite() (#65) Sandro 2024-10-14 20:36:04 +02:00
  • 4a8018c2de Welcome __NetBSD__ to the required header include. (#60) Jean-Yves 2024-06-05 14:18:15 +02:00
  • 1212a0ef59 Forgot to bump internal tags Stuart D. Gathman 2024-05-29 18:45:09 -04:00
  • 5675adeb3c Work with berkeleydb and try importing it first. pymilter-1.0.6 Stuart D. Gathman 2024-05-29 18:08:30 -04:00
  • 35416dfc46 Support MTAs with colon separator Stuart D. Gathman 2024-05-29 11:15:26 -04:00
  • c33de064ee Merge branch 'master' of github.com:sdgathman/pymilter Stuart D. Gathman 2024-05-29 11:14:19 -04:00
  • 1c05080768 Remove calls to the deprecated method "assertEquals" (#57) Jaime Marquínez Ferrándiz 2024-03-12 03:27:18 +01:00
  • dce7c0080a Adapt to MTAs that use ':' as key terminator and/or add null char to key/value. Stuart D. Gathman 2022-07-15 19:00:41 -04:00
  • 7deec90a59 Drop paragraph about python 2.0 compatibility Stuart D. Gathman 2021-12-31 00:56:54 -05:00
  • c73b533acb Update README.md to satisfy PiPy Stuart D. Gathman 2021-12-31 00:49:54 -05:00
  • 102e042a38 Fix deprecation warnings pymilter-1.0.5 Stuart D. Gathman 2021-12-15 23:35:02 -05:00
  • 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
  • 10fdccf366 Release 1.0.4 pymilter-1.0.4 Stuart D. Gathman 2019-04-17 19:07:50 -04:00
  • 7d097fa4a0 start.sh superceded by daemonize on EL6 and systemd elsewhere. Stuart D. Gathman 2019-04-17 17:25:06 -04:00
  • ca81502c85 Remove milter.path no longer needed. Unified rpm spec. Stuart D. Gathman 2019-04-17 17:16:39 -04:00
  • 50356d4710 Fix for compilation error on macOS 10.14 (Mojave) (#31) Ralph Seichter 2019-04-17 17:53:56 +02:00
  • ec3fa46799 Correctly document that body callback chunks are in bytes (#28) dkg 2019-02-20 19:38:05 -05:00
  • 04e0b15640 Import full path on py3 Stuart D. Gathman 2019-02-19 21:48:50 -05:00
  • ff6a07ef10 Misspelling - Scott Kitterman Stuart D. Gathman 2018-12-26 10:31:20 -05:00
  • 7dfda0a3bd More #ifdef consolidation. Stuart D. Gathman 2018-12-24 18:20:26 -05:00
  • 183ce91a61 Include arpa/inet.h on any GNU libc platform (#24) Pino Toscano 2018-12-24 23:42:13 +01:00
  • d30918aca7 Fix python3 unit tests pymilter-1.0.3 Stuart D. Gathman 2018-12-23 23:38:15 -05:00
  • 4e8fda517c Fix getsymval for python3 Stuart D. Gathman 2018-12-23 23:16:42 -05:00
  • 2194d8fd96 setsymlist not called yet in TestMilter Stuart D. Gathman 2018-12-23 23:03:46 -05:00
  • 52e1b4ae32 Move sys to top of mime.py Stuart D. Gathman 2018-12-23 22:31:20 -05:00
  • 55e5378659 Move py3 sgmllib to an internal module - Scott Kitterman Stuart D. Gathman 2018-12-23 20:29:01 -05:00
  • f9b2241ec6 Improve readability of module init, setitem. Move old changes to ChangeLog Stuart D. Gathman 2018-12-23 20:00:24 -05:00
  • 62783fbbfd Convert python3 patch for miltermodule.c to #ifdef - Scott Kitterman Stuart D. Gathman 2018-12-23 19:46:59 -05:00
  • d521665f75 Working testctx, still need to redirect logging in testsample.py Stuart D. Gathman 2018-08-18 17:49:37 -04:00
  • 55eb05e526 Change deprecated failUnless to assertTrue Stuart D. Gathman 2018-08-05 00:34:06 -04:00
  • fc008f6db0 Update documentation Stuart D. Gathman 2018-08-04 14:09:23 -04:00
  • 96cd9ac263 Request compile error on implicit function declarations to save lots of debugging time. Stuart D. Gathman 2018-01-09 21:52:39 -05:00
  • 10471faa7d Correctly support IPv6 in Solaris (#17) jcea 2018-01-09 20:46:11 +01:00
  • 36750bac78 Fix some python3 syntax errors Stuart D. Gathman 2017-04-20 17:00:14 -04:00
  • 42e7a02638 Missed version pymilter-1.0.2 Stuart D. Gathman 2016-12-13 14:17:34 -05: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
  • 834ef18c09 Really support python3 pymilter-1.0.1 Stuart D. Gathman 2016-09-29 00:41:42 -04:00
  • a36dcbfcdd All unittests pass in py2 and py3! Stuart D. Gathman 2016-09-29 00:27:42 -04:00
  • 626d5ae20e Add ported sgmllib module to keep SGMLFilter working for now. Stuart D. Gathman 2016-09-29 00:19:26 -04:00
  • 9d7645c1a5 Binary file handling and extension scanning work in py3. Stuart D. Gathman 2016-09-26 18:57:56 -04:00
  • eaa6a43f0d Missed some tabs. Stuart D. Gathman 2016-09-26 18:56:57 -04:00
  • 032efebaed Use with statement to close test files. Stuart D. Gathman 2016-09-26 18:56:04 -04:00
  • edef64a422 Binary file output for emails Stuart D. Gathman 2016-09-26 18:55:25 -04:00
  • 5361315634 Minor fixes to make test suite pass for python2 after binary/text file changes. Stuart D. Gathman 2016-09-26 13:36:22 -04:00
  • 755f3edb2b Use binary files for email. Still some issues to work out with payloads. Stuart D. Gathman 2016-09-22 21:57:14 -04:00
  • bae79a4f1c Fix lots of py3isms. Email package is borked in py3, however. Stuart D. Gathman 2016-09-21 17:24:37 -04:00
  • 70fa47dac6 thread renamed to _thread in python3 Stuart D. Gathman 2016-09-21 11:35:01 -04:00
  • b4931bebbd Update source URL to github Stuart D. Gathman 2016-09-21 00:50:20 -04:00
  • 604255a29c Release 1.0.1-1 Stuart D. Gathman 2016-09-21 00:39:52 -04:00
  • 7e12680867 Builds on el6,el7,f24 Stuart D. Gathman 2016-09-20 22:00:01 -04:00
  • d6337e565d Builds for f24 Stuart D. Gathman 2016-09-20 18:36:59 -04:00
  • cddef88ed9 Python3 patch for miltermodule.c Stuart D. Gathman 2016-09-20 16:25:52 -04:00
  • 1337bf612b Make progress do nothing Stuart D. Gathman 2016-08-22 13:50:43 -04:00