At 15:07 5/15/2004, you wrote:
>On Thu, 13 May 2004, Tracy wrote:
>
> > I've noticed that, when a message is rejected by filter.pre-data.tab or
> > filter.post-data.tab, no log entry is made in the SMTP logs. It might be a
> > good idea to add a log entry there, so that log review can see that
> (why) a
> > message was rejected...
>
>Uhh?!? It does "DATA=EFILTER"
Not in the version I have...
The relevant code is:
///////////////////////////////////////////////////////////////////////////////
// Run the post-DATA filter
///////////////////////////////////////////////////////////////////////////////
pszError = NULL;
if (SMTPFilterMessage(SMTPS, SMTP_POST_DATA_FILTER, pszError) < 0) {
ErrorPush();
SMTPResetSession(SMTPS);
if (pszError != NULL) {
SMTPSendError(hBSock, SMTPS, "%s", pszError);
SysFree(pszError);
} else
BSckSendString(hBSock, "554 Transaction failed",
SMTPS.pSMTPCfg->iTimeout);
return (ErrorPop());
}
No logging in there... Similar code in pre-data filter. This is (IIRC)
1.19rc3...
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]