This applies to /usr/ports/mail/majordomo/work/majordomo-1.94.5/digest I jhs havent tested it cos I dont use digest. I got the patch from mail list further below. File names ends .ignore so my customise script does not apply it till ive looked at it. - jhs *** digest.orig Mon Dec 21 09:19:38 2009 --- digest Mon Dec 21 09:20:22 2009 *************** *** 173,179 **** &abort("No messages.\nStopped ") unless @files; open(TEMP,">$TEMP") || &abort("$TEMP: $!\n"); print STDERR "producing $V{'NAME'} V$VOLUME #$NUMBER\n"; ! foreach (@files) { $message = "$V{'INCOMING'}/$_"; open(message) || &abort("$message: $!\n"); print STDERR "\tprocessing $message\n"; --- 173,179 ---- &abort("No messages.\nStopped ") unless @files; open(TEMP,">$TEMP") || &abort("$TEMP: $!\n"); print STDERR "producing $V{'NAME'} V$VOLUME #$NUMBER\n"; ! foreach (sort @files) { $message = "$V{'INCOMING'}/$_"; open(message) || &abort("$message: $!\n"); print STDERR "\tprocessing $message\n"; # From majordomo-users-owner+M5903@@greatcircle.com Sun Dec 20 14:03:16 2009 # Date: Sat, 19 Dec 2009 22:30:29 -0600 # From: Daniel Liston # Subject: Re: Digestion problem # In-reply-to: <20091218103957.55552b13.jh@@brainiac.com> # To: Joe Hartley # Cc: majordomo-users@@greatcircle.com # Message-id: <4B2DA865.2030809@@sonny.org> # MIME-version: 1.0 # Content-type: text/plain; charset=ISO-8859-1; format=flowed # Content-transfer-encoding: 7BIT # User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) # References: <20091218103957.55552b13.jh@@brainiac.com> # Precedence: bulk # Sender: majordomo-users-owner@@greatcircle.com # # It took me awhile to find this gem, but please let me know if it helps in # your situation. In the digest file, please make this "diff" modification: # # 176c176 # foreach (@files) { # --- # foreach (sort @files) { # # For any novices following this thread, the above means: # Change line 176 from the line before --- to match the line after it. # Short version, add the word/command "sort " before @files in parenthesis. # # Dan Liston # # Joe Hartley wrote: # > I've recently moved my majordomo lists to a new server running CentOS 5.4. # > Majordomo made the transition well enough, except for one problem that I # > am having with digests. # > # > The incoming messages are correctly written to the digest work directory, # > but when the digest is created, the first three files are routinely # > ignored, and the digest is built from messages 004 upward. After that, # > each message to the list is sent to the digest list individually, # > presumably because it's over a day older than the 001 message. # > # > Manually clearing the digest work directory doesn't fix the problem; # > the messages start getting written to the directory from 001 as expected, # > then behave as above. # > # > I migrated my server by rsyncing the /usr/local/majordomo and # > /usr/local/majordomo-work directories to the new server and recompiling # > wrapper. Overall it seems to be fine. The non-digest lists work as # > expected, it's just the digestion that is the issue. This is happening on # > both the lists I have digests for, though one is not terribly active so # > I don't know if its "breaking point" is the 003 message or not. # > # > Has anyone seen this behavior before? Does anyone know if there's a # > message counter variable stored somewhere that I don't know about that # > came over with the migration? # > # > Thanks in advance for any clues toward solving this issue. # > # # # # From majordomo-users-owner+M5904@@greatcircle.com Sun Dec 20 18:15:12 2009 # Date: Sun, 20 Dec 2009 11:26:52 -0500 # From: Joe Hartley # To: majordomo-users@@greatcircle.com # Subject: Re: Digestion problem # Message-Id: <20091220112652.095f7df5.jh@@brainiac.com> # In-Reply-To: <4B2DA865.2030809@@sonny.org> # References: <20091218103957.55552b13.jh@@brainiac.com> # <4B2DA865.2030809@@sonny.org> # X-Mailer: Sylpheed 2.7.1 (GTK+ 2.12.12; i686-pc-linux-gnu) # X-Face: e<}kWVz7AOU%7Y[y%"Y%)jByI[9dsnKP{\??7E"4vTGx4){g\C&LaBmH1{dDNf0U_mPBv#c # qp\nRqr]T^L:p_H=Tel/;Z$7-C/klmyQ*kB\{},N]n-7*sJ(dYlf(,?f2hekl"0$nD+~T-ZwNK~`oa n"I7[)O/_NOgn@@]?b%=6SRU!]O5k9|OA]PF!qIvs>7sE3}Vr*eC|r""6/**uf3ak}Hm.HK$Cri^yyT # BzeM # Mime-Version: 1.0 # Content-Type: text/plain; charset=US-ASCII # Content-Transfer-Encoding: 7bit # Precedence: bulk # Sender: majordomo-users-owner@@greatcircle.com # # On Sat, 19 Dec 2009 22:30:29 -0600 # Daniel Liston wrote: # > It took me awhile to find this gem, but please let me know if it helps in # > your situation. In the digest file, please make this "diff" modification: # > # > 176c176 # > foreach (@files) { # > --- # > foreach (sort @files) { # # Brilliant - that did the trick! Another post to the list caused the digest # to go out with the 3 older messages as well as the new one, and all the # files in the majordomo-work area were cleared out. # # Many thanks for digging this one up, I really appreciate it and all the # continued time you put into this fine piece of software. # # -- # ====================================================================== # Joe Hartley - UNIX/network Consultant - jh@@brainiac.com # Without deviation from the norm, "progress" is not possible. - FZappa #