Hi,

* skidley [04/15/02 01:45:06 CEST] wrote:

It would be nice if you could wrap your lines at somewhat
around 70 characters/line.

> When I started mutt after a new install I get
> /var/spool/mail/<myusername> is not a mailbox. I've never
> seen such a thing. So I ran fetchmail and it created
> /var/spool/mail/<user> and downloaded my pop messages and
> still when I run mutt I get /var/spool/mail... is not a
> mailbox. why out of the blue would mutt do such a thing?

This is quite simple: as default, your spoolbox in /var/mail
is of type mbox. The mbox format defines that mails are to be
separated by a blank followed by a 'From ...' line. The 'From
' line is different from the 'From:' line ('From ' typically
is something like: 'From [EMAIL PROTECTED] $date').

If there're no 'From ' lines, mutt assumes that the file
you're about to open is not a valid mailbox file.

What version of 'fetchmail' do you use? With fetchmail it is a
good idea to always use the most recent stable version.
Normally it should not break you spoolbox if it is configured
correctly.

> I
> have always used /var/spool/mail/<user>. This is absolutely
> horrendous. How can I fix this???????

Hmm, you could look for 'formail' and try restoring the file.
But doing this each time is not very elegant. So, why not use
Procmail and insert missing 'From ' lines and correct broken
ones (fetchmail can deliver to procmail instead of directly
saving to /var/mail/...)?

HTH,

Cheers, Rocco.

Attachment: msg27175/pgp00000.pgp
Description: PGP signature

Reply via email to