Re: Save to set folder with mutt

2006-08-11 Thread Michelle Konzack
Am 2006-06-10 23:09:04, schrieb s. keeling:
> Qingsu Chen <[EMAIL PROTECTED]>:
> >  On 09/06/06 22:34 +0200, Csanyi Pal wrote:

> >  And the mutt said that "debian" is not a mailbox.

does the debian directory has the three
subdirectories "tmp", "cur" and "new" ?
> 
> In ~/.muttrc:
> 
>set mbox_type="mbox"

Set it to:  set mbox_type="maildir"

> It appears to be thinking maildir instead of mbox.

This is only for writing...

Mutt CAN READ mbox, Maildir and Mh
without any configurations and problems.

Greetings
Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Save to set folder with mutt

2006-06-10 Thread s. keeling
Qingsu Chen <[EMAIL PROTECTED]>:
>  On 09/06/06 22:34 +0200, Csanyi Pal wrote:
>   
> > Why don't use procmail?
> > 
> > procmail can send your mails that come from debian-user list and send 
> > it to your debian-user mailbox, where you can find these as new 
>   
>   I have created my .procmail .forward file according to the following url:
>  http://userpages.umbc.edu/~ian/procmail.html
> [snip]
>  The procmail program seems to go on well, but in mutt I can't read letters in
>  "debian" mailbox which are filtered by procmail.  
> 
>  And the mutt said that "debian" is not a mailbox.

In ~/.muttrc:

   set mbox_type="mbox"

It appears to be thinking maildir instead of mbox.



-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling   Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.html
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Save to set folder with mutt

2006-06-10 Thread Csanyi Pal
> On 09/06/06 22:34 +0200, Csanyi Pal wrote:
>  
> > Why don't use procmail?
> > 
> > procmail can send your mails that come from debian-user list and send 
> > it to your debian-user mailbox, where you can find these as new 
> > messages with 'c'.
>  
>  I have created my .procmail .forward file according to the following url:
> http://userpages.umbc.edu/~ian/procmail.html
> An excerpt from my .procmail:
> 
> MAILDIR=$HOME/Mail# all mailboxes are in ~/Mail/
> DEFAULT=$HOME/Mail/inbox
> LOGFILE=$MAILDIR/log
> SHELL=/bin/bash
> 
> # Put mail from DC-Linux mailing list into mailbox dclinux
> # the last colon means use a lockfile
> :0:
> * ^(From|Cc|To).*debian
> debian
> 
> 
> The procmail program seems to go on well, but in mutt I can't read letters in
> "debian" mailbox which are filtered by procmail.  
> 
> And the mutt said that "debian" is not a mailbox.
> 
> Is there any configuration can resolve the problem ? 
> Thank you.

In my .muttrc file I have these settings for my maliboxes:
--->
...
mailboxes "!" +debian +linux-hw etc.
...
---<

So You should try to edit your .muttrc and add as I did abowe your mailboxes 
for Mutt.

-- 
Regards, Csányi Paul
http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
http://csanyipal.info/moodle  <<<---  Moodle - Course Management System
http://csanyipal.info:81  <<<---  sTeam - Cooperative Learning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Save to set folder with mutt

2006-06-10 Thread Qingsu Chen
On 09/06/06 22:34 +0200, Csanyi Pal wrote:
 
> Why don't use procmail?
> 
> procmail can send your mails that come from debian-user list and send 
> it to your debian-user mailbox, where you can find these as new 
> messages with 'c'.
 
 I have created my .procmail .forward file according to the following url:
http://userpages.umbc.edu/~ian/procmail.html
An excerpt from my .procmail:
--
MAILDIR=$HOME/Mail  # all mailboxes are in ~/Mail/
DEFAULT=$HOME/Mail/inbox
LOGFILE=$MAILDIR/log
SHELL=/bin/bash

# Put mail from DC-Linux mailing list into mailbox dclinux
# the last colon means use a lockfile
:0:
* ^(From|Cc|To).*debian
debian
--

The procmail program seems to go on well, but in mutt I can't read letters in
"debian" mailbox which are filtered by procmail.  

And the mutt said that "debian" is not a mailbox.

Is there any configuration can resolve the problem ? 
Thank you.

-- 

Any help is appreciated.

Qingsu Chen
Wuhan University
China


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Save to set folder with mutt

2006-06-09 Thread Christopher Nelson
On Fri, Jun 09, 2006 at 02:01:29PM -0600, Joseph Smidt wrote:
> I receive mail form debian-user and have always sent it to my
> debian-user folder using "C" then deleting it from my inbox.  Is there an
> easier way to have all emails from debian-user sent to my debian-user
> folder automatically after I read it?

If you are insistent on doing it via .muttrc then 'zless
/usr/share/doc/mutt/manual.txt.gz' will give you an idea of what the
various hooks do.  Just off the cuff, I'd set up two mbox's -- one for
new and one for read -- and do a "folder-hook . 'set mbox=+mbox'"
"folder-hook debian-user 'set mbox=+debian-user-old'" "folder-hook . 
'set move='" "folder-hook debian-user 'set move=yes'" 
all in your .muttrc

complicated isn't it?  this of course assumes you have something like
procmail in place...

-- 
Christopher Nelson -- [EMAIL PROTECTED]
---
Two heads are more numerous than one.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Save to set folder with mutt

2006-06-09 Thread Csanyi Pal
On Fri, Jun 09, 2006 at 02:01:29PM -0600, Joseph Smidt wrote:
> I receive mail form debian-user and have always sent it to my
> debian-user folder using "C" then deleting it from my inbox.  Is there an
> easier way to have all emails from debian-user sent to my debian-user
> folder automatically after I read it?

Why don't use procmail?

procmail can send your mails that come from debian-user list and send 
it to your debian-user mailbox, where you can find these as new 
messages with 'c'.

-- 
Regards, Csányi Paul
http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)
http://csanyipal.info/moodle  <<<---  Moodle - Course Management System
http://csanyipal.info:81  <<<---  sTeam - Cooperative Learning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]