Sendmail - Accept email for domain from 1 host

Hello,

I was wondering if the following setup is possible with sendmail:

say we host domainx.com - and we only want people from the hostname sender.com to be able to send to that domain. However, all the other domains on the server must accept email from every hostname.

So basically, can does anyone know a way of setting up sendmail so that only someone at the pc whos host name is sender.com can send to an email address at domainx.com?

I know its possible to setup sendmail server-wide to accept email only from trusted host names, however I was wondering if it is possible to do this on a domain-level for sendmail to accept email to a certain domain from only a certain hostname.

Thanks.

 

 

 

 

Top