Solved

Sendmail Setup

Posted on 1998-07-12
6
248 Views
Last Modified: 2013-12-15
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
Comment
Question by:davidwag
  • 3
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
chytrace earned 100 total points
Comment Utility
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
 

Author Comment

by:davidwag
Comment Utility
What should I put in hosts.{allow,deny}?
Currently both are empty
0
 
LVL 1

Expert Comment

by:chytrace
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:davidwag
Comment Utility
Thank alot.
0
 

Author Comment

by:davidwag
Comment Utility
One extra comment I just thought of...Do I hurt anything by leaving these files blank?
TIA
0
 
LVL 1

Expert Comment

by:chytrace
Comment Utility
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now