masqmail

view ChangeLog @ 36:9cb4031fa5e0

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