"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "CHANGES":
1.7.1_vs_1.7.2.
1 This is the CHANGELOG for amavisd-milter.
2
3 20210103:
4 amavisd-milter-1.7.2:
5
6 Bug and compatibility fixies:
7 - The SMTP_AUTH* attributes are missing in policy_bank.
8
9 Thanks to: @damluk
10
11 20200906:
12 amavisd-milter-1.7.1:
13
14 Bug and compatibility fixies:
15 - An empty sender must always be enclosed in angle brackets.
16
17 20190227:
18 amavisd-milter-1.7.0:
19
20 amavisd-milter has been moved from SourceForge to to GitHub.
21
22 New features:
23 - Fork after initializing milter socket.
24 - Use client_name if available instead of hostname passed to xxfi_connect.
25 - Generate amamvisd-milter.8 from AMAVISD-MILTER.md.
26
27 Bug and compatibility fixies:
28 - Fixed compiler warnings.
29 - Converted indentation to spaces only.
30 - Removed obsoleted file amavisd-milter.spec.
31
32 20190203:
33 Generate amamvisd-milter.8 from AMAVISD-MILTER.md.
34
35 20190127:
36 Spamassassin's RDNS_NONE check requires in the synthesized Received:
37 header Forward-confirmed reverse DNS (FCrDNS) client name or "unknown"
38 if the FCrDNS is not available.
39
40 Sendmail sends the reverse DNS or IP address in square brackets both
41 in the client_host argument and the {client_name} macro. If the client
42 name is FCrDNS, the {client_reverse} macro is set to OK, otherwise to
43 FORGED, TEMP or FAIL.
44
45 Postfix sends a FCrDNS or "unknown" using the {client_name} macro.
46
47 Thanks to: Florian Pritz <bluewind@xinu.at>
48
49 20190121:
50 The milter socket is created before amavisd-milter is daemonized.
51 This allows to return an error in case of impossibility to create
52 the milter socket and package maintainers can adjust milter socket
53 permissions immediatelly after the main process exits.
54
55 Thanks to: Matus Uhlar
56
57 20190116:
58 Removed obsoleted file amavisd-milter.spec.
59
60 20190106:
61 amavisd-milter moved to GitHub.
62
63 20150525:
64 Properly eliminate UTF8 characters in nroff output for man2html
65 and README.
66
67 20150524:
68 amavisd-milter-1.6.1:
69
70 Bug and compatibility fixies:
71 - Fixed bug when creating amavisd-new policy bank names.
72
73 20150524:
74 Fixed bug when creating amavisd-new policy bank names.
75
76 Thanks to: Christian Roessner <c@roessner-network-solutions.com>
77
78 20130519:
79 amavisd-milter-1.6.0:
80
81 New features:
82 - Added new amavisd-milter option -B which passes value of
83 {daemon_name} milter macro as amavisd-new policy bank name.
84
85 Bug and compatibility fixies:
86 - Added amavisd-milter.spec for compilation with rpmbuild.
87 - Fixed typo which prevents using LDFLAGS on Debian.
88 - Fixed missing definition of true and false in libmilter/mfapi.h.
89
90 20130422:
91 Added new amavisd-milter option -B which uses value of {daemon_name}
92 milter macro as amavisd-new policy bank name.
93
94 Thanks to: Andreas Schulze
95
96 20130125:
97 Included amavisd-milter.spec for compilation with rpmbuild.
98
99 Thanks to: Jo Rhett <jrhett@netconsonance.com>
100
101 20120727:
102 Include stdbool.h before libmilter/mfapi.h in compat/compat.h because
103 libmilter/mfapi.h not define true and false.
104
105 20101105:
106 Fixed typo in aclocal/ax_path_milter.m4 which prevents using LDFLAGS
107 on Debian.
108
109 Thanks to: Harald Jenny <harald@a-little-linux-box.at>
110
111 20100502:
112 amavisd-milter-1.5.0:
113
114 Bug and compatibility fixies:
115 - Amavisd-new 2.7.0 introduce new AM.PDP response log_id.
116
117 20100501:
118 Amavisd-new 2.7.0 introduce new AM.PDP response log_id.
119
120 Thanks to: Andreas Schulze
121
122 20100131:
123 amavisd-milter-1.4.1:
124
125 New features:
126 - Added new amavisd-milter option -P which causes that mails pass
127 through when amavisd-new fails.
128
129 Bug and compatibility fixies:
130 - Debian installs libmilter.a to /usr/lib/libmilter.
131 - sendmail 8.14 introduces three new libmilter callbacks.
132
133 20091029:
134 amavisd-milter(8) manual page has been improved:
135 - Added link to milter documentation.
136 - Added socket name format description for sendmail and amavisd-new
137 socket.
138
139 20091003:
140 Added new amavisd-milter option -P which causes that mails pass through
141 when amavisd-new fails.
142
143 Thanks to: Uli Schellhaas <uli.schellhaas@memware.de>
144
145 20090803:
146 Bug fix - sendmail 8.14 introduces three new callbacks.
147
148 20090601:
149 Compatibility fix - Debian installs libmilter.a to /usr/lib/libmilter.
150
151 Thanks to: Simon Hobson <linux@thehobsons.co.uk>
152
153 20081205:
154 amavisd-milter-1.4.0:
155
156 New features:
157 - Added new amavisd-milter option -q which sets milter socket backlog
158 used by listen(2).
159 - Local state directory (default /var/amavis) is tunable via configure
160 option:
161 --localstatedir=</DIR> - absolute path to local state
162 directory.
163 - Working directory (default local state directory) is tunable via
164 configure option:
165 --with-working-directory=<SUBDIR> - subdirectory of local
166 state directory.
167 --with-working-directory=</DIR> - absolute path to working
168 directory.
169
170 Bug and compatibility fixies:
171 - amavisd-milter convert CRLF to LF in mail body to support amavisd-new
172 integrated DKIM signing and verification.
173 - Fixed memory leak in fts_alloc() on Solaris.
174 - Solaris doesn't have dirfd().
175 - Solaris 9 and older doesn't have sem_timedwait.
176
177 20081109:
178 Local state directory (default /var/amavis) is tunable via configure
179 option: --localstatedir=<DIR>
180
181 Working directory (default local state directory) is tunable via
182 configure option:
183 --with-working-directory=<SUBDIR> subdirectory of local state directory
184 --with-working-directory=</DIR> absolute path to working directory
185
186 20081108:
187 Added new amavisd-milter option -q which sets milter socket backlog
188 used by listen(2).
189
190 20081029:
191 Compatibility fix - Solaris 9 and older doesn't have sem_timedwait.
192 Use sem_trywait if sem_timedwait isn't available.
193
194 Thans to: Henrik Krohns <hege@hege.li>
195
196 20081029:
197 Memory leak in fts_alloc() on Solaris fixed.
198
199 Luke Mewburn wrote:
200 In examining the code, it appears that the implementation of
201 fts_alloc() can leak the struct stat fts_statp if you're not using
202 ALIGNBYTES() && ALIGN(), which I guess that Solaris doesn't have.
203 Given that the leaked buffers are 160 bytes in size (184960/1156),
204 I suspect that's sizeof(struct stat) and our culprit.
205
206 Thanks to: Henrik Krohns <hege@hege.li>
207 Submitted by: Luke Mewburn <luke@mewburn.net>
208
209 20081028:
210 Compatibility fix - Solaris doesn't have dirfd().
211
212 Thanks to: Henrik Krohns <hege@hege.li>
213
214 20080701:
215 Sync fts_open.c with the NetBSD libc (upstream) fts.c, which brought
216 in a few fixes, including one that looked like a potential memory leak.
217 Thanks to: Luke Mewburn <luke@mewburn.net>
218
219 Properly check -D option parameters.
220 Thanks to: Henrik K <hege@hege.li>
221
222 20080310:
223 Convert CRLF to LF in mail body, because sendmail send always CRLF,
224 but amavisd-new requires that a message on a temporary file is in
225 a native text format of a host's file system, i.e. with LF terminated
226 lines on Unix or Linux.
227 Thanks to: David Schweikert <david@schweikert.ch> and Mark Martinec
228 <Mark.Martinec@ijs.si>
229
230 20070923:
231 amavisd-milter-1.3.1
232
233 Bug fixies:
234 - Properly calculate timezone offset for synthesized Received header
235 on platforms where gmtime() and localtime() returns the pointer to
236 the same static struct.
237
238 20070923:
239 Better explained -D option.
240
241 20070915:
242 In mlfi.c:mlfi_envfrom() the gmtime() and localtime() call returns the
243 pointer to the same static struct. Thus pointers gt and lt are
244 identical and the UTC offset is always +0000 which is bogus.
245 Thanks to: Curtis Doty <curtis@greenkey.net>
246
247 20070902:
248 amavisd-milter-1.3.0
249
250 New features:
251 - Implemented AM.PDP request attribute policy_bank (amavisd-new
252 2.5.0 or higher is required). Currently SMTP_AUTH, SMTP_AUTH_<MECH>
253 and SMTP_AUTH<MECH>_<BITS> policy bank names are sent when the remote
254 client is authenticated.
255 - Added new amavisd-milter option -D client|server which allow
256 personalized header or body modifications.
257
258 Bug fixies:
259 - fixed bug when amavisd communication buffer is growing.
260
261 Compatibility:
262 - properly get queue id when amavisd-milter is used with postfix.
263
264 Performance:
265 - improved performance under heavy load.
266
267 20070901:
268 Performance optimization: use sem_timedwait instead of
269 sem_trywait+sleep(1) for amavisd connection lock.
270 Requested by: David Schweikert <david@schweikert.ch>
271
272 20070831:
273 Added new amavisd-milter option -D client|server which allow
274 personalized header or body modifications.
275 Requested by: Brian C. Huffman <bhuffman@graze.net>
276
277 Fixed bug when amavisd communication buffer is growing.
278 Thanks to: Michael Moeller <mmoeller@kimchukmail.com>
279
280 20070729:
281 Better compatibility with Postfix: it does give information about
282 the queue-number only after the RCPT-TO-phase.
283 Thanks to: David Schweikert <david@schweikert.ch>
284
285 20061219:
286 amavisd-milter-1.2.1
287
288 New features:
289 - Implemented AM.PDP request attribute 'protocol_name'.
290 Add folowing line to your sendmail.mc:
291
292 define(`confMILTER_MACROS_ENVFROM', confMILTER_MACROS_ENVFROM`, r, b')
293
294 Limited support for sendmail 8.12:
295 - smfi_addheader() is used instead of smfi_insheader() for insheader
296 and addheader AM.PDP responses. This works well with amavisd-new
297 2.4.3 or newer.
298 - smfi_progress() isn't called when amavisd-milter wait for amavisd-new
299 communication socket.
300 - AM.PDP response quarantine isn't implemented.
301
302 Bug fixies:
303 - add synthesized Received header for Spamassassin.
304 - properly handle IPv6 client address.
305
306 20061217:
307 Added support for IPv6 addresses.
308 Thanks to: Mark Martinec <Mark.Martinec@ijs.si>
309
310 20061206:
311 Limited support for legacy sendmail 8.12:
312 - AM.PDP v2 response attribute quarantine isn't implemented.
313 Thanks to: Adam Gibson <agibson@ptm.com>
314
315 20061203:
316 Added info about user authentication to synthesized received header.
317 Format of synthesized received header is now:
318
319 Received: from <hello> (<rdns> [<ip>]) (authenticated bits=<bits>)
320 by <hostname> (<rdns> [<ip>])
321 with <protocol> (authenticated as <user>) id <qid>;
322 <date>
323 (envelope-from <sender>)
324
325 Thanks to: Jo Rhett <jrhett@netconsonance.com>
326
327 20061113:
328 Limited support for legacy sendmail 8.12:
329 - amavisd-milter don't call smfi_progress when wait for amavisd-new
330 communication socket.
331 - amavisd-milter use smfi_addheader instead of smfi_insheader for
332 insheader and addheader AM.PDP response attributes. This work well
333 with amavisd-new 2.4.3 or newer. Older versions are affected with
334 bug fixed on 20060714.
335
336 20061017:
337 Implemented AM.PDP request attribute protocol_name.
338
339 amavisd-milter adds Received header for the current connection to
340 the mail file as the first line because without the most recent
341 Received header, Spamassassin reports lots of false hits on rules
342 checking where the message was received from.
343 Thanks to: Jo Rhett <jrhett@netconsonance.com>
344
345 NOTE: Please add these line to your sendmail.mc:
346
347 define(`confMILTER_MACROS_ENVFROM', confMILTER_MACROS_ENVFROM`, r, b')
348
349
350 20061008:
351 amavisd-milter-1.2.0
352
353 Improved amavisd connection locking. When amavisd connection is closed,
354 lock is removed immediately.
355
356 20061004:
357 Implemented AM.PDP protocol version 2. New response attributes
358 are version_server, insheader and quarantine.
359
360 Tru64 portability fix: don't use variadic macros.
361
362 20060714:
363 Fixed bug with addheader: amavisd-new assume that header is added
364 to the end of headers but sendmail insert it before first occurence
365 of the header with same name.
366 Submitted by: Krzysztof Oledzki <ole@ans.pl>
367
368 20060616:
369 Amavisd communication buffer is now dynamically allocated.
370 MAXAMABUF is maximum buffer length, AMABUFCHUNK is initial length
371 and reallocation step. Buffer is allocated for every connection.
372
373 Tru64 portability fix: replace missing daemon(8) function.
374
375 20060414:
376 amavisd-milter-1.1.2
377
378 MAXAMABUF is increased from 2048 to 65536 because it must be greater
379 then confMAX_HEADERS_LENGTH which is usually set to 32768. If mail
380 header is longer than MAXAMABUF, mail is permanently rejected with
381 temporary fail return code and will never reach the recipents.
382
383 Added new configure option --with-sendmail=<DIR> which change base
384 directory in which are placed libmilter header files and library
385 (e.q. /usr/local on FreeBSD when you using sendmail from ports).
386
387 20060125:
388 amavisd-milter-1.1.1
389
390 Portability release. amavisd-milter-1.1 now can be compiled on
391 FreeBSD, NetBSD, OpenBSD, Linux and Solaris. Please report
392 success or problems on the users mailing list.
393
394 20060125:
395 Linux and Solaris portability fix: sem_t is declared as pointer on
396 *BSD but as structure on Linux and Solaris.
397
398 Solaris portability fix: search sem_init in librt.
399
400 Solaris portability fix: replace missing fts.h API.
401
402 20060124:
403 amavisd-milter-1.1.0
404
405 New features:
406 - amavisd-milter can limit number of concurrent connections
407 to amavisd-new
408 - amavisd-milter is responsible to remove message work
409 directory
410
411 20060124:
412 README is now generated from amavisd-milter(8) manual page.
413
414 Remove all files and directories in working directory because
415 amavisd-new sometimes don't do it (e.q. when antivirus fail).
416
417 20060123:
418 Limit maximum concurrent connections to amavisd:
419
420 amavisd-milter -m 4 -M 600
421
422 means that there is limit to maximum 4 concurrent connections to
423 amavisd and wait maximum 10 minutes (10*60 sec) for connection to
424 amavisd. When connection isn't available, amavisd-milter sleep for
425 1 sec. Every minute of waiting is sendmail triggered via
426 smfi_progress. When time limit run out then amvisd-milter return
427 temporary fail.
428
429 20060113:
430 amavisd-milter-1.0.4
431
432 Bugfix release. Added manual page amavisd-milter(8).
433
434 INCOMPATIBILITY with 1.0.3 and previous versions:
435
436 Default working directory was changed from /var/amavis/tmp
437 to /var/amavis to accordance with amavisd-new $helpers_home
438 default value. To go back to the previous behaviour run
439 amavisd-milter with option -w /var/amavis/tmp
440
441 20060109:
442 When stopping amavisd-new one (maybe not always just one) of milter
443 threads amavisd-milter start to eat up a cpu time.
444 Submitted by: Grzegorz Piszczek <grzegorz@piszczek.name>
445
446 Fixed bug in mlfi_close(): amavisd-milter dies randomly due to
447 segmentation fault.
448 Submitted by: Grzegorz Piszczek <grzegorz@piszczek.name>
449
450 20051225:
451 Added amavisd-milter(8) manual page. README and website are
452 synchronized with this manual page.
453
454 Changed default working directory to /var/amavis (default value
455 for amavisd-new helpers home directory).
456
457 20051204:
458 Some users reports problem with ENOMEM in amavis_response().
459 Consequently MAXAMABUF is increased from 1024 to 2048, amavis_request()
460 and amavis_response() returns EOVERFLOW when buffer size isn't enough
461 and truncated response is logged when debug level is >= 3.
462
463 20051202:
464 Fixed default path to pidfile in README and website.
465 Submitted by: Jerzy Sakol <jerzy.sakol@commgraf.pl>
466
467 20050829:
468 Added amavisd-new configuration section to README.
469
470 20050701:
471 amavisd-milter-1.0.3
472
473 Bugfix release. Properly set amavisd connection timeout.
474
475 20050701:
476 Set amavisd_timeout instead of mlfi_timeout for -T option.
477 Submitted by: Mr.Sompis Junsui <sompis.j@cdg.co.th>
478
479 20050701:
480 Unlink old pid file on start.
481
482 20050605:
483 amavisd-milter-1.0.2
484
485 Bugix release. Fix memory leak in mlfi_cleanup.
486
487 20050529:
488 amavisd-milter-1.0.1
489
490 Portability release. Now can be compiled on Debian 3.0, Fedora FC2 and
491 FC3, OpenBSD 3.4 and Solaris 9. Tested on Sourceforge compile farm.
492 Please report success or problems on the users mailing list:
493
494 http://lists.sourceforge.net/lists/listinfo/amavisd-milter-users
495
496 20050522:
497 Define EILSEQ on systems without it.
498
499 20050520:
500 mkdtemp(3) compatibility function.
501
502 20050512:
503 Initial version of README.
504
505 20050512:
506 Better portability with autoconf macros from
507 http://ac-archive.sourceforge.net/
508
509 20050510:
510 strlcpy(3) compatibility function.
511
512 20050511:
513 amavisd-milter-1.0.0
514
515 First public release. Fully tested on FreeBSD 5.3.