Skip to content

Commit

Permalink
updated notes, setting release 2.0.0
Browse files Browse the repository at this point in the history
  gonna use our own version numbers after all, i think that might have
  been a kinda dumb idea
  • Loading branch information
jons committed Mar 28, 2017
1 parent addf082 commit e21b4e6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# node-milter
node.js bindings for postfix milters

this addon produces libmilter callbacks in node.js so that you don't have to be
a C programmer to use postfix with libmilter.
this addon produces libmilter callbacks in node.js v7.7.4 so that you don't have
to be a C programmer to use postfix with libmilter.

when its main function is called, libmilter creates a threaded daemon where each
mail session has one unique thread in your program servicing it. this main is
Expand Down Expand Up @@ -78,6 +78,12 @@ use of the CONTINUE return code.
milter.SMFIS_REJECT


add a smtpd_milters line to your main.cf that matches your description in milter.start
and go to town. the test cases included in the project should show you how.


MILTER STUFF

other envelope methods.
access to message modifiers is allowed during the EOM event with these methods.

Expand Down Expand Up @@ -127,8 +133,9 @@ libmilter uses globals and is not thread-safe. you cannot use multiprocessing
features in node with this addon.


the milter will register in postfix with the name "node-bindings". the name
"node-milter" is intended to give the project a sensible npm identity.
the milter will register in postfix with the name "node-bindings", you already
know it's a milter. the name "node-milter" is intended to give the project a
sensible npm identity and some github presence, too.

sources implicitly depend on pthreads yet don't use their #include files by name.
- libmilter explicitly uses pthreads, and libuv is implicitly using them. the
Expand All @@ -146,9 +153,5 @@ expected (char *) which is probably stupid. it is unclear to me why there is no
Buffer::New() that simply accepts (void *) like all the real POSIX C buffer-
manipulating functions. whatever.


ERRATA

this link is gold.

https://strongloop.com/strongblog/node-js-v0-12-c-apis-breaking/
some calls probably don't work unless wrapped in setImmediate(), but i don't
know why yet.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "milter",
"description": "bindings for writing postfix milter daemons",
"version": "7.7.4",
"version": "2.0.0",
"author" : "jon shusta",
"maintainers":[
{
Expand Down

0 comments on commit e21b4e6

Please sign in to comment.