LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-10-2013, 10:31 PM   #1
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 229

Rep: Reputation: 4
How to make mutt to listen to smtp ip without using msmtp package


HI,
I have mutt 1.5 version installed in RHEL 5.8 64bit server. I have an smtp server. I am able to send mail from the mutt installed server by using telnet command
telnet smtp ip port.

But how to make mutt to listen to this smtp IP to send mails. In other servers I have installed msmtp installed, so I used to mention Smtp IP there in .smtprc file and mail used to fire. But in this machine there is no msmtp package installed. I need to make mutt to send mails.

I have another server in which mutt is sending mails without msmtp package installed, but I am not able to figure out where they have mentioned to make mutt to listen to smtp IP.

Note: Sendmail is stopped in both the servers. The SMTP IP is also a Qmail Server with smtp port 25
I am missing something here, and I need someone's help in figuring it out...

Thanks

Last edited by Iyyappan; 01-10-2013 at 10:33 PM.
 
Old 01-12-2013, 03:07 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Hi,

First of all mutt is an email client, so it doesn't listen to any port. It just connects to a smtp server to send out mail.
Now if you want to configure mutt to use a remote smtp server you need to use smtp_url in /etc/muttrc or in ~/.muttrc.
See this example for more options

Regards
 
Old 01-13-2013, 07:33 AM   #3
Iyyappan
Member
 
Registered: Dec 2008
Location: Chennai, India
Distribution: CentOS 5, SLES 11
Posts: 229

Original Poster
Rep: Reputation: 4
Thanks. I installed msmtp package and made the configuration with mutt and now mails are firing.
 
  


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] Connection Refused error while sending mail using mutt and msmtp Iyyappan Linux - Server 2 06-30-2012 04:49 AM
Configuration files for : MUTT + GMAIL + MSMTP + IMAP + FETCHMAIL + SENDMAIL ? frenchn00b Linux - Software 1 06-03-2010 03:43 PM
mutt and msmtp not emailing mahmoud Linux - Software 2 12-29-2008 08:29 AM
cmdline: Sending email without mutt and with msmtp something? frenchn00b Linux - Newbie 3 03-02-2008 01:11 AM
Msmtp+Mutt password prompt pete1234 Linux - General 0 07-17-2006 10:24 AM


All times are GMT -5. The time now is 03:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration