On Tue, Feb 06, 2001 at 01:35:52PM +0800, dick wrote:

> Subject: anybody can't help me insert some text in the end of every message my 
>mailserver relay for?

This is possibly an evil idea, but anyway:
Either patch qmail-queue.c or qmail-smtpd.c (depending on what you want
to achieve). In the later case try adding something like this to the
end of blast():
        { 
                char corrupted[]="This message has been changed on";
                qmail_put(&qqt,corrupted,sizeof(corrupted)-1);
                qmail_put(&qqt,greeting.s,greeting.len);
                qmail_put(&qqt,"\n",1);
        }

Regards, Uwe

Reply via email to