<div>hey friends,</div>
<div> </div>
<div> I have installed sendmail or it would rather say it comes default with the centos. I am using Centos4.0 and I am trying to configure sendmail with virtual users.</div>
<div> </div>
<div> I have created few users for my domain. My internal domain (<a href="http://example.com">example.com</a>) is different from my isp domain (<a href="http://example1.com">example1.com</a>). </div>
<div> </div>
<div>The problem I am facing is that if the <a href="mailto:user1@example1.com">user1@example1.com</a> sends the mail to the <a href="mailto:user2@example1.com">user2@example1.com</a> then the mails should not go to the ISP rather the server running sendmail should send it to the mailbox of the 
<a href="mailto:user2@example1.com">user2@example1.com</a> but rather it is sending it to the ISP account and from there it is getting redirected to ther user2 mailbox.</div>
<div> </div>
<div>I have configured the virtualusertable like this</div>
<div> </div>
<div><a href="mailto:user1@example1.com">user1@example1.com</a>        user1(local account)</div>
<div><a href="mailto:user2@example.com">user2@example.com</a>          user2(local account)</div>
<div> </div>
<div>makemap hash virtualusertable.db < virtualusertable</div>
<div> </div>
<div>service sendmail reload/restart.</div>
<div> </div>
<div>Now if the mail for the user2 from the user1 the sendmail should forward it to the user2 mailbox but this is not happening rather sendmail is forwarding it to the ISP server and from there it is gettting move to the user2 mailbox.
</div>
<div> </div>
<div>Second problem I am facing is that how do I configured sendmail to the send the credentials of each user to the ISP account. For example if user1 wants to send the mail to the Internet the sendmail server should connect to ther ISP server with this user credentails (username and password ) and if user2 wants to send the mail to ther Internet then the sendmail should connect to the ISP server with the user2 credentails ( username and password).
</div>
<div> </div>
<div>I have about 25 user accounts and I using sendmail 8.1.13 version.</div>
<div> </div>
<div>Please let me know if you need any further inputs.</div>
<div> </div>
<div>Thanks & Regards</div>
<div> </div>
<div>Ankush Grover</div>
<div> </div>
<div> </div>
<div> </div>