]> diplodocus.org Git - minc/log
minc
23 years agoWrite a couple XXX todo comments.
epg [Wed, 28 Aug 2002 06:44:08 +0000 (06:44 +0000)]
Write a couple XXX todo comments.

23 years agoDocument that HOME is used to find the maildir in the absence of
epg [Tue, 27 Aug 2002 02:26:37 +0000 (02:26 +0000)]
Document that HOME is used to find the maildir in the absence of
the MAILDIR environment variable.

23 years agoCollapse the two 'use env' pragmas into one.
epg [Tue, 27 Aug 2002 02:22:13 +0000 (02:22 +0000)]
Collapse the two 'use env' pragmas into one.

23 years agoMove definition of logging constants to logging section.
epg [Tue, 27 Aug 2002 01:29:30 +0000 (01:29 +0000)]
Move definition of logging constants to logging section.

23 years ago(is_spam): Change logic of testing razor-check exit code slightly to
epg [Sun, 25 Aug 2002 22:29:48 +0000 (22:29 +0000)]
(is_spam): Change logic of testing razor-check exit code slightly to
bomb if execution of razor-check failed (as opposed to sucessful
execution with a failure exit code).

23 years ago(store_message): Test for failure when mark(1)ing the message unseen.
epg [Sun, 25 Aug 2002 22:26:40 +0000 (22:26 +0000)]
(store_message): Test for failure when mark(1)ing the message unseen.

23 years ago(_errprint): Use single-quotes for a printf format string.
epg [Sun, 25 Aug 2002 21:52:44 +0000 (21:52 +0000)]
(_errprint): Use single-quotes for a printf format string.

23 years ago(find_mh_folder): Fix logic: only use the lower-cased version of
epg [Sun, 25 Aug 2002 21:47:25 +0000 (21:47 +0000)]
(find_mh_folder): Fix logic: only use the lower-cased version of
the header string from %FILTERS for retrieving the header contents
from %headers.

23 years ago(kill_spam): Be more clear about the meaning of the number printed
epg [Sun, 25 Aug 2002 21:31:18 +0000 (21:31 +0000)]
(kill_spam): Be more clear about the meaning of the number printed
before returning.

23 years agoAudit the entire file for correct -n behavior.
epg [Sun, 25 Aug 2002 21:04:05 +0000 (21:04 +0000)]
Audit the entire file for correct -n behavior.

(store_message): Document why this calls mkfolder even in -n mode.

(is_spam): Don't actually do anything in -n mode.

23 years ago(find_mh_folder): Down-case header from %FILTERS before trying to
epg [Sun, 25 Aug 2002 20:53:31 +0000 (20:53 +0000)]
(find_mh_folder): Down-case header from %FILTERS before trying to
use it.

23 years ago(get_headers): Fix an XXX (print message and return () on encountering
epg [Sun, 25 Aug 2002 20:50:51 +0000 (20:50 +0000)]
(get_headers): Fix an XXX (print message and return () on encountering
malformed message.

(find_mh_folder): Handle get_headers failing.

23 years ago(get_headers): Remove XXX question about whitespace after discussion
epg [Sun, 25 Aug 2002 20:42:48 +0000 (20:42 +0000)]
(get_headers): Remove XXX question about whitespace after discussion
with dsp.

23 years ago(log_headers): Adapt to the %headers hash now having all-lowercase
epg [Sun, 25 Aug 2002 20:28:58 +0000 (20:28 +0000)]
(log_headers): Adapt to the %headers hash now having all-lowercase
keys.

23 years ago(kill_spam): Display progress report since this can be a lengthy
epg [Sun, 25 Aug 2002 20:26:27 +0000 (20:26 +0000)]
(kill_spam): Display progress report since this can be a lengthy
operation with no output otherwise.

23 years ago(get_headers): Down-case the header name before using it as a key to
epg [Sun, 25 Aug 2002 20:02:13 +0000 (20:02 +0000)]
(get_headers): Down-case the header name before using it as a key to
the hash.

23 years ago(is_spam): Remove the system('false') line and actually call
epg [Sun, 25 Aug 2002 19:19:53 +0000 (19:19 +0000)]
(is_spam): Remove the system('false') line and actually call
razor-check now.

23 years agoNew -s option, for processing spam only.
epg [Sun, 25 Aug 2002 18:41:32 +0000 (18:41 +0000)]
New -s option, for processing spam only.

($spamonly): New global.

(MAIN): Call filter_mail only if not $spamonly.

23 years agoNew error handling based on <err.h>.
epg [Sun, 25 Aug 2002 18:12:02 +0000 (18:12 +0000)]
New error handling based on <err.h>.

(_errprint): New function, handles printing of error messages for err
and errx.

(err): err(3) for Perl.

(errx): errx(3) for Perl.

(mkfolder):
(store_message):
(is_spam): Use err instead of die.

23 years agoBomb if HOME isn't set and if MAILDIR isn't set use $HOME/Maildir.
epg [Sun, 25 Aug 2002 09:31:41 +0000 (09:31 +0000)]
Bomb if HOME isn't set and if MAILDIR isn't set use $HOME/Maildir.

23 years agoSet svn:executable.
epg [Sun, 25 Aug 2002 09:01:10 +0000 (09:01 +0000)]
Set svn:executable.

23 years agoAdd minc program, based on an earlier minc which was not developed
epg [Sun, 25 Aug 2002 08:55:35 +0000 (08:55 +0000)]
Add minc program, based on an earlier minc which was not developed
very far.

23 years ago(no commit message)
<> [Sun, 25 Aug 2002 08:53:33 +0000 (08:53 +0000)]