Re: Mailboxes are not mailboxes

2000-06-22 Thread Dennis Robertson

On Thu, Jun 22, 2000 at 12:49:09AM +0300, Mikko Hänninen wrote:

 Hello Dennis,
 
 It might be better to send your emails to [EMAIL PROTECTED], so that
 other people have the chance to see them too, and reply to them.  They
 might have better answers than I do...
 
Sorry, I thought I had.  This is my first message to the list using mutt so I
hope it is OK.
 
 That depends on how you saved to that folder...  If you typed the full
 path ("/home/dennis/Mail/me") then I find it very strange that Mutt
 would create the folder in the wrong place.  If you didn't specify a
 path and only used "me", then the folder is created in the directory
 where Mutt is started in (usually, your home directory).  If you want
 to refer to ~/Mail/, the most common method is to specify that as
 your $folder ("set folder=~/Mail") and then use the = or + shortcut,
 eg. "=me" for "~/Mail/me".

One reason for my problems was not using = or +;  thanks.

 
  That is how I created all the "mailboxes" in /home/dennis/Mail which
  mutt says are not mailboxes.
 
 This is very strange.  (It works for me, and lots of other people...)
 
  Yes I am using mbox.  Here are the first few lines requested:
   
  From dennis  Wed Jun 21 15:51:27 2000
  Return-Path: [EMAIL PROTECTED]
 
 Ok, that looks fine.
 
 I do hope that the  in front of that From on the first line was created
 either by your email program, or in transit, because if it's present
 there in your mail folder file, then that would certainly mess things
 up.  If it does say "From " and not "From " then that should be a valid
 mbox, and Mutt should open it.
 
It was the email program or transit.  What I have done is copy the first two
lines of the From script to every mail folder and they now all work. 

Thanks again;  I know I will enjoy mutt when I have figured out how to use it.

Regards.
-- 
Dennis Robertson  2/2 Sylvia Street  NOOSAVILLE  QLD  4566  AUSTRALIA
Phone: 61 7 54742343  Mobile: 0419 535539  Fax: Phone for setup.
Lonesome?
Like a change?
Like a new job?
Like excitement?
Like to meet new and interesting people?

JUST SCREW-UP ONE MORE TIME!!!




Re: Mailboxes are not mailboxes

2000-06-21 Thread Martin Schröder

Could you please persuade your mutt to produce a
References: Header?

Thanks in advance
Martin
-- 
  Martin Schröder, [EMAIL PROTECTED]
ArtCom GmbH, Grazer Straße 8, D-28359 Bremen
   Voice +49 421 20419-44 / Fax +49 421 20419-10

 PGP signature


Re: Mailboxes are not mailboxes

2000-06-21 Thread Suresh Ramasubramanian

On 21/06/00 22:29 +1000, Dennis Robertson typed:
 
 Send yourself mail to create a mailbox :)
 ~$ echo 'hello world'|mail [EMAIL PROTECTED]

Did that.

 See that mutt is looking for the mailboxes ... add the mailboxes line
 mailboxes $MAIL =mailbox1 =mailbox2 ...

Did that.

Did it work?

You have all been so helpful that I feel I must stick with this to the
end
as long as you have the patience.  I have replied to each point in each
of your responses. 

Good show - but I hope it worked :)

By the way, why do I get Cron Daemon messages and anonymous @dencar
messages in my inbox?

Procmail.  Put something like this in your .procmailrc -

# Move crontab mail and such into a separate folder
:0:
* ^From:.*root@localhost  #or whatever your box is called
$MAIL/r00t_stuph

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
Support bacteria -- it's the only culture some people have!



Re: Mailboxes are not mailboxes

2000-06-20 Thread cgreen

On Tue, Jun 20, 2000 at 10:35:39PM +1000, Dennis Robertson wrote:
 Hello,
 Before I give up and retire hurt to netscape can anyone tell me in words
 of one syllable how to create mailboxes that work.  I get the message
 from mutt that every one of the "mailboxes" I have designated is not a
 mailbox, even though I can see that procmail has delivered to them.  I
 have read the manual at 3.11 and am none the wiser.  

When does mutt say they're not mailboxes?  I.e. what are you doing
when it says it?  Also how do you tell that procmail has delivered to
them?

Procmail can deliver to a number of different formats of 'mailbox', I
think mutt should be able to read them all too.  You obviously need to
get them 'in step' though.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




Re: Mailboxes are not mailboxes

2000-06-20 Thread Suresh Ramasubramanian

Dennis Robertson proclaimed on mutt-users that:

Before I give up and retire hurt to netscape can anyone tell me in words
of one syllable how to create mailboxes that work.  I get the message
from mutt that every one of the "mailboxes" I have designated is not a
mailbox, even though I can see that procmail has delivered to them.  I
have read the manual at 3.11 and am none the wiser.  

Send yourself mail to create a mailbox :)

~$ echo 'hello world'|mail [EMAIL PROTECTED]

See that mutt is looking for the mailboxes ... add the mailboxes line

mailboxes $MAIL =mailbox1 =mailbox2 ...

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
If little green men land in your back yard, hide any little green women
you've got in the house.
-- Mike Harding, "The Armchair Anarchist's Almanac"



Re: Mailboxes are not mailboxes

2000-06-20 Thread Mikko Hänninen

Hi,

Dennis Robertson [EMAIL PROTECTED] wrote on Tue, 20 Jun 2000:
 Before I give up and retire hurt to netscape can anyone tell me in words
 of one syllable how to create mailboxes that work.

Save an existing mail message to a non-existing mail folder (mailbox),
Mutt will automatically create the folder if it doesn't exist yet.

If you're using mbox format (the "standard" unix mail folder format,
single file), you could just do "touch mailbox_name" to create an empty
folder.

 I get the message
 from mutt that every one of the "mailboxes" I have designated is not a
 mailbox, even though I can see that procmail has delivered to them.  I
 have read the manual at 3.11 and am none the wiser.  

Mutt auto-detects the folder type of any mail folder you try to open.
It recognises 4 folder types: mbox, MMDF (close to mbox), Maildir and
MH.  Maildir and MH are single-file-per-message type formats, ie. the
actual folder is a directory which has specific contents.

Assuming you're using mbox (you don't say, but it's the most common
format, Netscape uses it and procmail by default does too)...  Take
a look at one of those folder files with a page viewer.  The first
five characters of the file should be "From " (From + space).  If
they are not, then the folder format is not valid mbox.  procmail
likely will not care, if the file exists it will happily append new
messages at the end.  Mutt however has to read the folder from the
beginning.  As a safe-guard against accidents, it will not try to parse
any random text file as mailbox, that's why the "From " check.

If the file doesn't begin with "From ", then you need to re-create a
valid mbox.  It could be just that the file has some leading junk line
or something, which you could remove with a text editor.  Or you could
use something like "formail -ds" to recreate valid mbox folders, since
that doesn't assume strict mbox format for messages, but the output
will be in valid mbox format.

If the file *does* begin with a "From ", could you copy/paste the first
two or three lines for us to see?


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"Do you have a backup of the data you used to have on this disk?"



Re: Mailboxes are not mailboxes

2000-06-20 Thread David T-G

Dennis --

...and then Dennis Robertson said...
% Hello,
% Before I give up and retire hurt to netscape can anyone tell me in words

*gasp*


% of one syllable how to create mailboxes that work.  I get the message

The simplest way to create a mailbox is to touch the file into existence.
Of course, it's empty and there's no mail so mutt can't really do
anything with it, but it's there.

The second-simplest way is to save a message from your $spoolfile right
from mutt.  This will create a mailbox of whatever type is specified in
$mbox_type (default is mbox, but also MH, MMDF, and Maildir).

You could always create a mailbox with Netscape and then use that with
mutt, as I understand it; I believe that Netscape uses mbox files.


% from mutt that every one of the "mailboxes" I have designated is not a

How did you "designate" them?  Simply saying 

  mailboxes =A =B =C

is not enough to create them.  Do they really exist?  If you're using
shorthand as above, is $folder set correctly?  To find out, check from
*within* mutt since some unnoticed muttrc file may have changed it; when
in the index, just type

  :set ?folder

and hit return and see what it says.  BTW, you can check any variable's
setting this way (replacing in the proper variable name, of course ;-)
and you might check the value of mbox_type while you're looking around.


% mailbox, even though I can see that procmail has delivered to them.  I
% have read the manual at 3.11 and am none the wiser.  

And how do you know that procmail delivered to them?  In what format
(mbox, MH, MMDF, Maildir)?  Is it a single file, or is it a directory
with cur new tmp subdirs?  If it's a single file, open it with an editor;
how does it look?


% Thanks. 

HTH  HAND


% -- 
% Dennis Robertson  2/2 Sylvia Street  NOOSAVILLE  QLD  4566  AUSTRALIA
% Phone: 61 7 54742343  Mobile: 0419 535539  Fax: Phone for setup.


:-D
-- 
David T-G   * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Mailboxes are not mailboxes

2000-06-20 Thread Nils Vogels

On Tue, Jun 20, 2000 at 10:35:39PM +1000, Dennis Robertson wrote:
 Hello,
 Before I give up and retire hurt to netscape can anyone tell me in words
Eeeps! :)

 of one syllable how to create mailboxes that work.  I get the message
 from mutt that every one of the "mailboxes" I have designated is not a
 mailbox, even though I can see that procmail has delivered to them.  I
 have read the manual at 3.11 and am none the wiser.  
Add the "mailboxes" entry in your muttrc, restart mutt (or issue :source ~/.muttrc" 
and start saving messages to it ... should work ;-)

-- 
How can a species, that can create machines to communicate, fail to communicate
amongst themselves ?



Re: Mailboxes are not mailboxes

2000-06-20 Thread clemensF

Dennis Robertson proclaimed on mutt-users that:

Before I give up and retire hurt to netscape can anyone tell me in words
of one syllable how to create mailboxes that work.  I get the message
from mutt that every one of the "mailboxes" I have designated is not a
mailbox, even though I can see that procmail has delivered to them.  I
have read the manual at 3.11 and am none the wiser.  

call "procmail -f-" to have it make the from-lines that designate a
mailbox.

clemens