On Fri, 19 Nov 1999 09:25:06 +0100 , "Ekker, Heinz" writes:
> When I tested sending Messages via SMTP, I realized that QMail, unlike
> Sendmail, doesn't rewrite Headers in the following manner:
> Insert missing From: - Headers from Envelope-Sender
> Insert missing To: - Headers from Envelope-Recipients
> Insert blank line after last Header-Line

qmail does not do any rewriting of messages without some hacks.
 
> I wondered whether anyone of you regards this as problem, and whether anyone
> of you has a fixup for this (like a C-Program to feed the messages through
> or anything). We don't have any local users on the server, only virtual
> users who feed their messages via smtp and get them via pop3 and are
> authenticated via radius.

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.  I'm looking into rewriting headers in a
wrapper around qmail-queue.

-Chris

Reply via email to