Originally Posted by lakshminarayanan
I am required to configure sendmail to be able to send emails to only two domains. Can some one help me with this. Thank you.
Ok...so since this is part of your job, can you tell us what you have done/tried/researched on your own to get your job done??? You don't tell us anything about your Linux environment, or what you're really trying to accomplish, and mention sendmail, but don't tell us how it's being used. Without details, there isn't alot we can tell you.
If you did a small bit of research, you'd find a good bit of documentation on how to accomplish this...and there are many ways to do it, too, depending on what you have to work with. The simplest would be to list the domains you want to relay in the /etc/mail/relay-domains file. Anything listed in this file will be accepted for relaying; anything else, will not.
We are always happy to help, but you will have to show effort of your own as well. You have been here for 5 years now
....you should be able to do basic research of your own at this point