On Wednesday 03 March 2004 11:57, Darragh Bailey wrote:
> Quoting Kenn Humborg <kenn at bluetree.ie>:
> > > > Justin Mason writes
> > > >
> > > > - --mbox switch is required when working on mboxes.
> > >
> > > sorry that was a typo above, I forgot to add in that I was using
> > > that option as
> > > well, but its more to do with the fact that spamassassin current
> > > can't handle
> > > imap folders at the moment.
> >
> > You're mixing your terminology here. When you're looking at
> > the raw file(s) that make up a mail "folder", IMAP doesn't
> > come into the picture. You've box mbox folders, Maildir folders
> > and multiple others that I can't remember the names of right
> > now.
> >
> > You'll recognize Maildir folders by the cur/, new/ and tmp/
> > subdirs.
>> What I have is a number of mail folders under ~/mail/, each mail folder is
> basically a file that contains all the mails and the problem that
> spamassassin has in reading in from these directly is with the following
> folder header
>> >From MAILER-DAEMON Wed Mar 3 10:38:52 2004
>> Date: 03 Mar 2004 10:38:52 +0000
> From: Mail System Internal Data <MAILER-DAEMON at compsoc.nuigalway.ie>
> Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
> Message-ID: <1078310332 at compsoc.nuigalway.ie>
> X-IMAP: 1077182741 0000000428
> Status: RO
>> This text is part of the internal format of your mail folder, and is not
> a real message. It is created automatically by the mail system software.
> If deleted, important folder data will be lost, and it will be re-created
> with the data reset to initial values.
>
As far as I can remember procmail does this whenn appending directly to an
mbox. It will appear before every single mail, not just the first one. You
will need to filter it out.
--
John Allen, mailto:john.allen at dublinux.net
MandrakeClub Silver Member. http://www.dublinux.net
Mandrake Linux release 10.0 (RC1) for i586, kernel 2.4.22-21mdk
15:55:47 up 25 days, 23:44, 1 user, load average: 0.23, 0.16, 0.10
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!