masqmail-0.2

view ChangeLog @ 56:f6a6f55b7b9e

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