-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21 Jan 00, at 15:10, [EMAIL PROTECTED] wrote:
> Forwarding and rewriting in qmail do pretty much
> the same thing: deliver to some alias-controlled
> account, and then re-inject the message into the
> queue. That's the expensive part, because then the
> message must go through qmail-send again.
'Scuse me, but the "fixme" trick is not neccessary on a decent
operating system:
You use a "transparent proxy" redirection on IP level to redirect
connections from known "broken" IP addresses to, say, port 26.
(You also disable port 26 for anywhere else.) You have that
ofmismtpd (or whatever the baby's called) listening on port 26 - or
some customized qmail-smtpd.
(You may also fix qmail-inject if you need to rewrite headers of
locally injected mails - but it usually is a sign of bad concept
somewhere.)
That way, the mail that has to get rewritten gets rewritten _before_
it comes to qmail-queue - it means it's enqueued only once.
Where's the performance penalty?
[It you don't know in advance which IPs inject mails neccessary for
rewriting, then you have rewrite all the messages in qmail-smtpd,
regardless of the origin anyway.]
[And if your system doesn't support port redirection on IP level, too
bad. Get another one, or buy more hw because as you said you'd
need it.]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOImas1MwP8g7qbw/EQJf2QCgqhjkksWAmyrzJxDKMI3i0iZW3K8AmwZJ
HPOqGMwMZQ0jbkQa7bglDDfO
=IVSg
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]