masqmail

view ChangeLog @ 279:1aa107c6b1e5

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