LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to make mutt to listen to smtp ip without using msmtp package (https://www.linuxquestions.org/questions/linux-server-73/how-to-make-mutt-to-listen-to-smtp-ip-without-using-msmtp-package-4175445077/)

Iyyappan 01-10-2013 10:31 PM

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

bathory 01-12-2013 03:07 AM

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

Iyyappan 01-13-2013 07:33 AM

Thanks. I installed msmtp package and made the configuration with mutt and now mails are firing.


All times are GMT -5. The time now is 07:55 PM.