LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2014, 07:48 AM   #1
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

Rep: Reputation: Disabled
Unable to configure Mutt email client


Hello,

Code:
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
I install Mutt with command as "yum install mutt" thereafter I configured it as following:
Code:
vi .muttrc

set imap_user = "userName@gmail.com"
set imap_pass = "password"

set smtp_url = "smtp://userName@smtp.gmail.com:587/"
set smtp_pass = "password"

set from = "userName@gmail.com"
set realname = "Sender Name"

set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"

set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates

set move = no
when I run command as mutt then login failed message appears and when I use the following command:
Code:
echo "this is an email" | mutt -s "test Subject" mymail@yahoo.com
It displays:
Code:
Segmentation fault (core dumped)
Kindly advise

Thanks in anticipation
 
Old 08-08-2014, 09:52 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
I have no idea why you segfaulted, but I have been playing with Mutt myself recently. So far, I've got it working with two accounts on Mageia and with one account on Slackware.

My approach was first to make sure Mutt could receive mail before I tried to send mail. I ended up using msmtp as an MTA to send mail, even though Mutt has SMTP capabilities. Mutt's internal SMTP did not work and play nicely with me, but that was probably me.

I relied primarily on these two websites to get Mutt working:

http://docs.huihoo.com/gentoo/resour...e-to-mutt.html (Note that the references to "emerge" refer to the Gentoo package manager, which is called "emerge."

http://www.calmar.ws/mutt/

This website will tell you how to turn on debugging in Mutt; that should help in figuring out what's going wrong: http://dev.mutt.org/trac/wiki/DebugTips

Last edited by frankbell; 08-08-2014 at 09:57 PM.
 
Old 08-09-2014, 10:06 AM   #3
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

Original Poster
Rep: Reputation: Disabled
Hello,

Thanks for your favorable reply.

I checked http://docs.huihoo.com/gentoo/resour...e-to-mutt.html that says to install many software to work with Mutt. presently our dedicated server running centos and qmail as incoming and outgoing server. please let me sure if I install all software on the server that are listed in aforementioned link then nothing will be wrong with qmail settings.

Thanks again & best regards
 
Old 08-10-2014, 03:50 AM   #4
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

Original Poster
Rep: Reputation: Disabled
Code:
# mutt -v
Mutt 1.5.22 (2013-10-16)
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: Linux 2.6.32-431.el6.x86_64 (x86_64)
ncurses: ncurses 5.7.20090207 (compiled with 5.7)

Compiler:
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) 

Configure options: '--with-ssl' '--with-sasl' '--enable-imap' '--enable-smtp' '--enable-debug'

Compilation CFLAGS: -Wall -pedantic -Wno-long-long -g -O2

Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
-USE_POP  +USE_IMAP  +USE_SMTP  
+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  -USE_GSS  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  -USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.
 
Old 08-10-2014, 10:15 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
SMTP capability and Debug mode are both present.

And your question is?
 
Old 08-11-2014, 04:07 AM   #6
Raakh5
Member
 
Registered: Mar 2012
Posts: 167

Original Poster
Rep: Reputation: Disabled
Hello,

I tried for the last 2 days but was unable to fix it. Today I just gone to the gmail.com settings and there is an option of "less security" to connect mobile and other devices. I checked this and mutt start working fine without any problem

Thanks from the bottom of my heart

Best regards
 
Old 08-11-2014, 09:58 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
Glad you got it working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to configure ipa-client in RHEL6 environment pix9 Linux - Server 1 03-08-2013 03:13 AM
Unable to configure in email client (outlook 2007) musammil123 Linux - Server 1 05-28-2011 10:24 AM
how to configure mutt mail client for mail server other that gmail golden_boy615 Linux - General 16 02-28-2011 09:48 AM
how to configure ms email client in fedora niyaz Linux - General 1 02-28-2009 01:33 PM
Pipe'ing the ouput of 'cat' into 'mutt' (email) losses newlines when email received helptonewbie Linux - Newbie 2 08-28-2008 04:16 AM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration