Dear ! Sang Sir,
Thanks for replying me .Plz read my problem again.
I know /etc/mail/access .I cannot write all word domain name in it .
I do not want to send mail to any other Domain beside rahul.com and kumar.com.
Or I want mailing between above domains only.
my domain name is msp.net
If any user want to sendmail to rediffmail or yahoo any other domain .it must be rejected.
------------------------------------------------------------------------
Quote:
Originally Posted by sang_froid
You can use /etc/mail/access file for the purpose.
Say if you don't want emails to be sent to evildomain.org, then have like this in /etc/mail/access
evildomain.org REJECT
Then simply restart sendmail. It should work
|