It looks like you might missed something in getmailrc file.
Code:
mkdir -m 700 ~/.getmail
or
Code:
mkdir -m 700 /home/yourusename/.getmail
then
Code:
touch /home/yourusername/.getmail/getmailrc
Code:
chmod 600 /home/yourusername/.getmail/getmailrc
Put this in your getmailrc file
Code:
[options]
read_all = false
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
username = yourusename@mail.com
password = yourpassword
[destination]
type = MDA_external
path = /usr/bin/procmail
unixfrom = true
Now, if you use Maildir as a destination type
Code:
[destination]
type = Maildir
path = /home/yourusername/mailfolder/
you have to create 3 extra folders /cur /new /tmp in your mailfolder
As for mutt, it's part of Slackware now, so if youre using mda_external, you dont need to change anything, but if you use maildir type, you have specify your mailfolder in /etc/mutt/Muttrc
For more info and other options visit
this site