masqmail

view ChangeLog @ 426:d48d3622b64f

Updated AUTHORS and THANKS files.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 11:49:40 +0200
parents 75f4a5676808
children 34c919a8d74e
line source
1 This ChangeLog file summarizes the (implementation) changes from the
2 technical view.
4 The code repository log file provides the changes in full detail.
6 Have a look at the NEWS file for a summary of the changes in a less
7 technical speach and with focus on compatibility.
10 0.3.4 Wed, 18 Jan 2012 09:21:54 +0100
11 * Reworked the route concept. Better names: ``online_routes'' is now
12 known as ``query_routes'' and the ``local_net_route'' in now named
13 ``permanent_routes''. Removed the idea of the localnet because it
14 is only part of the more general concept: permanent routes. Removed
15 `local_nets'; they are now represented by allowed_recipients in a
16 permanent route. (See: examples/localnet.route) Now, there is no
17 more abiguity between `local' and `local net'. Run
18 admin/config-transition on your config to learn how to update it.
19 * Switched the default group for masqmail from `trusted' to `mail'.
20 * Fixed a problem with psb->remote_host, introduced in version 0.3.2
21 (changeset 412385b57dc4).
22 * Fixed a bug in matching of allowed recipients. Thanks to Juergen
23 Daubert for finding and reporting the issue.
24 * Enabled auth support per default.
25 * Removed support for openssl linking. It had been rarely used and
26 could have caused legal problems. We don't miss functionality here,
27 because we already have builtin MD5 support.
28 * Removed ident support. This had been discussed on the mailing list
29 in Oct 2011.
30 * `local_hosts' now understands glob patterns like `*example.org'.
31 * Lots of refactoring and removal of unused code.
32 * Smaller cleanups of the man pages.
34 0.3.3 Wed, 31 Aug 2011 08:38:13 +0200
35 * Fixed a possible security problem, reported by John Lightsey. See
36 Debian bug #638002. The return value of seteuid() calls was handled
37 wrong or not at all. Now, the (already available) set_euidgid()
38 function is used when possible. Additionally, removed the unnecessary
39 identity change when writing into an already open file descriptor.
40 * Added debug level 9 for msgs to stderr during reading config.
41 * Fixed local-part only address patterns in route conditions. The man
42 page claimed behavior that wasn't implemented up to now. Thanks to
43 Juergen Daubert for the bug report.
44 * Switched default listen address back from 127.0.0.1 to `localhost'.
45 Better be straight-forward than too clever.
47 0.3.2 Fri, 03 Jun 2011 10:14:33 +0200
48 * Fixed an important bug with folded headers! The folded lines
49 of a long header would be ignored in unpredictable cases.
50 Also fixed another problem with folded headers and
51 g_strconcat() in spool read.
52 * Reworked allowed and denied addrs for routes to be more
53 consistent and allow more flexible matching:
54 - allowed_mail_locals + allowed_return_paths ->
55 allowed_senders
56 - not_allowed_mail_locals + not_allowed_return_paths ->
57 denied_senders
58 - allowed_rcpt_domains -> allowed_recipients
59 - not_allowed_rcpt_domains -> denied_recipients
60 * Reworked online_detect to the simpler online_query. Only
61 pipe is supported now. Use
62 online_query="/bin/cat /path/to/file"
63 instead of
64 online_detect=file
65 online_file=/path/to/file
66 and
67 online_query="/path/to/some/script foo"
68 instead of
69 online_detect=pipe
70 online_pipe="/path/to/some/script foo"
71 See man page masqmail.conf(5) and admin/config-transition.
72 * Removed protocol option from route config because it was
73 somehow redundant. Now, if `pipe' is set, the protocol will
74 be pipe, otherwise it'll be smtp. That's just natural.
75 * Bugfix: off-by-one in pipe aliases
76 * Null-terminated the decoded base64 strings.
77 * Now the Received: headers are much friendlier to read. The
78 header for locally (i.e. non-SMTP) received mail is changed
79 to the format postfix uses.
80 * Replaced header_fold() with a better implementation and
81 improved the (yet) unused function header_fold().
82 * Made protocol names upper case, like RFC 5321 requires them.
83 * Several improvements to the man pages.
84 * As always: various refactoring.
85 * Ran aclocal and autoconf.
86 * Added a description of how I create a masqmail release.
88 0.3.1 Wed, 08 Dec 2010 18:03:04 -0300
89 * smtp_out.c: changed the SMTP greeting behavior to match RFC
90 2821 (always try EHLO first). Thanks to inne for pointing me
91 on that. See also Debian bug #349211
92 * fail_msg.c: postmaster is now matched caseless, as
93 required by RFC
94 * cmdline arguments are now added to the recipient list instead
95 of substracted, when -t is used
96 * print version if called without arguments (see commit message
97 or code)
98 * added -bm for mode accept (it's the default but the other MTAs
99 have it too)
100 * calling masqmail as `newaliases' is now recognized
101 * mark -qo (without argument) obsolete (see man page)
102 * refactored the cmdline argument processing (-m is recognized,
103 unknown -oXXX options are ignored now and some corner-cases
104 covered)
105 * operation modes are now enforced exclusive, fail otherwise
106 * -q and -qo are non-exclusive
107 * fixed -oem by removing it ;-) (see NEWS and docs/oem-option)
108 * heavy refactoring in parse.c and deliver.c, plus various
109 other refactoring
110 * fixed `To: alice, bob' with -t. If rcpt headers contained
111 an unqualified address followed by more addresses, they were
112 not recognized.
113 * created new functions manipulate_queue() and run_queue()
114 and moved code from main()
115 * replaced the loop-based alias_expand() with a new one that
116 wraps the recursive alias_one()
117 * removed ADDR_FLAG_NOEXPAND as it is not needed anymore
118 * removed ACC_DEL_RCPTS because it's always used together with
119 ACC_RCPT_FROM_HEAD
120 * s/EXIT_SUCCESS/0/ && s/EXIT_FAILURE/1/
121 * made addr_isequal() and addr_isequal_parent() more flexible,
122 thus making addr_isequal_alias() needless and removed
123 * merged rcptlist_with_one_of_hostlist() and
124 rcptlist_with_addr_is_local() into split_rcpts()
125 * removed the obsolete pos argument from time_interval()
126 * renamed the default route for the local net to
127 `default local_net_route'
128 * renamed `alias_local_caseless' to `caseless_matching' because
129 it does not only affect the matching of local parts of aliases
130 anymore but is used anywhere where address matching is
131 performed
132 * renamed conf.alias_local_cmp to conf.localpartcmp
133 * minor improvements of debug messages
134 * heavily improved and updated man/masqmail.8
135 * several, mostly cosmetic, cleanups
137 0.3.0 Fri, 23 Jul 2010 21:58:25 +0200
138 * new development branch
139 (Attention: No backward compatibility guaranteed.)
140 * removed POP3 support (also pop-before-smtp/smtp-after-pop)
141 * removed maildir support
142 * removed built-in mserver functionality
143 * removed, already deprecated, `remote_port' config option
144 * removed --disable-smtp-server and --with-glib-static
145 configure options
146 * exit if host_name is not set in conf file
147 * local_hosts defaults to `localhost;foo;foo.example.org' now
148 (generated from the value of host_name, here it would have
149 been `foo.example.org')
150 * listen on `localhost:25' now if listen_addresses is not set
151 in the conf file. To not listen at all, set listen_addresses
152 to the empty string.
153 * set default values for log_dir, spool_dir, mail_dir
154 * improved mservdetect
155 * build resolvtest tool now, the code was already there
156 * added setup guides
157 * improved and simplified the example config
158 * removed the old manual because it is really outdated now
159 * better debug logging of outgoing SMTP dialogs
160 * renamed misc/ to devel/ and contrib/ to admin/
161 * added admin/config-transition, to check for and inform about
162 obsolete config options
164 0.2.28 Fri, 23 Jul 2010 09:58:56 +0200
165 * added STARTTLS support with external wrappers like openssl.
166 Added a new route config option `instant_helo' therefore.
167 * added misc/list-versions
169 0.2.27 Sun, 18 Jul 2010 22:40:04 +0200
170 * replaced the MD5 implementation with the one of Solar
171 Designer
172 * replaced hmac_md5.c with an own implementation of RFC 2104
173 * added authors of contributed parts to AUTHORS
175 0.2.26 Sun, 18 Jul 2010 10:28:43 +0200
176 * write a log message when the daemon starts up. Thanks to
177 Juergen Daubert.
178 * added a missing #include <sys/stat.h> to local.c. Thanks to
179 Dominik Lang (phil).
180 * improved documentation of `wrapper' in route files
181 * fix handling of --with-liblockfile=no or
182 --without-liblockfile. Thanks to Nico Roeser.
183 * documentation improvements in the INSTALL file and some man
184 pages. Thanks to Nico Roeser.
185 * added misc/update-manpage-date, a development helper script
186 to update the date and version in man pages
188 0.2.25 Thu, 08 Jul 2010 00:49:36 +0200
189 * added server-side SMTP SIZE support. Thanks to Paolo.
190 * always remove Bcc: headers from now on
191 * never create headers from envelope recipients from now on
192 * add ``To: undisclosed-recipients:;'' if no recipient header
193 is present
194 * added checks for too long addresses in SMTP dialog. Thanks
195 to Paolo.
196 * allow colons (`:') unquoted in config file. Thanks to Paolo.
197 * new warnmsg.tpl.it. Thanks to Paolo.
198 * don't install the tests any longer
199 * remove all installed dirs but no generated data (logs,
200 spooled files, config)
201 * removed the ACC_NO_RECVD_HDR because it is never used
202 * changed name ACC_NODOT_TERM to ACC_DOT_IGNORE for better
203 understanding
204 * fixed max_size_delete
205 * added Paolo's mailq.wmbiffrc
206 * better debugging output. Thanks to Paolo.
207 * documented some, yet undocumented, config options
208 * improved documentation of -t option
209 * moved rmail to sbin and added man page for rmail(8)
210 * several typo fixes in man pages and code comments
211 * gen-dist: don't distribute mercurial files
213 0.2.24 Mon, 21 Jun 2010 10:07:32 +0200
214 * removed dead code in child.c
215 * fixed closing of log files on receival of SIGHUP. See commit
216 message and http://bugs.debian.org/536060 .
217 * the daemon does reparent to init anymore if init is already
218 its parent. This situation appears on SIGHUP receival.
219 * fixed correct processing of mails with data lines longer
220 4096 chars. See commit message for details.
221 * various refactoring
222 * fixed is_ingroup() to check for the primary group of users
223 * moved man page of mservdetect to section 1
224 * added rmail script from postfix which is a bit better than
225 calling masqmail as rmail. See docs/uucp-setup
226 * permissions.c describes how to make another group (e.g.
227 `uucp') trusted
228 * uninstall target removes now docs and thelike
229 * minor updates in the documentation
231 0.2.23 Sun, 30 May 2010 21:00:44 +0200
232 * fixed inverted condition for undefined online_file. Thanks to
233 Juergen Daubert.
234 * masqmail installs to /usr/local by default now. Previously it
235 installed to /usr.
236 * man pages get installed again. Again thanks to Juergen Daubert.
237 Docs and examples do get installed now too.
238 * updated the docs. Moved the man pages from docs/ to man/.
239 Added the old manual from the old website to the distribution.
240 * reworked the test cases completely.
241 * updated the README file and added a bug report howto
242 * fixed dist-gen (wrong paths for md5sum)
244 0.2.22 Thu, 20 May 2010 21:19:56 +0200
245 * new maintainer: markus schnalke <meillo@marmaro.de>. See NEWS.
246 * fixed expanding of $prefix for template files. Thanks to Johann
247 Felix Soden.
248 * fixed delivery with empty or non-existent alias files.
249 Thanks to Marcos Dione.
250 * fixed empty or only-whitespace connection names.
251 * fixed typos, reported by Reuben Thomas.
252 * corrected man page about /etc/aliases. Thanks to Alexis.
253 * further corrections and improvements in man pages. Man pages will
254 be maintained in the nroff code directly in future.
255 * removed distribution specific data from repo. It is now separately
256 available on the website.
257 * changed default online status file to /var/run/masqmail/masqmail-route
258 * removed trigraph warnings
260 0.2.21 Mon, 07 Nov 2005 14:09:21 -0800
261 * do not use shell when executing sub programs (security fix)
262 * do not accept backtick in email adresses (security fix)
263 * write log files as 'mail' user (security fix)
264 * use /var/run/masqmail/ for pid files
265 0.2.20 Mon, 19 May 2003 21:14:06 +0200
266 * fixed a segfaulting bug in spool.c caused by folded headers
267 * regard connect_error_fail when failing for pipes (Debian Bug #186364)
268 * hopefully fixed uid/gid problem in peidopen.c
269 0.2.19 Wed, 12 Mar 2003 21:33:53 +0100
270 * fixed a bug in addr_string (set buffer = NULL if g_free'd buffer)
271 0.2.18 Fri, 06 Dec 2002 14:57:41 +0100
272 * new option connect_error_fail
273 * install /var/{log,spool} before subdirs, so
274 they get correct ownerships, if installing to a tmp. directory
275 Thx to Juergen Daubert.
276 * failure notices and warnings also if connection fails
277 0.2.17 Thu, 28 Nov 2002 14:59:24 +0100
278 * fixed errors in man page masqmail.conf.5 about online_detect
279 Thx to Juergen Daubert.
280 * fixed a segfaulting bug in accept.c on pop retrieval, if there
281 is no return_path in the mail and Sender: is empty.
282 Thx to Olaf Buddenhagen for debug information.
283 * implemented 'last_route' option
284 * moved *.tpl to /usr/share/masqmail/tpl (from /etc/masqmail/tpl)
285 * french translation of warnmsg.tpl by Rémi Denis-Courmont
286 * added delivery warn messages for deferals
287 new options: 'warn_intervals', 'warnmsg_file', 'max_defer_time'
288 * warn/fail also if remote SMTP server replies with 4xx or 5xx
289 just after EHLO/HELO (yes, that was a bug)
290 * removed a few -Wall warnings. Thanks to Juergen Daubert.
291 0.2.16 Tue, 12 Nov 2002 17:27:13 +0100
292 * fixed debugging, which has been broken in 0.2.15
293 0.2.15 Wed, 06 Nov 2002 12:19:55 +0100
294 * added french translation of delivery failure message template.
295 Thanks to Rémi Denis-Courmont
296 * accept -f "" without segfaulting. Thanks to Ralf Friedl.
297 * fixed buffer overflows in conf.c. Thanks to Damian M Gryski.
298 * read conf file _after_ dropping privileges
299 0.2.14 Sat, 26 Oct 2002 14:40:49 +0200
300 * corrected html version of documentation
301 * include masqmail.8 man page (was garbled in 0.2.13)
302 * small lintian fixes for Debian
303 0.2.13 Wed, 23 Oct 2002 20:54:39 +0200
304 * fixed a possible buffer overflow (IMHO not exploitable) Thanks to Anonymous.
305 0.2.12 Wed, 23 Oct 2002 18:57:42 +0200
306 * new do_pipelining option (to switch it off if necessary)
307 * new helo_name option for route
308 * fixed remote_port option (but marked it as deprecated)
309 * swapped setegid/seteuid in maildir_out()
310 * try again on EAGAIN failure for local delivery via mbox
311 0.2.11:
312 * make it possible for *.route file to have mode 600, owned by root.
313 Thx to Juergen Daubert for noticing.
314 * do not choke on trailing blanks after comments in conf file. Anonymous
315 again.
316 * try again on EAGAIN failure for local delivery via mda
317 * fixed a potential buffer overflow in conf.c. Thanks to Anonymous
318 again.
319 * set umask 066 for log files. Thanks to Anonymous.
320 * implemented map_h_mail_followup_to_addresses
321 * fixed a bug: masqmail -t with empty body caused weird
322 errors. Thanks to Anonymous.
323 * added do_save_envelope_to option
324 0.2.10:
325 * fixed a small bug in mserver.c (atoi) (Thanks to Gert Ohme)
326 * allow ';' in rval also if rval is unqoted
327 * write pidfiles to /var/run/masqmail{,-get}.pid
328 * now runs on freebsd without leaving zombies
329 * use setjmp() in readsock.c for timeouts
330 0.2.9:
331 * attempts to make it compile on freebsd
332 - works, but leaves zombies behind (will be done next release, I hope)
333 * removed some bashisms from configure.ac
334 * fixed segfault when called with -t under some circumstances
335 * some fixes about locking when fetching mail (yes, 0 _is_ a valid fd...)
336 * some speedups for uidl handling, and do not bloat log files any more
337 0.2.8:
338 * use flock() for locking in retrieving mails (get.c)
339 * can use /etc/mailname as host_name (for Debian)
340 * added ESMTP LOGIN
341 * made uidl handling even more safe
342 0.2.7:
343 * fixed stupid locking bug
344 * do not complain about 'unknown mode' when getting mail
345 * added italian version of failmsg.tpl (by Paolo)
346 * changed MIME boundaries in failmsg.tpl (Paolo)
347 * applied patches from Paolo (Gabel - ):
348 mostly replacing g_strdup_printf() with g_strdup(), a few ticks ('),
349 changed SENDER_LOCAL environment variable and fixed missing '\' in
350 debian/masqmail.ip-up
351 0.2.6:
352 * rediscovered previously undocumented allowed_return_paths option for
353 routes and made it usable for null sender addresses.
354 * added mbox_default, and {mbox,mda,maildir}_users options
355 * changes to vsnprintf function use in pop3_in.c and smtp_in.c (by egp)
356 * fixes to ip-up/ip-down scripts (by Ben Low)
357 * ENABLE_SMTP_SERVER define was incorrectly written as
358 ENABLE_MODE_SMTP (by Ben Low)
359 * fixed bug in get_header() in src/header.c (by egp)
360 0.2.5:
361 * PowerPC fix for varargs functions
362 * relay checking: if do_relay is set to false, do not allow non local
363 to non local addresses
364 * alias is always caseless for postmaster (disregarding
365 alias_local_caseless option)
366 * do not rebounce to postmaster
367 * implemented Maildir support
368 * rearranged append_file in local.c
369 * use sysexits.h for correct error reply for failure messages (mda only)
370 0.2.4:
371 * fixed uidl bug: uidl list was not written if a mail was not
372 fetched because it was in the list
373 * fixed bug in src/conf.c: g_free'd twice in destroy_route()
374 * security fix, Debian Bug#102092: 'Privilege escalation in masqmail
375 piped alias handling': fixed by using set[ug]id instead of sete[ug]id
376 in peopen.c (noted by Colin Phipps)
377 * limit count of children in pop3_in.c and wait for them
378 * ignore SIGPIPE signal
379 * docu updates by Uli Funcke
380 * find path to masqmail via --prefix or --exec-prefix option for configure
381 * implemented -v (log to stdout) option
382 0.2.3:
383 * local_addresses and not_local_addreses option (patch by Uli Funcke)
384 * replaced /usr/sbin/masqmail in fail_msg.c with /usr/sbin/sendmail
385 * typo in man pages (noted by Sebastian Inacker)
386 * hostnames can now begin with a digit (noted by CatcherInTheRye)
387 * chdir to '/' (on some systems getcwd() failes when changing uid)
388 * implemented lock_dir option
389 * ignore EINVAL after fdatasync
390 * configure option to link with libcrypto
391 * configure option to disable resolver support
392 * configure option to enable mserver support
393 * configure option to disable smtp server
394 * configure option to link glib statically
395 * msg_count option for get configuration
396 * bug fix: do not terminate if accept() return
397 error (patch by Edouard G. Parmelan)
398 * removed some files from package in
399 debian (by Edouard G. Parmelan))
400 * mailrm alias (by Edouard G. Parmelan)
401 * bug fix: removed superfluous g_free from
402 dot_unlock() (by Edouard G. Parmelan)
403 * write uidl list to temporary file first
404 * write uidl list each time a message was retrieved
405 (avoid duplicate mails when interupted)
406 0.2.2:
407 * fix of Debian Bug#92894 by Gregor Hoffleit
408 (correct error reply for lacking permissions)
409 * fixed 'last line missing' bug
410 * fixed spool locking bug: lock was deleted
411 if unsuccessful (unlocking it)
412 * added patch from Uli Funcke for log_user
413 (user getting all delivered mail)
414 * implemented get daemon
415 * create lock file when getting mail
416 * use tables for finding route and get lists
417 0.2.1:
418 * expand_h_sender_address now defaults to true (as described in docs)
419 * included documentation patch by Marc Herbert (masqmail call in ifup configuration)
420 * complain to log if failure message template cannot be opened
421 * errmsg_file defaults to /etc/masqmail/tpl/failmsg.tpl
422 * corrected error message for insufficient permissions (Debian Bug #92894)
423 * get mail depending on connection: -go option and online_get
424 0.2.0:
425 * included the debian/ directory from the debian package.
426 * added return_path option for get configuration
427 * added max_messages option for get configuration
428 * added independent program 'mservdetect', which can be used with
429 online_detect=pipe as replacement for online_detect=mserver
430 * added online detection method 'pipe'
431 * replaced configure option --with-conffile with --with-confdir, default
432 is now /etc/masqmail/ (/etc/masqmail/masqmail.conf for the conf file).
433 * added do_uidl_dele option (delete messages in uid listing on server)
434 * qualify address for get configuration.
435 * better checking for valid From: address when retrieving mail via pop3
436 and this is used as the return path.
437 * port number for mail_host in routes possible
438 * introduce delivery failue notices
439 * added addr_string() function for easy output of addresses
440 * expire spool lock files after a while (currently 300s)
441 * started development branch 0.2.x
443 0.1.12:
444 * previous fix auf AUTH broke it - reverted it partially and fixed it again
445 * bug fix in get.c: retrieval via pop from different server could cause mail to be lost
446 0.1.11:
447 * bug fix in smtp_out.c: of AUTH methods supplied by server, only the first was recognized
448 0.1.10:
449 * added support for IP address as mail_host in routes
450 * include <time.h> in masqmail.h to make it compile with glibc 2.2.2
451 0.1.9:
452 * fixed a few typos in man pages
453 * ignore -v option
454 * added patch from Bernhard Ehlers to program aliases runq, rmail, smtpd and in.smtpd
455 * added patch from Edouard G. Parmelan to correct default directories to install
456 * implemtented pipe, pipe_fromhack and pipe_fromline options
457 for routes (for protocol 'pipe')
458 * implememted 'pipe' protocol for routes
459 * memset to 0 of configuration structures (it is safer and easier)
460 * list of routes for each connection
461 * do not be picky about EOF if locally received message is not terminated by a dot
462 * speeded up accept.c for large messages (noted by Falko Flessner)
463 0.1.8:
464 * security bug fix (Debian Bug#81079): if local address cannot be
465 resolved, masqmail listened on an arbitrary port (fixed by Adel
466 Belhouane)
467 * bug fix: -d without argument caused segfault (Thanks to Jan Setzer)
468 * added more help for configure
469 * Iain Lea sent a spec file for Redhat. Thanks!
470 * lines can now be indefinetely long for mail acception (well, nearly...)
471 * implemented 'wrapper' options for routes and get configurations for ssl and maybe other purposes
472 * unified read_sockline() for smtp_out.c, smtp_in.c, pop3_in.c, accept.c and mserver.c
473 * escaping of quotes in configuration now possible and now works
474 correctly in alias file (Edouard G. Parmelan sent a patch, but I fixed it differently)
475 * kill -HUP seems to work now.
476 * close all file descriptors >= 3 on start (patch by Edouard G. Parmelan)
477 * replaced exit() with _exit where appropriate (children)
478 * added pipe_fromhack and pipe_fromline options
479 * added mda support and mda_fromhack and mda_fromline options
480 * user can delete his own mail if received via smtp from one of ident_trusted_nets
481 * bug fix in lookup.c: if the name that an MX points could not be resolved, delete entry
482 * added expand_h_sender_address option. expend_h_sender_domain should be obsolete now.
483 * unprivileged user can delete his own mail from queue if received locally
484 * replaced popen() in local.c with peopen() from snippet from sourceforge. Fixed a bug there.
485 0.1.7:
486 * debug option can be changed for privileged users only
487 * fixed a security hole: -C option for unprivileged users now implies
488 run_as_user and drops _all_ privileges
489 * environment variables for pipe transport
490 * wildcards for map_* options
491 * rearranged interface handling, IP addresses now possible for
492 listen_addresses and mserver_iface
493 * beautified masqmail.c
494 * revised uid and gid settings in spool.c and local.c (pipe transport)
495 * optionally use ident protocol (RFC 1413) and store user id in spool file
496 * proper spool file locking
497 0.1.6:
498 * record user id in spool file (though it is not used anywhere)
499 * command line option to remove messages from queue (-Mrm)
500 * command line option for version information (-bV)
501 0.1.5:
502 * implemented -F option
503 * removed bug in accept.c (dot bug, noted by Andre Masloch)
504 * location of main conf is now configurable with ./configure
505 (suggested by Greger Hoffleit). Default is /etc/masqmail.conf.
506 * remote_port defaults to 25 (noted by Andre Masloch)
507 * docu fixes: remote_port documented and typo fix (noted by Andre Masloch. Again :-))
508 * do not return failure on exit on delivery if mail queue was empty (noted by Andre Masloch)
509 * qualify -f address with host_name if unqualified (noted by Andre Masloch)
510 0.1.4:
511 * Jens Askengren discovered a segfaulting bug when parsing headers.
512 0.1.3:
513 * warn if pop/auth options are given, but compiled without support
514 * fixed allowed_rcpt_domains option (was broken since 0.1.0, but nobody noticed)
515 * exit with 1 if queue run fails for any reason (not for daemon)
516 * fail if alias file cannot be read
517 * better handling of SMTP SIZE error
518 * implemented alias_local_caseless option (suggestion by Andre Masloch)
519 * case insensitive domain matching (noted by Andre Masloch)
520 * removed nearly all warnings if compiled with -Wall
521 0.1.2:
522 * some changes in configure.in
523 * continue if get conf could not be read. Thanks to Edouard G. Parmelan!
524 * fixed another bug on pipe addresses in spool.c
525 * Andre Masloch found a bug in spool.c which caused a segfault on pipe addresses. Thanks!
526 0.1.1:
527 * Edouard G. Parmelan sent a patch for starting a queue run on start of daemon. Thanks!
528 * rpm packages for SuSE
529 * regard CFLAGS in Makefile.am
530 * implemtented -g <name> option
531 * be more verbose in pop3_get.c
532 * implemented -f option (set return path)
533 * fixed bug: "no debug file, msg was:" in smtp_out.c when debugging was off
534 * internal changes of smtp_out_log_failure()
535 * removed 'no log file' error
536 * complain if host name could not be resolved in connect.c
537 * added option resolve_list for route and get configurations
538 * removed bug in rcptlist_with_one_of_hostlist(): exited when
539 list was empty
540 0.1.0:
541 * included ESMTP AUTH support (as client), CRAM-MD5 only
542 * included pop3 client support, with UIDL and APOP, single drop only
543 * rearranged routing code:
544 - messages will be deleted from spool earlier, as soon as they are delivered
545 - unified online/offline delivery, making it more simple
547 0.0.13:
548 * ignore set_h_{from,reply_to}_domain if map_h_{from,reply_to}_addresses
549 is set and warn in logs about misconfiguration.
550 * fail if there are no recipients
551 * fixed bug: if called with -t, qualify recipient address with host_name
552 * fixed bug: if called with -bi, no longer wait for message on stdin
553 0.0.12:
554 * warn if spool file could not be deleted (Thanks to Alberto González
555 Palomo)
556 * fixed bug: set len for getsockname
557 * fixed bug: set local_net_routes to NULL if there is no local net
558 (noted by Frank Schnekenbuehl)
559 * say 'mail queue is empty' if mail queue is empty (Thanks to
560 Frank Schnekenbuehl)
561 * fixed bug: setegid in local.c (was noted by both Michael Piefel and
562 Alberto González Palomo)
563 0.0.11:
564 * if Bcc: headers have been removed (-t option), and there is no To:
565 or Cc: header,an empty Bcc: header will be created (RFC 822
566 compliance!)
567 * fixed bug: if rcpts are given on command line To: headers were
568 created, even if they already existed. This caused Bcc: recipient
569 addresses to be revealed if they were given on the cmd line.
570 Now a To: header is only created if there is no To:, Cc: or Bcc:
571 header. Thanks to Richard Clamp for pointing this out.
572 * fixed bug: segfault when -d option was given without arguments
573 * fixed bug: segfault when configuration file not found
574 0.0.10:
575 * removed -g option from Makefile
576 * fixed bug: -odq did not work, was broken in some earlier version
577 * addresses with leading '\' will not be expanded any further in aliases
578 * pipe transport implemented
579 * alias support implemented.
580 * changed permissions for queue runs again: got to be root,
581 mail or in group trusted.
582 * some configuration parameters can be read from files
583 * internal changes in routing logics/deliver code, preparing for
584 aliases support.
585 * Gregor Hoffleit sent another patch: use liblockfile if available
586 (Debian!) and DESTDIR will be used. Also updated the NEWS file. Thanks
587 again!
588 * define fdatasync to fsync if not available.
589 * lookup.c includes sys/types.h, some environments need this
590 * fixed bug in RFC 822 parsing: name in brackets after address
591 caused problems. Thanks to David Maslen.
592 * values in tables without leading spaces
593 0.0.9:
594 * anyone in group 'trusted' is now allowed to do queue runs. Thanks to
595 Alberto Gonzalez Palomo for the suggestion.
596 * changed umask for spool writing to 026.
597 * removed silly 'no rcpt domain for this route' message
598 * there is now a mailing list
599 (see http://www.innominate.org/mailman/listinfo/masqmail)
600 * Gregor Hoffleit sent a patch to make masqmail work with mutt (and
601 balsa and any other MUA that uses the mutt libs): it now supports
602 '--' in options. Thanks!
603 * accept_message() supports flag ACC_NO_RECVD_HDR (but this is not
604 used in masqmail).
605 * accept_message() is no longer responsible for queuing, makes it
606 easier to recycle the code for other projects (eg. jpilot-Mail)
607 0.0.8:
608 * added a FAQ page.
609 * removed all warnings, at least for egcs. Output of make looks
610 pretty now ;-)
611 * added allowed_mail_locals and not_allowed_mail_locals options for
612 routes.
613 * implemented folding und unfolding of headers (but currently used
614 for the Received: header only).
615 * corrected docs: should be 'online_detect', NOT 'detect_online'.
616 * mailq now gives information about the time mails spent in the queue,
617 the message size and the received host.
618 * added allowed_rcpt_domains option for routes.
619 * increased buffer size to 1024 for SMTP responses when delivering.
620 * fixed minor bug: slash in unquoted strings in conf parsing was not
621 allowed.
622 0.0.7:
623 * fixed a bug in smtp_out.c: sock was tested before it was initialized.
624 * fixed a bug in the configuration code: for statements in two
625 adjacent lines, the second was not recognized.
626 0.0.6:
627 * rewrote part of the configuration parsing code because it caused
628 problems with reading config statements on multiple lines.
629 * added a LF after each mail local mail spool file, as this
630 seems to be required for some MUAs and especially cucipop when
631 it reads mails. Otherwise mails seem to be concatenated. Thanks
632 to Dale Perkel for pointing this out.
633 0.0.5:
634 * added expand_h_sender_domain option (boolean, default: true)
635 because some clients use the Sender: address as the sender address
636 (though it should be the From: address).
637 * changed configure script to better recognize whether libresolv
638 should be linked or not.
639 * fixed a nasty bug: if masqmail -q was called (or qo <name>
640 and a mail was not delivered), the headers were lost! Problem was an
641 additional LF after received_host in the spool file.
642 0.0.4:
643 * 'From' hack is now a 'From ' hack.
644 * configure now accepts options --with-logdir=LOGDIR and
645 --with-spooldir=SPOOLDIR.
646 * the directories /var/masqmail and /var/spool/masqmail will now be
647 created with make install; user and group will be set appropriately
648 * configure now accepts options --with-user=USER and --with-group=GROUP
649 * dove into autoconf: configure now recognizes libc5 and links with
650 libresolv only for libc6 and defines getline for libc5
651 * fixed timeout code when sending. This was broken in some earlier
652 version.
653 0.0.3:
654 * fixed bug in spool write code: rcpt address was written incorrectly
655 to spool file under some circumstances (with a LF).
656 * added methods for online detection (file and mserver) and added code
657 to deliver immediately when mail is received at online time.
658 * too many changes to list: rearranged routing code, unified smtp
659 deliveries to the local net with online deliveries, so now route
660 configurations can be used for the local net. Also multiple messages
661 per connection for the local net possible. And reduced code size.
662 * fixed bug: if server does not use neither the esmtp size extension
663 nor pipelining, output after MAIL FROM was not flushed. So MM waited
664 forever for a response...
665 0.0.2:
666 * fixed bug: euid was not set properly for local delivery
667 * when debugging, it does not write the whole message to the log
668 any more.
669 * added 'From' hack
670 * qualified address for return path and recipients is now required
671 if not accepted locally, if locally accepted the addresses will be
672 qualified with host_name. (Thereby fixed a seg fault bug)
673 * added -i option (same as -oi)
674 * added more header rewriting (set_ and map_ options)
675 * fixed bug: potential seg fault when writing spool files because it
676 was not read properly
677 * multiple messages per connection now also if mail is sent directly
678 (same for local_nets is still missing, but I will use routes for these
679 anyway in the future)
680 * the queue will now be read in random order
681 * implemented multiple messages per connection (but only online
682 and if mail_host is defined)
683 * implemented rewriting of local parts in return path for online
684 delivery
685 * domain matching is no longer case sensitive (had to define
686 _GNU_SOURCE so that I could use FNM_CASEFOLD for fnmatch)
687 * added do_correct_helo option for routes
688 * fixed bug: corrected retrying hosts if one failed (connect.c).
689 0.0.1:
690 * fixed bug: seg fault when delivering online directly and there was
691 more than one rcpt to a single host.
692 * fixed bug: if mail was succesfully delivered in online mode to all
693 rcpts, and if there were additional (local) rcpts for which the mail
694 was not yet delivered, the mail was deleted from spool.
695 * rearranged smtp_out.c to prepare for multiple messages per connection
696 * log now shows the real host a message is sent to by SMTP (previously
697 it was the one looked for, now it is the one that was found by DNS)
698 * added NOOP, HELP and not recognized replies in smtp_in
699 * fixed bug: forgot to close dup_sock in accept_connect (listen.c)
700 * can now list the queue with the -bp option or when called as mailq
701 * debug_level is now configurable and -d option added
702 * corrected rfc821 address parsing and rearranged code
703 0.0.0:
704 * initial release