OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: ignoring out-of-order DSN original recipient

From: Jean-Francois Agneessens (agnesagnes.homelinux.com)
Date: Sat Jun 10 2006 - 04:08:51 CDT


Ok, I've got one. Sorry for the delay. (see attachment)

Victor Duchovni a écrit :
> On Tue, Jun 06, 2006 at 08:00:55AM -0400, Wietse Venema wrote:
>
>
>> This fixes the panic, but I still need the queue file to understand
>> where the out-of-order record comes from.
>>
>
> Was the queue file ever made available? I've never seen this symptom.
> Which 2.3 snapshot is this?
>
>
>> *** ./qmgr_message.c- Mon Mar 13 20:00:13 2006
>> --- ./qmgr_message.c Tue Jun 6 07:59:04 2006
>>
>
> For anyone else who wants a point patch for their 2.3 snapshot: the
> patch for the corrupted queue file error handler applies to *both*
> queue managers. Here it is for both. Of course you shold not be seeing
> corrupted queue files. That can be a sign of a disk or filesystem that
> botches data integrity (data disappears after fsync(2)), software that
> manipulates queue files in an unsafe manner, or perhaps a cleanup(8)
> bug where actual malformed queue files are written to disk. My money is
> on one of the first two.
>
> Index: src/oqmgr/qmgr_message.c
> --- src/oqmgr/qmgr_message.c
> +++ src/oqmgr/qmgr_message.c
> -678,7 +678,7
> if (rec_type > 0)
> msg_warn("%s: ignoring out-of-order DSN original recipient <%.200s>",
> message->queue_id, dsn_orcpt);
> - myfree(orig_rcpt);
> + myfree(dsn_orcpt);
> }
> if (orig_rcpt != 0) {
> if (rec_type > 0)
> Index: src/qmgr/qmgr_message.c
> --- src/qmgr/qmgr_message.c
> +++ src/qmgr/qmgr_message.c
> -711,7 +711,7
> if (rec_type > 0)
> msg_warn("%s: ignoring out-of-order DSN original recipient <%.200s>",
> message->queue_id, dsn_orcpt);
> - myfree(orig_rcpt);
> + myfree(dsn_orcpt);
> }
> if (orig_rcpt != 0) {
> if (rec_type > 0)
>
>