Operating System - HP-UX
1833847 Members
2193 Online
110063 Solutions
New Discussion

sendmail 8.9.3 access file format

 
kholikt
Super Advisor

sendmail 8.9.3 access file format

I have installed the latest sendmail patch. Currently my sendmail is 8.9.3.

I have followed the following step to setup the access file but the ANY/ALL doesn't work well. Any servers can still relay mail unless I specified their IP with the REJECT in the access file.

1. run gen_cf. copy sendmail.cf to the /etc/mail
2. touch /etc/mail/access
3. Inside the access file I have specified the following entries

locahost RELAY
host1 RELAY
ALL REJECT
ANY REJECT

4. makemap dbm /etc/mail/access < /etc/mail/access

5. restart sendmail
abc