Hi "List",

I'm not totally sure but I think this patch let's you print custom error messages to qmail-smtpd though descriptor 4, as I found in simscan.c file:

#ifdef ENABLE_CUSTOM_SMTP_REJECT
snprintf(RejectMsg,sizeof(RejectMsg), "DYour email is considered spam (%.2f spam-hits)", SpamHits );
     write(4,RejectMsg, strlen(RejectMsg)); <=== HERE
     exit_clean(EXIT_MSG);
#else

hope that helps,
bruno.


----- Original Message ----- From: "List" <[EMAIL PROTECTED]>
To: <toaster@shupp.org>
Sent: Tuesday, September 27, 2005 3:37 AM
Subject: Re: [toaster] qmail-queue-custom-error.patch


No, but I did format it to work with the toaster patch:

http://shupp.org/patches/custom.patch

I have not tested it in a while, so use at your own risk.

Regards,

Bill


How do i use this patch?


Reply via email to