I have successfully configured mutt to work with gmail imap. But when i try to send mail via gmail smtp, i get this error:

/home/user/Mail/ is not a mailbox

I cannot understand why /home/user/Mail plays a role when i am not trying to send mail to a local unix user. This should only be relevant if i tried to send mail to a local unix user, and somehow whatever is inside /home/user/Mail/ is not a valid mbox

The error just makes no sense to me, and i do not know how i can get rid of it so i can finally use mutt to do my everyday email -tasks using gmail´s smtp service.

The config looks like this:

set from            = "gmail_user@gmail.com"
set folder          = "imaps://gmail_user@imap.gmail.com"
set smtp_url        = "smtps://gmail_user@smtp.gmail.com"
#set imap_pass       = "PASSWORD"
#set smtp_pass       = "PASSWORD"

set my_spoolfile    = "INBOX"
set my_mbox         = "Archieves"
set my_record       = "Sent"
set my_postponed    = "Drafts"
set my_spam         = "Junk"
  • Does nobody have an idea?
    – Michael
    Aug 31, 2012 at 14:16

1 Answer 1


Try to set paths to mailboxes.

set folder = "~/log"
set mbox = "~/log/in.mbox"
set record = "~/log/out.mbox"
set postponed = "~/log/postponed.mbox"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.