On Mon, 10 Sep 2001, Peter van Dijk wrote:

> >   - qmail-remote can only send ASCII, possibly extended by 0x80...0xff,
> >     and requires a CRLF terminated mail with constraints on the line
> >     format (length in particular).
> 
> remote does the CRLF termination itself. Line length does not seem to
> be limited, unless I'm reading the source wrong.

qmail-remote refuses to send mail that is not terminated with CRLF and
has qmail-send bounce it. While qmail-remote may not impose the line
length restriction, the remote MTA may do. In either case, qmail-remote
will report to qmail-send that it failed.

> >   - qmail-local cannot deliver mail that contains (regexp) "^From " to
> >     mbox format spools.
> 
> Untrue.

Sorry, I may have recalled wrongly, didn't check. From would have to be
escaped to >From if it delivers it. Thanks for pointing that out.

> > Here's my suggestion:
> > 
> > * Strip the mail _body_ from the undeliverable bounce when copying it
> >   into the doublebounce.
> 
> > 2/ The double bounce defaults to postmaster who has no business with
> >    getting the users' mail bodies.
> 
> Partly agreed. He may like to see headers.

It seems I wasn't clear enough, so here's the picture of what I'd like
stripped.

HEADER of doublebounce
empty line
BODY of doublebounce:
     QSBMF "I tried to deliver a bounce message to this address, but the
     bounce bounced![...] below this line is the original bounce"
        HEADER of bounce
        empty line
        BODY of bounce:
             QSBMF "This is a permanent error; I've given up[...] below
             this line is a copy of the message."
             HEADER of message
             empty line
             BODY of message <------- STRIP JUST THIS --------------------

I suggest to strip just the BODY of the very original message, not its
headers.

> > - Mail need no longer be discarded because the doublebounce will be
> >   deliverable locally to mbox and across SMTP links.
> 
> Uhuh.

What's wrong with collecting all postmaster mail on a single machine?

Reply via email to