Hi Mathias,

On Friday, 2006-11-03 17:12:34 +0100, Mathias Bauer wrote:

> The technical problem is not a Sun but a Collab problem (and IIRC the
> gateway used by Gmane has it also). I asked for a fix 2 years ago to no
> avail.

I did the same over 4 years ago ;-)
http://qa.openoffice.org/issues/show_bug.cgi?id=3191

Since then I live well with a personal solution of a procmail recipe
that repairs those broken references, which of course is no excuse for
those broken news2mail gateways. I'd like to restate the recipe here.
Warning, long lines may wrap in your mailer!

---%<---snip---%<---

MAILDIR=${HOME}/Mail
LISTDIR=${MAILDIR}/lists
FORMAIL=/path/to/your/formail

:0
* ^list-post: <mailto:[EMAIL PROTECTED]>
* !^From: [EMAIL PROTECTED]
{
    :0
    * ^References:.*<(openoffice|ooo)\.
    {
        # Conservative approach: only lower case alpha and underscore are
        # allowed in list names.
        # [_]: lang.discuss_de   l10n.*   interface-*   cws-announce   are 
matched.
        # Be careful when adding [-] to the [a-z] character classes, it
        # does match "ooo.dev-web-" in <[EMAIL PROTECTED]> too,
        # where "web-" is part of the real MsgID!
        OOO_REFS=`${FORMAIL} -xReferences: \
            | sed -e 
's/<\(openoffice\|ooo\)\.\(l10n\|interface-[a-z]\+\|cws-announce\|[_a-z]\+\)\(\.[_a-z]\+\)*-/</g'`
        :0 fhw
        | ${FORMAIL} -i"References:${OOO_REFS}"
    }
    :0
    * ^In-Reply-To:.*<(openoffice|ooo)\.
    {
        OOO_IRPT=`${FORMAIL} -xIn-Reply-To: \
            | sed -e 
's/<\(openoffice\|ooo\)\.\(l10n\|interface-[a-z]\+\|cws-announce\|[_a-z]\+\)\(\.[_a-z]\+\)*-/</g'`
        :0 fhw
        | ${FORMAIL} -i"In-Reply-To:${OOO_IRPT}"
    }

    :0:
    * ^list-post: <mailto:[EMAIL PROTECTED]>
    $LISTDIR/OOo-sc-dev

    :0:
    * ^list-post: <mailto:[EMAIL PROTECTED]>
    $LISTDIR/OOo-l10n-dev

    :0:
    * ^list-post: <mailto:[EMAIL PROTECTED]>
    $LISTDIR/OOo-dev

    # and so on ...
}

---%<---snap---%<--- 


> So what makes this a Sun problem is that people @Sun still use
> this broken gateway for posting.

Should be readonly, indeed.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the [EMAIL PROTECTED] account, which I use 
for
 mailing lists only and don't read from outside Sun. Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to