Sendmail FC2
Paul Howarth
paul at city-fan.org
Wed Nov 3 11:06:11 UTC 2004
Ow Mun Heng wrote:
> Did you add the names of the hosts which you approve to do relaying ?
>
> # cat /etc/mail/access
> # Check the /usr/share/doc/sendmail/README.cf file for a description
> # of the format of this file. (search for access_db in that file)
> # The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
> # package.
> #
> # by default we allow relaying from localhost...
> localhost.localdomain RELAY
> localhost RELAY
> 127.0.0.1 RELAY
> 192.168.1.1/255.255.255.0 RELAY
The access database does not support the use of netmasks like this. Since
localhost and localhost.localdomain should both resolve to 127.0.0.1, this
access database can be reduced to:
127.0.0.1 RELAY
192.168.1 RELAY
Paul.
More information about the fedora-list
mailing list