You are not logged in.

#1 2007-09-08 00:39:20

cymon
Member
Registered: 2007-09-04
Posts: 8

Mutt -- Cannot find maildir

Running arch versions of everything from pacman, so no custom compile issues should be messing with anything. I am using POP3 access to my gmail account. getmail works, and downloads the email to my maildir ($HOME/mail) without errors. I can send mail with mstmp and mutt without issues. However, whenever I try and check my email with mutt, I get a 'no mailboxes found' error. I got these files from the Arch mutt guide, which I have reread several times. I also searched the forums, found the mailboxes file idea, but to no avail.

Included are my ~/.mutt/muttrc and ~/.mutt/mailboxes and procmailrc files:

set realname='Ben Simon'

set sendmail="/usr/bin/msmtp"

set edit_headers=yes
#set folder=~/mail
#set mbox=+mbox
#set spoolfile=+inbox
#set record=+sent
#set postponed=+drafts
set mbox_type=maildir

mailboxes +inbox +fb

source /home/cymon/.mutt/mailboxes

Mailboxes:

set folder="/home/cymon/mail"
set postponed="/home/cymon/mail/drafts"
set record="+sent"

mailboxes +inbox
mailboxes +send
mailboxes +fb

procmailrc

MAILDIR=$HOME/mail
DEFAULT=$MAILDIR/inbox/
LOGFILE=$MAILDIR/log

:0:
* ^From. *@facebook.com
$MAILDIR/fb/

:0:
$MAILDIR/inbox/

Thank you for your time, and sorry! It seems all I have to talk about are my problems.

Offline

#2 2007-09-08 07:13:42

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Mutt -- Cannot find maildir

u need something to fetch mail with that will create the directory. fetchmail or getmail are two such apps. try the mutt wiki page for more info


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-09-08 10:00:17

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Mutt -- Cannot find maildir

to dolby : he said he used getmail already.

to cymon :
Why are you using 2 mutt config with nearly the same stuff in both ?
Some vars are commented in the first, but not others, like mailboxes. Looks quite odd.
Also do you use sent or send ?

set realname='Ben Simon'

set sendmail="/usr/bin/msmtp"

set edit_headers=yes

set folder="/home/cymon/mail"
set spoolfile=+inbox
set record=+sent
set postponed=+drafts
set mbox_type=maildir

mailboxes +inbox +sent +fb

edit : could you paste output of ls /home/cymon/mail/* ?

Last edited by shining (2007-09-08 10:01:52)


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#4 2007-09-08 10:32:14

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Mutt -- Cannot find maildir

shining wrote:

to dolby : he said he used getmail already.

oh right, i had just woke up sorry. i just read the config files


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2007-09-09 17:29:59

cymon
Member
Registered: 2007-09-04
Posts: 8

Re: Mutt -- Cannot find maildir

I use sent for the sent mail

ls /home/cymon/mail/*

/home/cymon/mail/cur:

/home/cymon/mail/drafts:
cur  new  tmp

/home/cymon/mail/inbox:

/home/cymon/mail/new:
1188973954.M321053P1502Q0R5df0d2d97964f67e.greenhaven
1188973954.M689372P1503Q1R3f84dcb190b98c7b.greenhaven
1188973954.M919190P1504Q2R28b0c668bf2bb5ec.greenhaven
1188973955.M208297P1506Q4R0dd0760819602261.greenhaven
1188973955.M568126P1507Q5R215e5979591ce592.greenhaven
1188973955.M63245P1505Q3R282629c5983a9079.greenhaven
1188973955.M789581P1508Q6Rfb355e8679717730.greenhaven
1188973956.M304766P1510Q8R37aa90f46f6ef03b.greenhaven
1188973956.M44370P1509Q7R76f7bd3c6f1913aa.greenhaven
1188973956.M455457P1511Q9R8732ccc496b500cd.greenhaven
1188973956.M688544P1512Q10R6a164a74897536e0.greenhaven
1188973956.M911541P1513Q11Re70a011799ffadb1.greenhaven
1188973958.M494184P1514Q12R136197040c607260.greenhaven
1188973958.M642539P1515Q13Rdefef47fecd2add1.greenhaven
1188973958.M787966P1516Q14Re2c2bf6346ada3b2.greenhaven
1188973958.M932104P1517Q15R66ba7b39548c4ae1.greenhaven
1188973959.M227700P1519Q17Ra82a96b026af9577.greenhaven
1188973959.M375422P1520Q18R005be61fd9163e20.greenhaven
1188973959.M522705P1521Q19R3522f52fb76fd863.greenhaven
1188973959.M667135P1522Q20R22ff45c6611b10cd.greenhaven
1188973959.M80117P1518Q16Rc70309fb1b2a7841.greenhaven
1188973959.M918845P1523Q21R8c2604ed0b318e8c.greenhaven
1188973960.M114938P1524Q22Rc870aee51034d0b3.greenhaven
1188973960.M270210P1525Q23Re4eb8be7817d5b8f.greenhaven
1188973960.M511492P1526Q24Rb9ffdd70a16c9d55.greenhaven
1188973960.M702414P1527Q25R7bc1c2aef266c296.greenhaven
1188973960.M851542P1528Q26R72f8677071c74638.greenhaven
1188973960.M995096P1529Q27R75da0af8e1c304bf.greenhaven
1188973961.M177134P1530Q28Rbafc9602e6f4b615.greenhaven
1188973961.M322063P1531Q29R8dc6af4ad2b30f0b.greenhaven
1188973961.M470473P1532Q30Rf868162900a20380.greenhaven
1188973961.M619657P1533Q31Rd00119fb73ae71c5.greenhaven
1188973961.M931902P1534Q32R668d7de0aad172ff.greenhaven
1188973962.M295409P1535Q33R2338b44a5cf2940e.greenhaven
1188973963.M283881P1537Q35R3251962045392b6f.greenhaven
1188973963.M67275P1536Q34Rccf8029ef5d49a0d.greenhaven
1188973963.M755161P1538Q36R2faa650943879a6e.greenhaven
1188973963.M907087P1539Q37R459cebf406337cdb.greenhaven
1188973964.M206940P1541Q39Rc54869228484a5a0.greenhaven
1188973964.M410573P1542Q40Rf756d52749190f71.greenhaven
1188973964.M64197P1540Q38Rce99e9f390057432.greenhaven
1188973964.M651923P1543Q41R152a9d37b6990ad4.greenhaven
1188973964.M850615P1544Q42R8b0b23f58c7f4b7d.greenhaven
1188973965.M205930P1546Q44R38797f7db8830d45.greenhaven
1188973965.M33437P1545Q43Re247f83a50e2863e.greenhaven
1188973965.M346966P1547Q45Re12c310f302e4621.greenhaven
1188973965.M498622P1548Q46Rd7a931fa5a09fca3.greenhaven
1188973965.M641573P1549Q47R324f794928243185.greenhaven
1189148403.M481189P6385Q0Rd1a1c0ffb09c95a6.greenhaven
1189261802.M419711P8697Q0Rdcd33100982349a0.greenhaven
1189299603.M149317P8984Q0R985f8730208c400c.greenhaven

/home/cymon/mail/sent:
cur  new  tmp

/home/cymon/mail/tmp:

I deleted the ~/.mutt/mailboxes file, now it's all in muttrc.

Offline

#6 2007-09-09 19:56:30

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Mutt -- Cannot find maildir

Why the hell do you want to use mutt when there is a ton of nice and user friendly mail clients out there?
And since you are using gmail, its web interface is decent also.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2007-09-09 20:13:21

cymon
Member
Registered: 2007-09-04
Posts: 8

Re: Mutt -- Cannot find maildir

PGP support, multiple mailboxes, real mail sorting with procmail for starters.

Offline

#8 2007-09-09 20:52:09

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Mutt -- Cannot find maildir

shining wrote:

Why the hell do you want to use mutt when there is a ton of nice and user friendly mail clients out there?
And since you are using gmail, its web interface is decent also.

It's quick, it's fully configurable, it interacts perfectly with other apps, to your liking, and one learns a lot about mail format, handling, encoding, etc. - a little like Arch, actually... And it's the most user-friendly mail reader I've come across so far.

Offline

#9 2007-09-12 17:33:25

tam1138
Member
Registered: 2007-09-10
Posts: 238

Re: Mutt -- Cannot find maildir

The trailing slash on paths to maildirs is important: it specifies maildir format as opposed to mbox, etc.  My guess is that, because you're not using a trailing slash, mutt is expecting a file and instead finding a directory.  I would recommend consolidating your config to a single file, and that it look like this:

set realname='Ben Simon'

set sendmail="/usr/bin/msmtp"

set edit_headers=yes

mailboxes +inbox +fb

set folder="/home/cymon/mail"
set spoolfile="/home/cymon/mail/"
set postponed="/home/cymon/mail/drafts"
set record="+sent"

mailboxes +inbox/
mailboxes +send/
mailboxes +fb/

I think that'll work.

Offline

#10 2007-09-14 03:01:40

cymon
Member
Registered: 2007-09-04
Posts: 8

Re: Mutt -- Cannot find maildir

Tam1138 -

It worked! Thanks a bunch! Reading through the tutorial, I saw some different cases where trailing slashes were used and not used, but I didn't think of them here. Thanks again!

Offline

Board footer

Powered by FluxBB