|
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: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Tue Jun 06 2006 - 11:35:42 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
--
Viktor.
P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain the Unix email
environment. If you are interested, please drop me a note.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]