Hello all,
I have been trying to write a SPAM filter which is a wrapper for
qmail-queue, so that it may act on information in the actual email message.
Unfortunately, my C skills are not the best. I realize that qmail-smtpd will
first feed the email via file desciptor 0 to qmail-queue, then feed the envelop
info via file desciptor 1 and terminate with \0\0. However, I do not wish to
pull all this feed into memory. (25M messages would be a system killer) I have
tried and tried, but the method escapes me.
If anyone has some sample code for a wrapper and is willing the share
it, I would much appreciate it.
--
------------------------------------------------------------------
Enter.net - "The Road To The Internet Starts Here!"
Ben Heilman - Systems Administration [EMAIL PROTECTED]
------------------------------------------------------------------