masqmail

view NEWS @ 272:681863fdafbb

refactoring in the small
author markus schnalke <meillo@marmaro.de>
date Fri, 03 Dec 2010 19:13:25 -0300
parents c28e8dfebfc3
children 9d88a7d55f53
line source
1 This NEWS file lists changes which may be important for you, especially
2 in regard to compatiblity in upgrades.
4 See ChangeLog file for more details and technical changes that don't
5 affect users directly.
7 The manual pages describe newly added options. Take them for reference.
10 0.3.1
12 - Changed the SMTP greeting behavior to match RFC 2821 (always try
13 EHLO first). Now always an EHLO greeting is sent first, no matter what
14 kind of greeting text the server had sent. If the EHLO failes, an HELO
15 greeting is tried as fall back. This change will fix setups in which
16 it hadn't been possible to send mail because the server required AUTH
17 but hadn't said ``ESMTP'' in its greeting message. Thanks to inne for
18 pointing me on that. This fixes also Debian bug #349211.
20 - The postmaster address is now matched caseless, as required by RFC.
22 - The command line option -m is recognized now (although ignored).
23 Unknown -oXXX options are ignored. Some software (like spost of nmh)
24 calls the MTA with -m. This is mainly a relict of old sendmail times
25 but needed for compatibility.
27 - The implementation of the command line option -oem had been
28 weird. Now specifying -oem or -oee results in a (some kind of dumb but)
29 logical behavior. Common users will probably not notice any difference.
30 The changes affect only the exit code of the corner-case: Calling masqmail
31 with -oem but without -oi/-i while submitting messages on stdin.
33 - Renamed the config file option `alias_local_caseless' to
34 `caseless_matching' because the option affects any address matching.
36 - Renamed the default route for the local network to
37 `default local_net_route'. This is only of interest for log/debug file
38 studies.
40 - Improved and updated the man page for masqmail(8), especially in
41 respect to -oem which appears to be wrongly implemented. Minor
42 improvements of debug messages.
45 0.3.0
47 - Start of the new development branch. Attention: Backward
48 compatibility with 0.2.x versions will *NOT* be maintained. Upgrading
49 from 0.2.x to 0.3.x will probably require manual adjustment of the
50 configuration. The script admin/config-tansition can be used to check
51 the config files for obsolete options.
53 - Removed POP3 support (also pop-before-smtp/smtp-after-pop). Use some
54 other POP3 client instead.
56 - Removed maildir support. Use an MDA, like procmail, to deliver to
57 maildir.
59 - Removed the built-in mserver functionality. Use the mservdetect
60 program instead. See masqmail.conf(5) under `online_pipe' for details.
62 - Removed --disable-smtp-server and --with-glib-static configure
63 options. We see no more need to not compile the SMTP server function.
64 For static linking, see docs/howto-static-linking.
66 - `host_name' is the only mandatory config option now. If you only set
67 host_name, then masqmail will:
68 o accept mail on the command line
69 o listen on the local port 25 for incoming mail
70 o deliver mail locally
71 o not know how to handle mail for remote destinations
72 Therefore you should set up at least one route configuration.
74 - Default values are available for: listen_addresses, local_hosts,
75 log_dir, spool_dir, mail_dir. See masqmail.conf(5) for the values.
77 - Mservdetect works much better now.
79 - Improved the documentation:
80 o Added setup guides
81 o Improved and simplified the example config
82 And removed the old manual because it is really outdated now.
84 - Renamed misc/ to devel/ and contrib/ to admin/. devel/ contains
85 stuff for developers of masqmail, admin/ contains stuff for people who
86 install, upgrade, and configure masqmail.
89 0.2.28
91 - Added STARTTLS support with external wrappers like OpenSSL. See
92 `wrapper' and `instant_helo' in masqmail.route(5) for examples how to
93 use it. `instant_helo' is a new route config option.
96 0.2.27
98 - Replaced contributed code with possible licensing problems with
99 alternatives. The MD5 implementation changed from the reference
100 implementation of RFC 1321 to the Public Domain implementation of
101 Solar Designer. The HMAC-MD5 implementation changed from the reference
102 implementation of RFC 2104 to an own implementation (ISC License).
104 - Added the authors of contributed parts to the AUTHORS file.
107 0.2.26
109 - Write a log message when the daemon starts up. Thanks to Juergen
110 Daubert.
112 - Fix handling of --with-liblockfile=no or --without-liblockfile for
113 configure script. Thanks to Nico Roeser.
115 - Improved the INSTALL file and some man pages. Thanks to Nico Roeser
116 Improved the documentation of the wrapper option of route files.
119 0.2.25
121 - Added server-side SMTP SIZE support. Thanks to Paolo.
123 - Masqmail will from now on:
124 o always remove Bcc: headers
125 o never create headers from envelope recipients
126 o add ``To: undisclosed-recipients:;'' if no recipient header (To:
127 or Cc:) is present in the mail
129 - Colons (`:') don't need to be quoted in the config file anymore.
130 Thanks to Paolo.
132 - Added checks for too long addresses in SMTP dialog. Thanks to Paolo.
134 - Moved rmail to sbin and added a man page for it.
136 - Added warnmsg.tpl.it. Thanks to Paolo.
138 - The tests do not get installed any longer. All on install created
139 dirs are removed on uninstall, except they contain generated data like
140 logs, spooled files, or configuration.
142 - Documented some, yet undocumented, config options. Several typo
143 fixes in man pages and code comments.
146 0.2.24
148 - This version keeps on logging after an restart of the deamon, for
149 instance when sending SIGHUP to the daemon process for rereading its
150 config.
152 - Now the daemon keeps the same process id when it receives SIGHUP to
153 reread the config.
155 - Mail messages with lines longer than 4096 characters do not get
156 truncated anymore.
158 - Fixed checking of the trusted group. Primary groups are now
159 detected too.
161 - Mservdetect's man page is now in section 1.
163 - An `rmail' command is now included and gets installed with
164 masqmail. See docs/uucp-setup for more information.
166 - Docs and thelike, that masqmail installs, is removed on uninstall
167 now.
170 0.2.23
172 - This release fixes a major bug in 0.2.22 which made online detection
173 by file unusable. Thanks to Juergen Daubert for reporting and providing
174 a patch.
176 - Masqmail installs to /usr/local by default now. Previously it
177 installed to /usr. To regain the old behavior, add
178 --prefix=/usr
179 to the configure call.
181 - Man pages get installed again; in 0.2.22 they were not. Again thanks
182 to Juergen Daubert. Docs and examples do get installed now too.
184 - Updated the docs. Moved the man pages from docs/ to man/. Added the
185 old manual from the old website to the distribution. Added a bug
186 reporting howto.
189 0.2.22
191 - Hello, I'm meillo, the new maintainer and developer of masqmail. Oku
192 handed masqmail over to me, because he wasn't active anymore.
194 - This release includes various fixes for problems in 0.2.21, mainly
195 based on bugs from Debian.
197 - Distribution specific data has been excluded from the distribution,
198 but is separately available on the project's website.
200 - Man pages will not be generated from xml sources in future, but the
201 nroff sources will be maintained directly.
203 - The default online status file is now
204 /var/run/masqmail/masqmail-route, as it already was in the Debian
205 package.
208 0.2.21
210 - Retrospective: Probably, this version was not published in the usual
211 way by oku. I (meillo) grabbed it from Debian's package archive. It does
212 not introduce new functions but fixes security problems, such as writing
213 log files as user `mail'. It also changes the location for pid files;
214 they are stored in /var/run/masqmail/ now.
217 0.2.18
219 - delivery warnings and failures are now also implemented if the
220 connection to a server fails. Because masqmail is designed for dialup
221 networks, a connection failure will merely generate a warning by default.
222 If you deliver in a local network and use the default local_net route,
223 this would generte a failure. You can change this behaviour by setting
224 'connect_error_fail' to either true or false in the route configurations.
226 0.2.17
228 - delivery warnings have been finally implemented: if delivery of a mail
229 fails temporarily, warning mail will be generated, informing the sender
230 of the problem. After some time, the mail will be handled as failing
231 permanently, and be bounced. New options: 'warn_intervals',
232 'max_defer_time' and 'warnmsg_file'.
234 - the message templates for failures and warnings will now be installed
235 into /usr/share/masqmail/tpl/, and no longer to /etc/masqmail/tpl/. The
236 default for the search path (options 'errmsg_file' and 'warnmsg_file'
237 has been changed accordingly.
239 - new option 'last_route'. See man 5 masqmail.route.
241 0.2.12
242 two new options have been added:
243 - do_pipelining will be used only in broken mail setups. Actually, I
244 implemented it only to test such a setup.
246 - helo_name for routes sets the helo_name. This may be useful for
247 eg. ssh tunneling, or if do_correcthelo does not work, because you are
248 behind a firewall.
250 - the old 'remote_port' option should not be used any more. Set the
251 port with mail_host="foo.bar.com:1234" in the route file instead.
253 0.2.11
255 - two new options have been added: do_save_envelope_to for the main
256 configuration and map_h_mail_followup_to_addresses for the route
257 files. See the man pages on purpose and usage.
259 - the route files can now be mode 0400, owned by root. Previous
260 versions had problems when sendmail was called directly by a
261 non-priviledged user, because the route files could not be read.
263 0.2.10
265 - this version should work on FreeBSD. At least I care now if it does not.
267 - masqmail now writes pid files to /var/run/, one for the smtp/queue
268 daemon and one for the get daemon. So you now know whom to kill ;-)
270 - much effort has been put into the Debian package, which now uses debconf.
272 0.2.7
274 - sorry for my reluctany in the last months...
275 - my email address is oku@masqmail.cx. I hope that I keep this for the rest
276 of my life...
278 0.2.6
280 - you can configure the prefered local delivery mechanism for each user. See
281 man page masqmail.conf (5), options mbox_default, mbox_users, mda_users and
282 maildir_users. BIT FAT NOTE: if you used an mda, set mbox_default = "mda"
283 (or use the mda_users option). Just setting mda is not enough any more.
285 - there are the allowed_return_paths and not_allowed_return_paths for the
286 route configurations, this enables better checking for return path addresses
287 than allowed_mail_locals. You can also use this to enable or disable messages
288 from null sender addresses (<>) using "<>".
289 note: this option has been there for quite a time... I just forgot to document it.
291 0.2.5
293 - simple relay checking: if you set do_relay=false in masqmail.conf, users
294 with a return path that is not local will get a 550 reply if they try to
295 deliver to a not local address. This is for users to force them to have a
296 proper configuration. It is _not_ to prevent spammers from using your MTA
297 as a relay, it can be easily forged! masqmail is not designed to be an always
298 accessible MTA for an internet site.
300 - added Maildir support. To use it, add --enable-maildir as ./configure
301 optiom. Currently, if enabled, all local deliveries are to Maildir
302 (in ~user/Maildir), and none to mailbox. This is preliminary, future versions
303 will be configurable (probably together with mda delivery).
305 0.2.4
307 - added -v option, this logs to stdout, so you see what happens when
308 calling masqmail from command line. This is not yet finished, and only
309 for fetching mails completed.
311 0.2.3
313 - new option lock_dir where locks will be put to. Defaults to the spool
314 dir with '/lock/' appended (if spool_dir is /var/spool/masqmail/, lock_dir
315 is /var/spool/masqmail/lock/).
317 - You can use the 'do_uidl_dele' option more reliably. The uidl list
318 will be written immediately after a message was fetched, so if you use the
319 do_uidl and do_uidl_dele option you can safely interrupt masqmail when it is
320 getting mail via pop3, and do not get the message again next time.
322 - there are a lot of new options for ./configure to customize masqmail
323 to your needs. See INSTALL.
325 - Uli Funcke sent a patch with the new options 'local_addresses' and
326 'not_local_addresses' for masqmail.conf. With these, you can declare single
327 email addresses as local, though they normally are not, and vice versa,
328 declare addresses as not local though normally they are (determined with
329 local_hosts). These options are not yet documented.
331 0.2.2
332 - with -go5m you can now run a get daemon, the command 'masqmail -go5m' will fetch
333 mail every five minutes, using the detected online configuration.
335 0.2.1
337 - there is a new option for the main conf: online_gets. Using this option,
338 you can retrieve mail with just calling masqmail -go, masqmail will detect
339 whether it is online (similar to connect_routes (which is now called
340 online_routes)).
342 0.2.0
344 This is the first release of he development branch of masqmail
346 - the default configuration is now /etc/masqmail/masqmail.conf
347 (as it already was for the debian package). The --with-conffile
348 option for configure has been replaced by the --with-confdir option.
350 - added delivery failure notices:
351 o you can customize your own delivery failure report, its
352 default location is /etc/masqmail/tpl/failmsg.tpl
353 o if a delivery via a route fails permanently (the server replied with a 5xx status)
354 the message will be bounced, if it is bounced, no further delivery will be attempted.
355 This is different to previous versions, where failed messages were kept in the queue until
356 it was finally delivered, deleted or forever.
358 - there is a new online detection method: pipe. This allows you more
359 flexibility to detect the current online status, eg. the DHCP status on notebooks.
361 This method will once replace the 'mserver' option,
362 you can already use the program mservdetect to use it:
364 online_method=pipe
365 online_pipe="/usr/bin/mservdetect localhost 222"
367 instead of
369 online_detect=mserver
370 mserver_iface="localhost:222"
372 0.1.9
374 - you can use pipes in routes to implement gateways to uucp, fax, sms etc.
375 The setup is similar to mda transport. See man pages.
377 - for each connection (connect_routes), you can now give a list of
378 route files, which will be used in the order given. You can use the
379 filter rules (allowed_* and not_allowed_* rules) within each route.
381 0.1.8
383 - for pop retrieval and smtp sending you can use a wrapper for eg. ssl
384 tunneling. See man pages.
386 - a user can delete his mail from the spool with -Mrm if received
387 locally, and if you configure with --enable-ident and set
388 ident_trusted_nets also if received via smtp.
390 - a backslash now works to escape characters in the configuration, so
391 you can now use quotes inside quotes. All other characters with a
392 leading backslash will be converted to itself (\a becomes a, \\
393 becomes \).
395 - you can now use an mda for local mails. The mda will be called
396 *after* alias expansion. See documentation for more.
398 0.1.0
399 - masqmail can now retrieve mail with pop3. See the manual on how to do that.
400 - supports now ESMTP AUTH as a client.
401 - when called with -qo (without a connection name), the online status
402 will be checked with the configured method.
404 0.0.10
405 - there is now alias support. Give the location of the alias file (usually /etc/aliases) with eg.
406 alias_file = "/etc/aliases"
407 - delivery to pipes is now possible, but only if it appears in an alias file. Example:
408 pipe: |/usr/bin/command
409 will expand the address pipe to "|/usr/bin/command" which invokes '/usr/bin/command'
410 as the user and group masqmail is running as.
411 - entries starting with '\' in alias files will not be exanded further
413 - changed permissions for queue runs again: got to be root, mail or in group trusted.
415 - some configuration parameters can be read from files, these are
416 allowed_mail_locals, not_allowed_mail_locals, allowed_rcpt_domains, not_allowed_rcpt_domains,
417 map_return_path_addresses, map_h_from_addresses, map_h_reply_to_addresses
418 any entry in these list beginning with a '/' are regarded as
419 filenames, the content of these will be put at that location. Entries
420 in these files are separated by new lines. Example:
421 in the route file you have:
422 map_h_from_addresses = "/etc/masqmail/hfrom.map"
423 and hfrom.map contains:
425 john: John Smith <jsmith@mail.academic.edu>
426 cmiller: "Charlie Miller" <cmiller@foo.com>
428 UPDATE (Jan 2000): The new home location of MasqMail is
429 http://www.innominate.org/~oku/masqmail/, the new email adress of the
430 author is Oliver Kurth <kurth@innominate.de>.
432 0.0.9
433 - see ChangeLog.
435 NOTE: The home location of MasqMail at
436 http://merlin.uni-sw.gwdg.de/~okurth/masqmail/ is uncertain from the
437 beginning of Nov. 1999! See http://www.freshmeat.net for new
438 announcements. I leave the university and begin a new job on Nov. 1st 1999
439 in Berlin :-).
441 0.0.8:
442 - there is now a FAQ page. See docs/faq.html.
443 - added allowed_rcpt_domains option for routes.
444 - added allowed_mail_locals and not_allowed_mail_locals options for routes.
445 - mailq now gives information about the time mails spent in the queue,
446 the message size and the received host.
448 0.0.7:
449 -bug fix release: for statements in two adjacent lines, the second was not recognized.
451 0.0.6:
452 - bug fix release: some MUAs (cucipop) saw the locally delivered mails
453 concatenated. (cucipop is not a MUA but a pop server, but it has to read the
454 mails).
456 0.0.5:
457 - fixed a bug that caused the headers to be lost under some circumstances.
458 - added expand_h_sender_domain option for routes.
459 - rewrote the libresolv part in configure. Should work better now.
461 0.0.4:
462 - MM should now recognize whether libresolv should be linked.
463 - added --with-logdir=LOGDIR and --with-spooldir=SPOOLDIR to set directories.
464 These will be created if not already existent.
465 - added --with-user=USER, --with-group=GROUP options to set user and group id
466 for MasqMail.
468 0.0.3:
469 - MasqMail can now deliver mails that are received at online
470 time immediately to the internet. See the options detect_online,
471 mserver_iface and online_file.
472 - You can define a route configuration for the local net. See option
473 local_net_route.