<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>Mail coming from your ISP for domain <a href="http://exampl1.com">exampl1.com</a>
 isn't rejected? Can it<br>be that you fetchmail the mail?<br>I ask because I bet you did not configure <a href="http://example1.com">example1.com</a> to be in class{w}<br>(means treated to be local). Do so by adding that domain to
<br>/etc/mail/local-host-names. That is a plaintext flat file. Sendmail<br>daemon restart is necessary.</blockquote><div><br>echo '$=w' | /usr/lib/sendmail -bt<br>ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)<br>
Enter <ruleset> <address><br>> cluster1<br>[<a href="http://192.168.1.125">192.168.1.125</a>]<br>localhost.localdomain<br>localhost<br><a href="http://example1.com">example1.com</a><br><br>the <a href="http://example1.com">
example1.com</a> is there. <br><br>The logs (/var/log/maillog) shows<br><br>Jul 18 15:38:00 cluster1 sendmail[6459]: k6IA80Op006455: to=<<a href="mailto:ank@example1.com">ank@example1.com</a>>, ctladdr=<<a href="mailto:ank@example1.com">
ank@example1.com</a>> (512/513), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30776, dsn=2.0.0, stat=Sent<br><br>But the user ank is not able to receive the mails.<br><br>/etc/mail/local-host-names contains these entries
<br><br>localhost<br>localhost.localdomain<br><a href="http://example1.com">example1.com</a><br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Second problem I am facing is that how do I configured sendmail to the<br>> send<br>> the credentials of each user to the ISP account. For example if user1<br>> wants<br>> to send the mail to the Internet the sendmail server should connect to
<br>> ther<br>> ISP server with this user credentails (username and password ) and if<br>> user2<br>> wants to send the mail to ther Internet then the sendmail should<br>> connect to<br>> the ISP server with the user2 credentails ( username and password).
<br><br><a href="http://www.sendmail.org/~ca/email/sm-812.html#812AUTH">http://www.sendmail.org/~ca/email/sm-812.html#812AUTH</a><br><br>It isn't possible to define multiple users for a single relay host target.<br>(With Postfix you would require release 
2.3)<br><br>For different relay selections based on the sender there is<br><br><a href="http://anfi.homeunix.net/sendmail/smarttab.html">http://anfi.homeunix.net/sendmail/smarttab.html</a><br><br>I will go through it.</blockquote>
<div><br><br>Thanks & Regards<br><br>Ankush Grover <br></div><br><div><br><br> </div><br></div><br><br>