Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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"
share|improve this question
    
Does nobody have an idea? –  Michael Aug 31 '12 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"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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