2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-22 09:57:34 +00:00

postfix-2.10-20121022

This commit is contained in:
Wietse Venema 2012-10-22 00:00:00 -05:00 committed by Viktor Dukhovni
parent d067f766c1
commit e58ca957c8
3 changed files with 9 additions and 2 deletions

View File

@ -18058,3 +18058,9 @@ Apologies for any names omitted.
Documentation: why "smtp_address_preference = any" is the
preferred setting. File: proto/postconf.proto.
20121022
Bugfix (introduced 20101009) don't complain abuot stray -m
option if none of -[bhm] is specified. Ralf Hildebrandt.
File: postmap/postmap.c.

View File

@ -20,7 +20,7 @@
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
#define MAIL_RELEASE_DATE "20121019"
#define MAIL_RELEASE_DATE "20121022"
#define MAIL_VERSION_NUMBER "2.10"
#ifdef SNAPSHOT

View File

@ -890,7 +890,8 @@ int main(int argc, char **argv)
if ((query == 0 || strcmp(query, "-") != 0)
&& (postmap_flags & POSTMAP_FLAG_ANY_KEY))
msg_fatal("specify -b -h or -m only with \"-q -\"");
if ((postmap_flags & POSTMAP_FLAG_ANY_KEY)
if ((postmap_flags & POSTMAP_FLAG_ANY_KEY) != 0
&& (postmap_flags & POSTMAP_FLAG_ANY_KEY)
== (postmap_flags & POSTMAP_FLAG_MIME_KEY))
msg_warn("ignoring -m option without -b or -h");