# HG changeset patch # User markus schnalke # Date 1291760411 10800 # Node ID 9d88a7d55f533fc255dfad811a09693b5250e27d # Parent e2f6eefbd573edb316905a704c734ef5937ebbeb updated ChangeLog and NEWS diff -r e2f6eefbd573 -r 9d88a7d55f53 ChangeLog --- a/ChangeLog Tue Dec 07 17:21:07 2010 -0300 +++ b/ChangeLog Tue Dec 07 19:20:11 2010 -0300 @@ -7,21 +7,38 @@ technical speach and with focus on compatibility. -0.3.1 Wed, 01 Dec 2010 18:11:29 -0300 +0.3.1 Tue, 07 Dec 2010 17:51:27 -0300 * smtp_out.c: changed the SMTP greeting behavior to match RFC 2821 (always try EHLO first). Thanks to inne for pointing me on that. See also Debian bug #349211 * fail_msg.c: postmaster is now matched caseless, as required by RFC + * cmdline arguments are now added to the recipient list instead + of substracted, when -t is used + * print version if called without arguments (see commit message + or code) + * added -bm for mode accept (it's the default but the other MTAs + have it too) + * calling masqmail as `newaliases' is now recognized * refactored the cmdline argument processing (-m is recognized, unknown -oXXX options are ignored now and some corner-cases covered) + * operation modes are now enforced exclusive, fail otherwise + * -q and -qo are non-exclusive * fixed -oem by removing it ;-) (see NEWS and docs/oem-option) + * heavy refactoring in parse.c and deliver.c, plus various + other refactoring + * fixed `To: alice, bob' with -t. If rcpt headers contained + an unqualified address followed by more addresses, they were + not recognized. * created new functions manipulate_queue() and run_queue() and moved code from main() * replaced the loop-based alias_expand() with a new one that wraps the recursive alias_one() * removed ADDR_FLAG_NOEXPAND as it is not needed anymore + * removed ACC_DEL_RCPTS because it's always used together with + ACC_RCPT_FROM_HEAD + * s/EXIT_SUCCESS/0/ && s/EXIT_FAILURE/1/ * made addr_isequal() and addr_isequal_parent() more flexible, thus making addr_isequal_alias() needless and removed * merged rcptlist_with_one_of_hostlist() and @@ -35,7 +52,7 @@ performed * renamed conf.alias_local_cmp to conf.localpartcmp * minor improvements of debug messages - * improved and updated man/masqmail.8 + * heavily improved and updated man/masqmail.8 * several, mostly cosmetic, cleanups 0.3.0 Fri, 23 Jul 2010 21:58:25 +0200 diff -r e2f6eefbd573 -r 9d88a7d55f53 NEWS --- a/NEWS Tue Dec 07 17:21:07 2010 -0300 +++ b/NEWS Tue Dec 07 19:20:11 2010 -0300 @@ -9,16 +9,27 @@ 0.3.1 -- Changed the SMTP greeting behavior to match RFC 2821 (always try -EHLO first). Now always an EHLO greeting is sent first, no matter what -kind of greeting text the server had sent. If the EHLO failes, an HELO -greeting is tried as fall back. This change will fix setups in which -it hadn't been possible to send mail because the server required AUTH -but hadn't said ``ESMTP'' in its greeting message. Thanks to inne for -pointing me on that. This fixes also Debian bug #349211. +- Changed the SMTP greeting behavior to match RFC 2821 (always try EHLO +first). Now always an EHLO greeting is sent first, no matter what kind of +greeting text the server had sent. If the EHLO failes, an HELO greeting +is tried as fall back. This change will fix setups in which it hadn't +been possible to send mail because the server required AUTH but hadn't +said ``ESMTP'' in its greeting message. Thanks to inne for pointing me +on that. This fixes also Debian bug #349211. - The postmaster address is now matched caseless, as required by RFC. +- Command line address arguments are now added to the recipient +list instead of substracted, when -t is used. This coveres a rare +corner-case. It is a change from exim's behavior to postfix's. + +- Several changes were made related to the operation modes: The situation +within the modes was made clear (see man page of masqmail(8)). If more +than one mode is specified then masqmail aborts. For the default operation +mode ``accept messages on stdin'' the command line switch -bm was added +(similar to othe MTAs). If masqmail is called without arguments, the +version information is printed now. + - The command line option -m is recognized now (although ignored). Unknown -oXXX options are ignored. Some software (like spost of nmh) calls the MTA with -m. This is mainly a relict of old sendmail times @@ -30,6 +41,9 @@ The changes affect only the exit code of the corner-case: Calling masqmail with -oem but without -oi/-i while submitting messages on stdin. +- Fixed the recognition of lists of unqualified addresses in headers +when using -t. E.g. `To: alice, bob'. + - Renamed the config file option `alias_local_caseless' to `caseless_matching' because the option affects any address matching.