[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Server installation
- From: John Summerfield <summer os2 ami com au>
- To: seawolf-list redhat com
- Subject: Re: Server installation
- Date: Fri, 01 Jun 2001 08:10:39 +0800
> On 2001-05-31, Kalevi Nyman wrote:
>
> >Sorry Michael Schwendt !
> >
> >The reconfig of sendmail.cf did not cure the problem.
>
> Not so impatient, please. Based on your minimal mail I've had to
> guess whether you'd wanted to allow local mail only or incoming
> mail.
>
> Did you configure /etc/hosts.allow appropriately? - I bet you didn't.
> Did you run "service sendmail restart"? - I bet you didn't.
>
> >Senmail does not establish a connection to a calling machine.
>
> # /etc/hosts.allow
> sendmail: allow
>
I have a workstation install of RHL 7.1.
The two files are empty. This, apparently, os the default condition.
According to the documentation, ACCESS CONTROL FILES
The access control software consults two files. The search stops
at the first
match:
· Access will be granted when a (daemon,client) pair
matches an entry in
the /etc/hosts.allow file.
· Otherwise, access will be denied when a (daemon,client)
pair matches an
entry in the /etc/hosts.deny file.
· Otherwise, access will be granted.
A non-existing access control file is treated as if it were
an empty file.
Thus, access control can be turned off by providing no access
control files.
This the default condition is no control.
Now we go back to my original statememt. I modified /etc/sendmail.cf
(I normally use the m4 macroes. but the changes I wanted to make are
simple) and so I didn't bother.
Here are the total changes:
[summer possum summer]$ diff -B -b emu.cf /etc/sendmail.cf -u
--- emu.cf Fri Jun 1 08:04:13 2001
+++ /etc/sendmail.cf Wed May 23 07:19:25 2001
@@ -90,7 +90,7 @@
CP.
# "Smart" relay host (may be null)
-DS
+DSmail.os2.ami.com.au
# operators that cannot be in local usernames (i.e., network
indicators)
@@ -134,7 +134,7 @@
CEroot
# who I masquerade as (null for no masquerading) (see also $=M)
-DM
+DMos2.ami.com.au
# my name for error messages
DnMAILER-DAEMON
@@ -256,7 +256,7 @@
# SMTP daemon options
-O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
+#O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
# SMTP client options
#O ClientPortOptions=Address=0.0.0.0
[summer possum summer]$
The file "emu.cf" is from my host emu; it has the unaltered sendmail.cf
The other is on my workstation and accepts connections from the network.
The hosts.* files on both systems have no significant lines - they are
as installed.
--
Cheers
John Summerfield
Microsoft's most solid OS: http://www.geocities.com/rcwoolley/
Note: mail delivered to me is deemed to be intended for me, for my
disposition.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]