Re: [Exim] exim quoting the word "From" in emails

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Vadim Vygonets
CC: exim-users
Subject: Re: [Exim] exim quoting the word "From" in emails
On Fri, 12 Mar 2004, Vadim Vygonets wrote:

> Quoth Marc Haber on Thu, Mar 11, 2004:
> > It's a requirement to quote From in the raw spool file since lines
> > beginning with "From " are used to determine where the next message
> > starts in a normal mailbox. It's the client's job to remove these
> > quotes.
>
> Not really, because lines starting with ">From " are not quoted
> (as those of us who use BSD mailboxes saw in the origninal
> message in this thread), so "unquoting" ">From " is not safe.


A correction of detail for the record: "From" is not quoted in the raw
spool file. Quoting happens only when Exim delivers to an mbox style
mailbox. Actually, that's only a rough statement of what happens. The
detail is:

1. Quoting happens when Exim delivers via an appendfile or pipe
transport that is configured to make it happen, via the check_string and
escape_string options.

2. Using a default configuration, quoting is turned on for deliveries to
files and pipes, the former because mbox format requires it, and the
latter because the "vacation" program expects it (at least in some
versions).


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book