]> diplodocus.org Git - minc/commit
Collapse the spam-checking and filtering passes into a single pass and
authorepg <>
Sat, 3 Apr 2004 05:11:30 +0000 (05:11 +0000)
committerepg <>
Sat, 3 Apr 2004 05:11:30 +0000 (05:11 +0000)
commit95a97f883e0e32b7e78b58ff11424fe8a4d4630e
tree14c36312e799c350ae66b4d44ac5e220e9069e29
parent517d06c0e6052d329e5a53d10bc7436209a38402
Collapse the spam-checking and filtering passes into a single pass and
adapt the diagnostic output to make sense in the new single pass.

(store_message): Don't print anything.

(preprocess): Move the message sorting to MAIN and spam processing to
filter_mail.

(filter_mail): Do spam filtering in this loop and do all status
printing here.

(%FOLDERS): This should not have been global; move it into
filter_mail.

(MAIN): Sort messages before calling filter_mail.  If any SPAM
messages were detected, scan(1) them.
minc