sendmail relay again
Carl Riches
riches at ms.washington.edu
Wed Mar 10 12:26:02 UTC 2004
On Wed, 10 Mar 2004, kluu te wrote:
> I didnt get any proper answer on my earlier posting, so I'll try again.
> What do people do for machines on the local network to use the sendmail program on the linux server?
> I have applied hostname or/and IP RELAY
> in the /etc/mail/access file and rebuild the database.
> restarted sendmail and it didnt work.
> Any ideas?
There are lots of things to do, depending on how you want your mail server
to behave.
First, make sure that you have set up the TCP wrappers access control
files (/etc/hosts.allow and /etc/hosts.deny) to allow sendmail to receive
mail from the other hosts on your network. Sendmail on Red Hat Linux is
configured to the the TCP wrappers libraries for access control, so you
must do this.
Second, you must decide on the other capabilities and parameters you want
to use for sendmail rule processing and set up an m4 macro file to
generate the correct sendmail.cf file (and the same for submit.cf if you
are running a Red Hat Linux newer than 7.3). Maybe you are happy with the
default values, but you need to do this if you want to change the values.
A copy of the O'Reilly sendmail book by Bryan Costales is _very_ handy for
this.
Finally, you need to test the configuration from your server and from the
clients. The sendmail book is a good reference for this as well.
Carl
Carl G. Riches
Software Engineer
Department of Mathematics
Box 354350 voice: 206-543-5082 or 206-616-3636
University of Washington fax: 206-543-0397
Seattle, WA 98195-4350 internet: riches at ms.washington.edu
More information about the redhat-list
mailing list