I use imapd and maildir. I tested bmf on my spam directory and bmf
returned that each file I tried "./bmf: input does not look like email"
I have tried various command line options but always with -i
Logged In: YES
I am investigating this problem. It happens because bmf is expecting an
email to begin with the envelope header "From ". This is true for email
when it is delivered with sendmail and friends, and it is also true for mbox
style folders. Apparently it is not true for maildir style folders.
The following patch (to version 0.9.2) should fix the error message, but it
will also remove the ability to process multiple emails per file (such as mbox
folders). I will try to fix this issue within the next day or two.
--- bmf.c Sat Oct 12 00:34:27 2002
+++ bmf-nofrom.c Sat Oct 12 09:17:47 2002
@@ -321,14 +321,7 @@
lex_nexttoken( &lex, &tok );
- if( tok.tt != from )
- fprintf( stderr, "%s: input does not look like email\n", argv );
- exit( 2 );
- while( tok.tt == from )
vec_create( &mlist );
bvec_loadmsg( &mlist, &lex, &tok );
@@ -406,7 +399,6 @@
vec_destroy( &mlist );
lex_destroy( &lex );
Claim fixed in 0.9.4. Please verify and close.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.