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
3844751ef0
Envelope and header values consistently decoded from utf-8. See RFC 8616.
2020-04-21 18:20:16 -04: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
Ralph Seichter
50356d4710
Fix for compilation error on macOS 10.14 (Mojave) ( #31 )
...
This change ensures that arpa/inet.h is included when building
miltermodule.c on macOS 10.14. See
https://github.com/sdgathman/pymilter/issues/30
Signed-off-by: Ralph Seichter <github@seichter.de >
2019-04-17 11:53:56 -04:00
dkg
ec3fa46799
Correctly document that body callback chunks are in bytes ( #28 )
...
https://github.com/sdgathman/pymilter/issues/12 says "Obviously, body
and replacebody are bytes" and milter_wrap_body in miltermodule.c
says:
arglist = Py_BuildValue("(Oy#)", c, bodyp, bodylen);
…
So pymilter should sport the correct documentation.
2019-02-22 15:54:01 -05:00
Stuart D. Gathman
ff6a07ef10
Misspelling - Scott Kitterman
2018-12-26 10:31:20 -05:00
Stuart D. Gathman
7dfda0a3bd
More #ifdef consolidation.
2018-12-24 18:20:26 -05:00
Pino Toscano
183ce91a61
Include arpa/inet.h on any GNU libc platform ( #24 )
...
This header is provided by GNU libc on any platform, so include it
unconditionally if __GLIBC__ is defined.
Fixes #23 .
2018-12-24 17:42:13 -05:00
Stuart D. Gathman
f9b2241ec6
Improve readability of module init, setitem. Move old changes to ChangeLog
2018-12-23 20:00:24 -05:00
Stuart D. Gathman
62783fbbfd
Convert python3 patch for miltermodule.c to #ifdef - Scott Kitterman
2018-12-23 19:46:59 -05:00
jcea
10471faa7d
Correctly support IPv6 in Solaris ( #17 )
...
I can't see how adding one more OS to the manual list can hurt for now, so in goes the PR. Thanks.
2018-01-09 14:46:11 -05:00
Stuart D. Gathman
a0bd76cded
Gerhard Schmidt corrected the FreeBSD test via pymilter list.
2016-11-08 08:12:52 -05:00
Stuart D. Gathman
5ec4e2b34d
Update email
2016-10-29 09:51:13 -04:00
Stuart Gathman
a8f373ea65
Allow ACCEPT as an exception policy.
2013-03-15 20:50:01 +00:00
Stuart Gathman
f357be1e99
Release 0.9.8
2013-03-14 22:11:26 +00:00
Stuart Gathman
baeddd9fa5
Make TestBase members private, fix getsymlist misspelling.
2013-03-09 05:42:14 +00:00
Stuart Gathman
242f2fa78f
Better untrapped exception message. const char for doc comments.
2013-03-09 00:25:23 +00:00
Stuart Gathman
b12c4c9746
Doc updates.
2013-01-13 01:46:17 +00:00
Stuart Gathman
70d19001c0
Replace redundant callback array with macros. If this doesn't break anything,
...
macros can be eliminated with code changes.
2012-04-12 23:32:50 +00:00
Stuart Gathman
0d001dd8e9
Support RFC2553 on BSD
2012-04-12 23:08:06 +00:00
Stuart Gathman
4e0d3da07d
Print callback name for non-int return error.
2011-06-09 15:45:27 +00:00
Stuart Gathman
53c7519922
Generate special exception when callback return not int.
2011-06-08 23:13:48 +00:00
Stuart Gathman
c20e82e3d4
Add getversion() to return runtime version.
2009-07-28 21:45:54 +00:00
Stuart Gathman
a3889189f0
Increment del count.
2009-07-28 21:08:20 +00:00
Stuart Gathman
f86bda2ba4
getdiag method
2009-07-28 20:58:55 +00:00
Stuart Gathman
66f8a1d437
Forgot to initialize optional parameter.
2009-06-09 01:54:44 +00:00
Stuart Gathman
344ecc7c07
Typo SMFIP_NO constants.
2009-05-29 20:44:58 +00:00
Stuart Gathman
ee14614c3e
Typo SMFIS_ALL_OPTS
2009-05-29 19:53:36 +00:00
Stuart Gathman
4bb2403223
Typo calling helo instead of negotiate.
2009-05-29 19:49:40 +00:00
Stuart Gathman
26b006455e
Null terminate keyword list.
2009-05-29 18:25:59 +00:00
Stuart Gathman
cb31963492
Support new callbacks, including negotiate
2009-05-28 18:36:43 +00:00
Stuart Gathman
ed17f9cecf
First cut at support unknown, data, negotiate callbacks.
2009-05-21 21:53:05 +00:00
Stuart Gathman
780ac63ebe
Oops! Missing options argument pointer for addrcpt.
2009-02-06 04:28:08 +00:00
Stuart Gathman
9118364164
Fedora release
2008-12-16 04:21:05 +00:00
Stuart Gathman
30f4c27c45
Split off milter applications.
2008-12-13 20:29:56 +00:00
Stuart Gathman
a1bbc31b11
Doc updates.
2008-12-04 19:43:00 +00:00
Stuart Gathman
368ffd5374
Milter support for chgfrom.
2008-11-23 03:06:47 +00:00
Stuart Gathman
f12bcf9af9
Support smfi_chgfrom and smfi_addrcpt_par.
2008-11-21 20:42:52 +00:00
Stuart Gathman
94ce032559
Update license.
2007-09-25 02:26:29 +00:00
Stuart Gathman
04c8b2e1fc
Resolve FIXME for wrap_close.
2006-02-12 02:00:42 +00:00
Stuart Gathman
fb3c140d4c
Compile on sendmail-8.12 (ifdef SMFIR_INSHEADER)
2005-12-23 21:46:36 +00:00
Stuart Gathman
b3dce26928
Include smfi_progress is SMFIR_PROGRESS defined
2005-10-20 23:23:36 +00:00
Stuart Gathman
fcd85dbfb5
Add optional idx for position of added header.
2005-10-20 23:04:49 +00:00
Stuart Gathman
f749b6f2cd
Support callback exception policy
2005-07-15 22:18:17 +00:00
Stuart Gathman
e9f6773096
Report context allocation error.
2005-06-24 04:20:07 +00:00
Stuart Gathman
2276762c52
Remove unused name argument to generic wrappers.
2005-06-24 04:12:43 +00:00
Stuart Gathman
a142fefb19
Handle close called before connect.
2005-06-24 03:57:35 +00:00
Stuart Gathman
bdc6b71845
Update copyright notices after reading article on /.
2005-06-02 04:18:55 +00:00