masqmail

view ChangeLog @ 347:53cf6be5843a

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