|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Header logging, revisited
From: Michael Schwager (mike
schwager.com)Date: Tue Apr 04 2000 - 00:13:42 CDT
- Next message: learning user: "8 to 7 bit conversions (confused and slightly off topic)"
- Previous message: Ian C.Sison: "Re: large postfix installations?"
- In reply to: Guenther Blatzheim: "Re: Header logging, revisited"
- Reply: Michael Schwager: "Re: Header logging, revisited"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> ... in terms of performance it seems to be not a good
> idea to transfer the whole message first only to cut the message text
> after.
>
> Is there any easy way to modify (patch) postfix ("always_bcc") to transfer
> the headers only?
A glance at the source seems to indicate that it won't keep writing if you
exit before receiving the entire message. I'm not sure what the
ramifications are, but it seems that it shouldn't be a performance
problem. See mail_copy.c, line 173 in the postfix-19991231-pl05 code:
if (VSTRING_LEN(buf) && VSTREAM_FWRITE_BUF(dst, buf) !=
VSTRING_LEN(buf))
break;
The performance hit, I believe, comes in fork()'ing and exec()'ing a pipe
command.
-- -Mike MikeSchwager.com
- Next message: learning user: "8 to 7 bit conversions (confused and slightly off topic)"
- Previous message: Ian C.Sison: "Re: large postfix installations?"
- In reply to: Guenther Blatzheim: "Re: Header logging, revisited"
- Reply: Michael Schwager: "Re: Header logging, revisited"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]