-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPatch02-libsharedmilter-README.patch
37 lines (33 loc) · 1.32 KB
/
Patch02-libsharedmilter-README.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- libsharedmilter/README 2024-12-08 14:39:21.524135554 +0200
+++ libsharedmilter/README.new 2024-12-08 14:51:05.720015470 +0200
@@ -12,6 +12,9 @@
Starting with 8.13 sendmail is compiled by default with support for
the milter API.
+Starting with 8.18.2 a libmilter shared object can be built
+(`libmilter.so'). A custom version number can be used (see below).
+
Note: if you want to write a milter in Java, then see
http://sendmail-jilter.sourceforge.net/
@@ -67,6 +70,24 @@
setrlimit() to increase the number of open file descriptors if your filter
is going to be busy.
++----------------------------------------+
+| DEFINING A CUSTOM SHARED OBJECT NUMBER |
++----------------------------------------+
+
+The shared object's version number is extracted from `mfapi.h'.
+
+Alternatively, a custom version number can be defined for `libmilter.so'.
+The custom number can consist of oen, two, or three numbers
+(libmilter.so.1.2.3).
+
+To use a custom SO version number, add the following, according to your
+needs, to your `site.config.m4':
+
+ define(`conf_libmilter_CUSTOM_SOMAJOR', `3')dnl
+ define(`conf_libmilter_CUSTOM_SOMINOR', `1')dnl
+ define(`conf_libmilter_CUSTOM_SOPATCH', `5')dnl
+
+This will result in `libmilter.so.3.1.5' to be built.
+----------------------------------------+
| SPECIFYING FILTERS IN SENDMAIL CONFIGS |