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.
I mean any steps to follow to patch up qmail with this? 



Reply via email to