2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-29 13:18:12 +00:00

postfix-2.5-20070515

This commit is contained in:
Wietse Venema 2007-05-15 00:00:00 -05:00 committed by Viktor Dukhovni
parent c2fe348508
commit 21c75c3f5e
4 changed files with 7 additions and 7 deletions

View File

@ -13543,9 +13543,12 @@ Apologies for any names omitted.
build on a 2.6 kernel. And that two weeks after the workaround build on a 2.6 kernel. And that two weeks after the workaround
had been posted to the mailing list. File: makedefs. had been posted to the mailing list. File: makedefs.
Bugfix: mailbox_transport nixed the recipient file offset Workaround: local(8) nixed the recipient file offset for
for both local(8) and the delegated transport, instead of delegated transports. This broke delegation via
just nixing it only for local(8). File: local/mailbox.c. mailbox_transport(_maps) and fallback_transport(_maps) to
the error(8) transport. Unfortunately it is not possible
to nix the file offset for local(8) only. Files:
local/mailbox.c, local/unknown.c.
Wish list: Wish list:

View File

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

View File

@ -274,7 +274,6 @@ int deliver_mailbox(LOCAL_STATE state, USER_ATTR usr_attr, int *statusp)
if (*var_mbox_transp_maps if (*var_mbox_transp_maps
&& (map_transport = maps_find(transp_maps, state.msg_attr.user, && (map_transport = maps_find(transp_maps, state.msg_attr.user,
DICT_FLAG_NONE)) != 0) { DICT_FLAG_NONE)) != 0) {
state.msg_attr.rcpt.offset = -1L;
*statusp = deliver_pass(MAIL_CLASS_PRIVATE, map_transport, *statusp = deliver_pass(MAIL_CLASS_PRIVATE, map_transport,
state.request, &state.msg_attr.rcpt); state.request, &state.msg_attr.rcpt);
return (YES); return (YES);
@ -282,7 +281,6 @@ int deliver_mailbox(LOCAL_STATE state, USER_ATTR usr_attr, int *statusp)
if (*var_mailbox_transport) { if (*var_mailbox_transport) {
*statusp = deliver_pass(MAIL_CLASS_PRIVATE, var_mailbox_transport, *statusp = deliver_pass(MAIL_CLASS_PRIVATE, var_mailbox_transport,
state.request, &state.msg_attr.rcpt); state.request, &state.msg_attr.rcpt);
state.msg_attr.rcpt.offset = -1L;
return (YES); return (YES);
} }

View File

@ -116,7 +116,6 @@ int deliver_unknown(LOCAL_STATE state, USER_ATTR usr_attr)
state.request, &state.msg_attr.rcpt)); state.request, &state.msg_attr.rcpt));
} }
if (*var_fallback_transport) { if (*var_fallback_transport) {
state.msg_attr.rcpt.offset = -1L;
return (deliver_pass(MAIL_CLASS_PRIVATE, var_fallback_transport, return (deliver_pass(MAIL_CLASS_PRIVATE, var_fallback_transport,
state.request, &state.msg_attr.rcpt)); state.request, &state.msg_attr.rcpt));
} }