On 01:45 Fri 18 Feb     , [EMAIL PROTECTED] wrote:
> Hi list,
> 
> I have set up mutt, however when I call it with "mutt", the next thing I see 
> is
> /var/mail/root is not a mailbox. When I call it with mutt -y, I can see the 
> three
> mailboxes, but when I press "enter" in order to view them, it says: sh: line 
> 1:
> rxvt: command not found. Any ideas? Thanks in advance.

It looks like you're using the .muttrc from the Gentoo Installation Guide. The
guide is setup to use mbox as the mailbox format, while I found when setting
up my Mutt that using maildir as my mailbox format was more to my liking and
oddly corresponded with the example .muttrc better than using mbox. BTW, the 
default muttrc
found in /etc/mutt/muttrc is setup to use maildir as your mailboxes. Check out
man Mutt or look at dotfiles.com to see a little more what I mean.

I would comment out the macro that uses the enter key to fire up your .muttrc,
it's really not necessary and it gets in the way. If you set it up right, the 
enter key will display the highlighted message. Also, in the macro to run 
fetchmail by using
shift-G, add "browser" to that macro. I'll attach my .muttrc so you can see
what I mean.

As far as the rxvt command error, silly question, but do you have aterm
installed? If not, then you can change all instances of aterm to your favorite
terminal (xterm, Eterm, etc.) It kinda looks to me like you might not have
aterm installed, thus the rxvt error.

I bound a key combination in Fluxbox to fire up "aterm -e mutt -y" so it 
automatically
displays what I want to see. Any window manager will have the capability to do
the same. Once again, change the terminal to something other than aterm if you
like.

Here's my .muttrc, customized for .maildir but not too different from the
example on the Gentoo website:

set pager_context=1
set pager_index_lines=10                #show a mini-index in pager
set menu_scroll
set pgp_verify_sig=no                   #dont show pgp in pager
set status_on_top                       #put status line at top
set sort=threads                        #sort by message threads in index

set mbox_type=Maildir

set editor="vim -c 'set tw=78 nobackup'" #set vim as my editor wrapped at 78

set status_format=" %r %b %f %n      Del %d      Msgs %m %l %> (%P)"
set pager_format="%-10.10i %[!%a %b %d %R]"
set date_format="!%H:%M %a %d %b     "
set index_format="%4C %Z %[%b%d] %-16.16L %s"
set folder_format="%2C %t %8s %d %N %f"

set sendmail="/usr/bin/msmtp"

set from="<your email>"         #set to your from address
set realname="<your name>"

set record="$HOME/.maildir/sent"        #sent mail is saved here
set delete=yes                          #delete without prompting
set include=yes                         #quote msg in reply     
set fast_reply=yes                      #no prompting on reply
set beep=no                             #no noise
set markers=no                          #no + on wrapped lines
set confirmappend=no                    #no prompt for save to =keep           
set to_chars=" +TCF"                    #no L for mail_list
set spoolfile="$Home/.maildir"
set signature="~/.signature"

set folder = $HOME/.maildir
mailboxes =gentoo-user
mailboxes =fluxbox-users
mailboxes =vim-user
mailboxes =keep
<etc.--create your additional mailboxes here>

save-hook .* =keep                      #default mbox to (s)ave mail is =keep

bind pager h display-toggle-weed        #toggle headers with h key

# simulate the old url menu
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

#run fetchmail by hitting key of G
macro index G "!fetchmail -a -m 'procmail -d %T'\r"
macro pager G "!fetchmail -a -m 'procmail -d %T'\r"
macro browser G "!fetchmail -a -m 'procmail -d %T'\r"

#use to edit .muttrc and then source it...no restart necessary
#macro generic ,sm ":source $HOME/.muttrc\r"
#macro generic \cj "!aterm -e vim $HOME/.muttrc\r"

# default list of header fields to weed out when displaying mail
#ignore them all and then unignore what you want to see
ignore *
unignore  Date To From: Subject X-Mailer Organization User-Agent
hdr_order Date From To Subject X-Mailer User-Agent Organization

##your Mutt has to have some colors
<color stuff to your liking...>
##EOF

-- 
Will Clifton
[EMAIL PROTECTED]

--
[email protected] mailing list

Reply via email to