[CentOS] help with sendmail closing relay

Fri Jun 4 15:26:37 UTC 2010
Jerry Geis <geisj at pagestation.com>

lists-centos wrote:
> Did you run the tests at:
>
>   <http://www.abuse.net/relay.html>
>
> against your server? If so, what test did it fail at?
>
> What's in your /var/mail/access file with a "RELAY" tag?
>
>   
the test shows:


 Mail relay testing

Connecting to 24.123.23.170 for anonymous test ...

<<< 220 unifiedpaging.messagenetsystems.com ESMTP Sendmail 
8.13.1/8.13.1; Fri, 4 Jun 2010 11:20:36 -0400
 >>> HELO www.abuse.net
<<< 250 unifiedpaging.messagenetsystems.com Hello gateway [192.168.1.1], 
pleased to meet you


     Relay test 1

 >>> RSET
<<< 250 2.0.0 Reset state
 >>> MAIL FROM:<spamtest at abuse.net>
<<< 250 2.1.0 <spamtest at abuse.net>... Sender ok
 >>> RCPT TO:<securitytest at abuse.net>
<<< 250 2.1.5 <securitytest at abuse.net>... Recipient ok


     Relay test result

Hmmn, at first glance, host appeared to accept a message for relay.


my access files consists of:

# 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.2                     RELAY
192.168.1.8                     RELAY
192.168.1.38                    RELAY
192.168.1.50                    RELAY
192.168.1.59                    RELAY
192.168.1.60                    RELAY
192.168.1.124                   RELAY
192.168.1.134                   RELAY
192.168.1.135                   RELAY
192.168.1.152                   RELAY
192.168.1.173                   RELAY
192.168.1.253                   RELAY
192.168.1.254                   RELAY
24.123.23.170                   RELAY
24.123.23.171                   RELAY
pagestation.com                 RELAY
visualpaging.com                RELAY
messagenetsystems.com           RELAY
192.168.1                       RELAY
tw.yahoo.com                    REJECT
hinet.net                       REJECT
pandodo.org                     REJECT
beetara.org                     REJECT
beautiful-products.com          REJECT
boldselection.com               REJECT
email.womanwithin.com           REJECT
healthdesigns.com               REJECT
ikitchen.com                    REJECT
shiptoner.org                   REJECT
enterprise-alerts.com           REJECT
jetsgloves.com                  REJECT
.ru                             REJECT
.su                             REJECT
.com                            REJECT
.net                            REJECT