Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I try to run Mutt in cygwin I get the following errors:

Error in /home/JJR/.muttrc, line 4: smtp_url: unknown variable
Error in /home/JJR/.muttrc, line 5: smtp_pass: unknown variable
Illegal instruction (core dumped)

And then I observe a stackdump file in my home folder. How can I get Mutt working with Cygwin successfully?

I tried visiting #mutt at which had dozens of people but no good answers, now including these two other channels which were surprisingly empty earlier: #cygwinx and #xwin

Oh, and my .muttrc was placed in /home, and not in /.mutt. I plugged in .muttrc in /.mutt and no error, however, composing and sending messages does not work. I modified the ~/.muttrc before evoking mutt.

Using: Windows XP SP3, Cygwin 1.7.9-1, Mutt 1.5.21

share|improve this question
Could you edit your question to include some info about what versions of Windows, Cygwin, and Mutt you're using? There are lots of tutorials on the internet on how to set up Mutt on Windows, so more information about your setup is necessary for anyone to be able to help you. – nhinkle Jun 23 '11 at 4:01
Windose XP SP3, Cygwin 1.7.9-1, Mutt 1.5.21 – Innstanbul Jun 23 '11 at 4:14
@Innstanbul I don't know the answer to your question; I'm just trying to help you improve your question so that it's more likely to get a good answer by somebody who does know how to help. You may also want to take a look at How to Ask for more details about creating a good question that will attract answers. – nhinkle Jun 23 '11 at 4:25
Where did you get mutt? From Cygwin's setup.exe? It may not have been compiled with SMTP support. You can execute mutt -v to see the options it was compiled with. – garyjohn Jun 23 '11 at 5:14
The Cygwin contributor for mutt has been requested to turn SMTP support on: – haba713 Jun 27 '14 at 11:18

I believe the Mutt with cygwin is configured and built without SMTP support. If you do

mutt -v

you'll see a list of configuration options used at build time.

Here's the output from my mutt,

$ mutt -v
Mutt 1.5.20 (2009-12-10)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: CYGWIN_NT-6.1-WOW64 1.7.9(0.237/5/3) (i686)
ncurses: ncurses 5.7.20091227 (compiled with 5.7)
libiconv: 1.13
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Feb 26 2009 02:58:00)
Compile options:

As you can see, it has -USE_SMTP which means there's no inbuilt SMTP support.

You should instead, install an MTA (mail transfer agent) and use mutt's inbuilt sendmail support.

I use the Cygwin ssmtp package. After installing ssmtp, run ssmtp-config to configure it to talk to your ISP's mail relay and remove / comment out the smtp_* stuff from your .muttrc. You should then be good to go.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .