masqmail

view ChangeLog @ 336:2d4aa516ba0e

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