Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mutt questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Tue Jul 29, 2003 11:52 pm    Post subject: mutt questions Reply with quote

I've heard alot about mutt so I thought I'd give it a try. First I setup procmail to deliver all my email from spool to ~/Mail. Inside ~/Mail I have several mbox files.

my .muttrc file:

Code:

# mailbox type
set mbox_type=Mbox

# folder where local mailboxes are stored
set folder=~/Mail

# mutt will open this file when it starts
set spoolfile=~/Mail/inbox

# outgoing messages are appened to this file
set record=~/Mail/sent-mail

# these folders are checked for email
mailboxes ! +gentoo +inbox +mason +modperl +resume +vim

set index_format="%4C %Z %{%b %d} %-16.16L  %s"


If I understand correctly, I cycle though mboxes looking for new mail (the c command). However, as I do mutt prompts me:

Code:
Move read messages to /home/neil/mbox? ([no]/yes):


Where did that come come from and what does it mean?
Is there a way for mutt to show me all new mail, in all folders when it starts.
Unless I start mutt from ~/Mail it will not find folder when I try to change folders (c, typing vim as the folder name). Why is that?
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
Regor
Guru
Guru


Joined: 06 Aug 2002
Posts: 545
Location: 39° 2' 48" N, 120° 59' 2" W

PostPosted: Wed Jul 30, 2003 10:09 am    Post subject: Reply with quote

It asks this by default because it's operating under the assumption that you're reading your inbox from a system-wide mail spool directory and wish to keep messages locally once you've viewed them.

Given your setup, with procmail dumping mail locally already, you don't want this. Put the following line into your ~/.muttrc and it will go away:
Code:

set move=no


Welcome to the wonderful world of mutt!
_________________
Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Wed Jul 30, 2003 2:29 pm    Post subject: Reply with quote

Thanks for the tip. New question: sendmail mail from mutt. When I try to send mail I get this error:

Code:

sendmail: Cannot open mail:25


My machine is running postfix locally. What is the problem?
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Wed Jul 30, 2003 4:48 pm    Post subject: Reply with quote

Moved from Other Things Gentoo.
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Wed Jul 30, 2003 5:10 pm    Post subject: Reply with quote

Problem solved. Seems the application was looking for a host called mail. Added it as an alias to localhost and all is well.
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum