Site Configuration Queries

David Relson relson at osagesoftware.com
Tue May 20 01:36:14 CEST 2003


At 02:12 PM 5/19/03, Peter Bishop wrote:

>My own mailer can generates a cheapo mbox format with the following
>header
>
> >From ???@??? Sat Mar 22 15:22:52 2003

That looks _exactly_ like the line used by Eudora to separate messages.

>This seems to be accepted by bogofilter (is that right David?)
>In which case no extra tokens are added. and you don't need to parse
>anything.

It's looks safe to me.  Having an email address on the "From " line is 
harmless as the email address almost always appears elsewhere in the 
message header.

>PS, I may just be paranoid, but the body might not have a final end of line
>terminator. so it would be safer to print "\n\n" after the body to ensure
>there is a blank line separator

Bogofilter has a special check for "^From " in function is_from().  This is 
needed because messages don't always end properly (with final mime 
boundaries, end tags for html and html comments, etc).






More information about the Bogofilter mailing list