svn-cur
Julian H. Stacey
jhs at berklix.com
Fri Sep 21 11:43:37 UTC 2012
"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.
More information about the ctm-users
mailing list