Re: {Disarmed} Re: telnet on local LAN question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-08-18 at 20:47 -0700, Paul Allen Newell wrote:
> [root@yoyo ~]# netstat -anp | grep ":25"
> tcp        0      0 127.0.0.1:25                0.0.0.0:*
> LISTEN      1510/sendmail: acce 
> [root@yoyo ~]# netstat -anp | grep ":23"
> [root@yoyo ~]#
> +++
> 
> I'm staring at man netstat and the description of local address,
> foreign address, and state ... but not certain what it really means in
> context of your question regarding listening ... I think I am supposed
> to assume that this output means 127.0.0.1:25 is listening to anything
> sent from 0.0.0.0:* ? 
----
I believe that means that you can only connect to port 25 from localhost
and not any other computer.

It's been many years since I used sendmail (I heavily recommend postfix)
but I think if you edit /etc/mail/sendmail.mc and find the section...

dnl # The following causes sendmail to only listen on the IPv4 loopback
address
dnl # 127.0.0.1 and not on any other network devices. Remove the
loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

and chnage the last line to
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

and restart sendmail to enable it to listen on all your network
interfaces.

Note that you then have to edit /etc/mail/access to control who can
'relay' email (and restart sendmail again).

also note that generally running your own smtp server requires you to
have a dns server so you have an mx record so it becomes obvious which
server receives e-mail for your domain.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux