From owner-ctm-users@FreeBSD.ORG Fri Sep 21 11:43:36 2012 Return-Path: Delivered-To: ctm-users@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E185A106566B for ; Fri, 21 Sep 2012 11:43:36 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 45DB38FC0C for ; Fri, 21 Sep 2012 11:43:35 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBCC5B.dip.t-dialin.net [93.203.204.91]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id q8LBhRO5042863; Fri, 21 Sep 2012 11:43:28 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id q8LBhQpp053524; Fri, 21 Sep 2012 13:43:27 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id q8LBh2EO034636; Fri, 21 Sep 2012 13:43:14 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201209211143.q8LBh2EO034636@fire.js.berklix.net> To: "Klaus T. Aehlig" From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 21 Sep 2012 06:47:29 +0200." <20120921044729.GA47944@curry.linta.de> Date: Fri, 21 Sep 2012 13:43:01 +0200 Sender: jhs@berklix.com Cc: "ctm-users@freebsd.org" Subject: Re: svn-cur X-BeenThere: ctm-users@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CTM User discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2012 11:43:37 -0000 "Klaus T. Aehlig" wrote: > Hi, > > > You will have to apply the patch to /usr/src/usr.sbin/ctm/ctm and > > rebuild ctm. (I think "make depend && make && make install" is what you > > need to do.) > > sorry if I missed something, but may I suggest another patch (see attached, > to be applied on top of the other patches). With the change to svn, the > name of the deltas has changed from .gz to .xz, which has the effect that > ctm_rmail no longer finds the missing pieces in the pieces directory so > one would have to apply them by hand... > > Best regards, > Klaus My ctms are applying automaticaly (without this patch), (but occasionaly some pieces didnt get assembled to deltas, but I didnt pay much attention why or what length names, I just assumed email loss, & ftp'd afresh. However various newer streams use longer names eg: cvs-cur.18865.gz svn-cur.00776.xz svn-ports-cur.00019.xz src-cur.10586.gz so your patch seems plausible. These also need considering: mkCTM/mkCTM:11: if {[file exists [format "%s/$CTMname.%04d" $CTMdest $nbr]]} { return 1 } mkCTM/mkCTM:12: if {[file exists [format "%s/$CTMname.%04d.gz" $CTMdest $nbr]]} { return 1 } PS it mentions gz but not xz too ? Hmm .... mkCTM/mkCTM:111: set nm [format "%s.%04d%s" $CTMname $CTMnbr $CTMsuff] Sorry no time to read code more, over to others. Maybe other phenomena also stopping your automatic application ? eg: --------- My: http://berklix.com/~jhs/src/bsd/jhs/bin/local/mail/ctm-freebsd-svn-incoming Has: PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin; export PATH # local added 2012_05_31, before that it only stored, but did not apply ctms. Is local in your path ? --------- line 963 of my: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/sendmail/common.cpp * END_HOST needs pipes for receiving ctm_rmail FEATURE(smrsh) -------- Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.