LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hello, new and already have a question (https://www.linuxquestions.org/questions/linux-newbie-8/hello-new-and-already-have-a-question-4175452989/)

jillUnity99 03-06-2013 11:43 AM

Hello, new and already have a question
 
Hi All,
I'm new to Linux and I'm trying to setup sendmail so that I can use it to send and receive emails from a remote client.

I'm editing the sendmail.mc file and I need to include the subnet of this Linux box (actually a virtual machine) in the access database, used by sendmail, in order to ensure that it will accept connections from outside the localhost. How do I find out the subnet address of this virtual machine? Is there a Linux command that will give me this information?

Thanks!
Jill

acid_kewpie 03-06-2013 02:21 PM

"ifconfig -a" will tell you, but I don't think you need to. Normally in sendmail you just comment out the line that says only listen on localhost.

Please use useful thread titles in future, thanks.

jefro 03-06-2013 03:49 PM

Some distros might make you use sudo command then /sbin/ifconfig to tell you the IP info.


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