I can already send emails using mutt, but I want to know the IP of the SMTP server that mutt is using, where should I search for this IP ?

  • Not sure why this was downvoted, I have the exact same problem. My system has mutt installed and running, but I can't find the configs for it anywhere. Google results seem to assume you have a ~/.muttrc file, but that is not the case for me. Nov 16, 2017 at 18:36

3 Answers 3


mutt by default does not use SMTP but sendmail. So it will call your sendmail binary and let it handle the rest. The sendmail binary usually comes from original sendmail or Postfix or whatever MTA you have installed.

  • Where to find the IP of the server that handles the mail after sending? Oct 10, 2016 at 9:31


more information



"Where to find the IP of the server that handles the mail after sending?"

As per zhenech's comment that mutt uses sendmail, I found this page which might (?) help answer that question:

(I'm on CentOS, related to RHEL)


4) Configuration

4.1) By default sendmail configuration files are located at /etc/mail.

4.2) By default sendmail listen on local interface i.e, check using this command:

   # ps -ef | grep -v grep | grep -i sendmail
   root      3595     1  0 00:20 ?        00:00:00 sendmail: accepting connections
   smmsp     3604     1  0 00:20 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

   # netstat -an | grep :25 | grep tcp
   tcp        0      0      *                   LISTEN

4.3) To configure the sendmail to listen to all interface at the host, just comment the following line in “sendmail.mc”:

   # vi /etc/mail/sendmail.mc

     DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl

     dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl

Didn't actually help me though, since none of the files that article reference exist on my system, but maybe it will help you or someone else.

You must log in to answer this question.

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