Porting to RISC OS

Matthias Andree matthias.andree at gmx.de
Sat Sep 6 16:56:30 CEST 2003


Stefan Bellon <sbellon at sbellon.de> writes:

> However, all mail fetchers on RISC OS use another mbox format. Mails
> are not separated by From_ lines, but by lines with "#! rmail" at the
> start of a line.

Could you show me an excerpt from a mailbox that contains two mails,
including these "#! rmail" lines?  I might then add detection to
bogoreader. (might actually be no more than a UUCP mail batch).

> Now I wanted to add this recognition to bogoreader.c:mailbox_getline().
> However I get the impression that the return value of that function
> determines two things: a) whether to start statistics for a new mail
> and b) whether to throw away the current line. Those two things seem to
> be tied together.

b) won't have anything to discard with MH and Maildir, so that should
not be it.

> On RISC OS however, I have to retain the "#! rmail" line and start
> processing a new mail. It looks like this doesn't work with the current
> design of mailbox_getline(). It could however very well be that I
> haven't fully understood how processing the input works.

I'd rather not call the format "mailbox" anyways.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the bogofilter-dev mailing list