[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Sendmail Setup

I am running RedHat 5.0. I was wonding if someone could help me with setting up sendmail as a POP3 server.  I am new to the setup of mail servers and web servers.
0
davidwag
Asked:
davidwag
  • 3
  • 3
1 Solution
 
chytraceCommented:
Hi,

  sendmail itself has nothing to do with POP3 mail access. Sendmail should be configured in a usual for handling incoming and outgoing mail messages and for local delivering. For providing POP3 at your side just check if you have POP3 entries enabled in the files:

/etc/inetd.conf
/etc/services
/etc/hosts.{allow,deny}

and in.pop3d server installed.

Hope this helps

             Radovan

0
 
davidwagAuthor Commented:
What should I put in hosts.{allow,deny}?
Currently both are empty
0
 
chytraceCommented:
In the case you want to make some access restrictions you can specify which services are allowed(denied) for which host or domain or IP address. For example:

----------------------- hosts.deny ----------------------------
# hosts.deny    This file describes the names of the hosts
#               which are
#               *not* allowed to use the local INET services,
#               as decided
#               by the '/usr/sbin/tcpd' server.
#
# Version:      @(#)/etc/hosts.deny     1.00    05/28/93
#
# Author:       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
ALL: very.bad.domain :DENY
#ALL:ALL
# End of hosts.deny.

------------------- hosts.allow -----------------------------

# hosts.allow   This file describes the names of the hosts
#               which are
#               allowed to use the local INET services,
#               as decided by
#               the '/usr/sbin/tcpd' server.
#
# Version:      @(#)/etc/hosts.allow    1.00    05/28/93
#
# Author:       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
ALL: LOCAL :ALLOW
# My network xxx.yyy.zzz.0
ALL: xxx.yyy.zzz. :ALLOW
ALL: .my.domain :ALLOW
# Explicitly allowed the following set of INET services
in.ftpd in.talkd in.fingerd in.telnetd: .friend.domain :ALLOW
in.ftpd in.telnetd in.rlogind : host.friend.domain :ALLOW

# Friend IP network address
in.ftpd in.talkd in.fingerd in.telnetd: 111.222.333. :ALLOW

# Everything else is not allowed
ALL:ALL:DENY
# End of hosts.allow.

More info man tcpd, hosts_access(5), hosts_options(5).

Regards

               Radovan

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
davidwagAuthor Commented:
Thank alot.
0
 
davidwagAuthor Commented:
One extra comment I just thought of...Do I hurt anything by leaving these files blank?
TIA
0
 
chytraceCommented:
No, by default  these files are empty. You should use TCP wrappers just in the case your system policy needs to provide access resctrictions for outside users.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now