LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2016, 06:31 AM   #1
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Rep: Reputation: 18
mutt configuration


Hi,

I have configured mutt to google smtp on centos 6.8. the configuration is below is placed in the .muttrc file

set from = "abc@gmail.com"
set realname = "Francis"
set smtp_url = "smtps://abc@gmail.com@smtp.gmail.com:465/"
#set smtp_url = "smtp://abc@gmail.com@smtp.gmail.com:587/"
set smtp_pass = "xyz@320"
set certificate_file=~/.mutt/certificates
set ssl_starttls=yes
set ssl_force_tls=yes


When i try to send email using the below command the email is sent but i dont receive it

mutt -s 'Uptime Report' 'ffernandes@airarabia.com' < /home/netline/LSY-eMail-TEST.txt

whereas when i try to send via mutt command in the interactive way i receive the email.

Can someone help me figure out this issue
 
Old 10-09-2016, 07:35 PM   #2
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
Can you exclude that the mail-text (LSY-eMail-TEST.txt) contains headers which mess up the procedure?
 
Old 10-09-2016, 08:54 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,349
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
Smtp is for sending mail. To receive mail, you have to configuring a mail fetching application. There are a number, but the easiest to set up is like fetchmail.

Here's a good tutorial: http://www.calmar.ws/mutt/

My favorite Mutt tutorial seems to have disappeared.

I did a podcast about my learning how to use Mutt for Hacker Public Radio. You might find it useful. http://hackerpublicradio.org/eps.php?id=1727

Last edited by frankbell; 10-09-2016 at 09:01 PM.
 
Old 10-09-2016, 11:42 PM   #4
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 234

Original Poster
Rep: Reputation: 18
Hi,

I do not need to receive any email, my intention is just to send email via gmail smtp server without any interaction.
 
Old 10-10-2016, 01:01 AM   #5
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by fernfrancis View Post
Hi,

I do not need to receive any email, my intention is just to send email via gmail smtp server without any interaction.
You did explain, above, that you do not receive mail. This implies, that you wish to receive mail. PSE reformulate your actual question. Me, at least, I am confused. What do you want, and what can we do for you?
 
Old 10-10-2016, 11:53 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
could this be relevant:
https://wiki.archlinux.org/index.php...gin_with_GMail
 
Old 10-10-2016, 12:23 PM   #7
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Quote:
Originally Posted by Michael Uplawski View Post
You did explain, above, that you do not receive mail. This implies, that you wish to receive mail. PSE reformulate your actual question. Me, at least, I am confused. What do you want, and what can we do for you?
I think he meant does not receive it in gmail after sending mail using mutt!
 
Old 10-10-2016, 01:46 PM   #8
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by FredGSanford View Post
I think he meant does not receive it in gmail after sending mail using mutt!
Okay. A GMail != Mail != WebMail problem.
 
  


Reply



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
mutt configuration [SOLVED] dansimon Linux - Software 3 10-18-2013 03:29 AM
mutt - configuration hasanatizaz Linux - Newbie 2 12-19-2008 11:43 PM
Mutt client configuration syntacticalerror Linux - Software 3 10-17-2008 09:38 AM
Mutt Configuration schmmd Linux - Software 0 08-14-2005 08:01 PM
Mail configuration for Mutt Phil Healey Linux - General 2 07-15-2003 01:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 AM.

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
Open Source Consulting | Domain Registration