Configuring a linux mail server
You can configure your Linux mail server such as sendmail. Just follow the process here I given below-
At first try to setting the line which starts with "DS" to the name of your windows exchange server. From this-
Code- DS to Code- [email protected]
Now you have to run this command, then you will see the change of outputs like this-
localhost:/:$ grep ^DS /etc/sendmail.cf
DShostname.domain.com
localhost:/:$
In this step, you must have to try a single mail command like this-
mailx -s "subject" [email protected] << /dev/null
 Now you are done.
For other way to resolved you can also visit the site here I suggest you.
serverfault.com/…/linux-clients-for-exchange-email-and-calendar
nixcraft.com/mail-servers/13144-configuring-linux-sendmail-server-
http://www.walkernews.net/2010/05/18/how-to-configure-sendmail-to-relay-email-to-exchange-server/.
Thanks a lot.
Configuring a linux mail server
Â
Some of the well-established pieces of Microsoft technology that most enterprises use are Microsoft Exchange Server, and Microsoft Office Outlook. It's often a bit of a project to migrate away from them and the scope of the migration is what makes it difficult.
To that end, some organizations choose to take a gradual approach. Start by migrating the clients, leave the server as-is for the time being and then migrate the server once people are used to the new front-end. This requires some understanding of how to get specific Linux mail clients to talk to Exchange, as each one poses its own particular issues.