sendmail domain restriction.
Dear ! Friends :),
I am using sendmail.I want to apply sendmail restriction so that nobody cannot send any mail to other domain.my domain name is msp.net e.g. 1. rahul.com 2.kumar.com I want to send mails only above two domain only.if any user want to send mail to other domain . it should be not reach. Can anyone guide to me ? what should i change in sendmail.mc or in my firewall ? |
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 Quote:
|
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:
|
All times are GMT -5. The time now is 12:32 AM. |