Hi Winan,
I was able to get it to work on my network.
You probably have a configuration error or conflict.
Try commenting out the following:
# localhost.localdomain RELAY
# localhost RELAY
# 127.0.0.1 RELAY
On my system I also had to comment out:
# smvfp.com RELAY
This left only local IP addresses in the access db which could be set either to RELAY or REJECT. I was able to block email to the www with the following:
192.168.1.xxx 550 Your email has been rejected by sendmail for relaying to the www. Check with your System Admin.
If you need to fine tune your setting, check out the README files in /usr/share/doc/sendmail, especially README.cf
Regards,
LelandJ