> -----Original Message-----
> From: Chris Mikkelson [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 19. November 1999 16:59
> To: Ekker, Heinz
> Cc: 'QMail-List'
> Subject: Re: From: and To: - Headers with SMTP-Messages 
> > 
> On Fri, 19 Nov 1999 09:25:06 +0100 , "Ekker, Heinz" writes:
> 
> 
> You could probably use a variant of the fixup/@fixme hack described
> in the FAQ.  Feed the message through an appropriate formail command
> line to add the headers, and then through forward or qmail-inject
> to deliver it to the final destination.
>
> This will send the message twice through the queue, which is a bit
> of a performance hit.

That's what I did first - but the results were not really satisfying. A bit
of a performance hit does not quite describe it...

> I'm looking into rewriting headers in a
> wrapper around qmail-queue.
> 

I'm thinking about patching qmail-smtpd a little. Basically it does some
header-checking (checks the received: and delivered: for loops) already, and
that's were I'm putting my little C-Knowledge in. With the use of
(basically) the same function that inserts the received: headers, I'm
putting a sender: and a to: - header in (taken from the envelope), if its
missing. Messages without the blank line between header and body are
bounced. Of course, this 'header rewriting' is not quite as sophisticated as
it should be, or as qmail-inject is, but it saves a hop. If anyone is
interested, drop me a mail!

> -Chris
> 

bye!

--- Heinz Ekker/ mailto:[EMAIL PROTECTED]
-- home: http://www.slatibartfass.org
-- work: NETWAY Operations Center/ mailto:[EMAIL PROTECTED]
--- refutile is sistance - defect of borg

Reply via email to