You are not logged in.
Pages: 1
I installed mutt with the wiki's howto.
But when I receve mail with getmail and open mutt.
Mutt doesn't diplay them and just say that mail/inbox is not a mailbox.
This file contain all my mail together.
How can I fix it?
Is there any way that getmail leave the mail reachable by another pop3 client on gmail?
Offline
To leave email on the server:
[options]
delete = false
Post your ./getmail/???.rc file with the username and passwords blanked out. I use getmail to dump into "maildir" mailboxes for kmail. Getmail also supports mbox mailboxes. Which format does mutt expect?
Offline
here is my getmail
[retriever]
type = SimplePOP3SSLRetriever
server = pop.gmail.com
username = something@gmail.com
port = 995
password = another_something
#[destination]
#type = Maildir
#path = ~/mail/
[destination]
type = MDA_external
path = /usr/bin/procmail
don't know what mutt use in the man they are talking about spool mailbox
Offline
The Arch mutt wiki sets up email in maildir format. You can decide which is best for you as mutt supports lots of mailbox formats.
Now getmail would normally store in "maildir" format which is a directory for each folder and a file for each message BUT instead of getmail dumping emails directly that "[destination]" has been commented out and emails are passed to procmail.
However after procmail has finally dumped them, you say mutt is telling you "mail/inbox is not a mailbox" and you say "This file contain all my mail together" which sounds like procmail has written them in "mbox" format (which is a file contains many emails stuck together, each file is treated like an email folder) in which case there's something wrong with your .procmailrc, ormaybe you've received local email (e.g. from cron jobs) that have setup/overridden ~/mail/
To test, cut out procmail altogether and try this in getmail
[destination]
type = Maildir
path = ~/mymail/
set up fresh, separate maildir structure
mkdir -p ~/mymail/{cur,new,tmp}
and point mutt inbox to "mymail" with maildir format.
Do you actually need the procmail stage?
Offline
I already tried this (as you can see I commented it in my getmailrc.
As I don't care of my procmail's filter for the moment I comment procmail and uncomment what you said.
So i think the problem come from my nuttrc :
set realname='bruce'
set sendmail="/usr/bin/msmtp"
set edit_headers=yes
set folder=/home/bruce/mail
set mbox=+mbox
set spoolfile=+inbox
set record=+sent
set postponed=+drafts
set mbox_type=Maildir
mailboxes +inbox
note : when I don't use procmail there is no inbox file in /mail, just singles files in /mail/new
Offline
Below is my getmailrc. I set "delete=false" but getmail still deletes all messages on the server. Any idea what might be going on?
[options]
verbose = 1
delete = false
[retriever]
type = SimplePOP3SSLRetriever
server = mail.ucla.edu
username = username
password = password
[destination]
type = MDA_external
path = /usr/bin/procmail
unixfrom = True
Offline
Please note that, if you use procmail as a destination, the format of the mailbox is determined by .procmailrc, not by .getmailrc.
Mortuus in anima, curam gero cutis
Offline
Also I think your settings mean you need a new,cur, and temp directory inside your Mail directory.
Offline
Pages: 1