masqmail

view ChangeLog @ 334:2c3242a360f0

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