Alain Turbide wrote:
>
> Hmm, I suspect I was wrong with this one. I've duplicated the problem and
> even thought the actual sieve script itself has the newlines, they don't
> seem to be sent out on the vacation reply. Is there an lmtpd setup we're
> missing here or is it a bug with sieve. The received email has no newlines
> within it at all. Does sieve remove them? Have'tn had a chance to look at
> the code. Did'nt find any references about it on the list either so figured
> there is something I'm missing. The problem is not with Websieve though..
Here's the story AFAIK. Even though the Sieve spec allows CR/LF in
quoted strings, the cmu-sieve parser eats them. I'm pretty sure that I
know how to fix this to solve the vacation problem that you're seeing,
but I'm not sure what the side effects would be for the rest of the
parser, so I'm hesitant to make the change.
My suggestion would be to have Websieve use the multi-line string form
(see section 2.4.2 of RFC3028) for the vacation response text. This is
exactly what the multi-line form was designed for, and IMHO it make the
scripts easier to read. For example:
vacation :days 7 :addresses ["[EMAIL PROTECTED]"] text:
On vacation for the next week.
Don't call me, I'll call you.
.
;
> ----- Original Message -----
> From: "Alain Turbide" <[EMAIL PROTECTED]>
> To: "Klaus Jaehne" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, June 14, 2001 4:34 PM
> Subject: Re: vacation: multiline replies
>
> > Sounds like the email program that receives the replies does'nt like plain
> > new lines but prefers \r\n combinations. What email program receives the
> > replies? Does the response message look ok in the raw script (not the
> > basic mode..) if not then it's a different problem. I haven't seen it
> here.
> >
> > Alain
> >
> > ----- Original Message -----
> > From: "Klaus Jaehne" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, June 13, 2001 6:29 AM
> > Subject: vacation: multiline replies
> >
> >
> > > Hi,
> > >
> > > We have one problem with vacation and websieve: Users set their vacation
> > > messages with websieve - the reply usually consists of several lines of
> > > text. The problem is: The reply mail shows all lines queezed in one,
> while
> > > the text looks OK in websieve.
> > >
> > > We use Cyrus 2.0.14 and websieve 0.59.
> > >
> > > Any ideas?
> > >
> > >
> > > --
> > > Mit freundlichen Grüßen,
> > > Klaus Jähne
> > > ________________________________________________________________________
> > > Thinking Objects Software GmbH, Lilienthalstr. 2, 70825 Stuttgart, DE
> > > phone 49 711 88770 100, fax 449, [EMAIL PROTECTED], http://www.to.com/
> > > ========================================================================
> > > Linux without limits: http://linux.s390.org/
> > > ------------------------------------------------------------------------
> > >
> > >
> >
> >
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp