[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

smtp-contentfiler question



Hi,

I have been testing 2.99.53 for the last couple of days (huge upgrade from
2.99.50s11).

I noticed that if the policyprogram returns an error message, ZMailer
currently treats it as a "0" (ok).

However, if the policydb is defined but cannot be used, ZMailer will issue
a "4XX policydb problem". I wonder if a problem with the contentfilter
should also yield a "4XX policyprogram problem" code.

I looked at the contentpolicy.c file, but it seems that currently there is
no way to pass a 4XX code back to smtpdata.c, so if the above reasoning is
right then I have to change the interface. Is my reasoning right?

-- 
Ambrose Li         1024D  945C 2CF7 001D 5F03 B026  375F C5CF A55C 9F10 8B0E
Tel +1 416 321 0088 x272  EDP Department (Toronto), Ming Pao Daily News
FAX +1 416 321 9663     ``A good style should show no sign of effort;
    what is written should seem a happy accident'' - Somerset Maugham