Dear Javed no response from any one after so many hours! apparently you asked the wrong group. seven years back, it would have been the right group though. but now a days this group is only interested in linux T-Shirts and voting for bangladesh and so on.
Having said that, here is the solution to your problem. on the box that is connected to the outside world, use the mailertable feature. there should be a mailertable.mc file where the sendmail.cf is, which you need to edit (or create if it doesn't exist). the format of the file is like below .yourdomain.com esmtp:[1.2.3.4] yourdomain.com esmtp:[1.2.3.4] if you are using a DNS name, you don't need the braces, but if you are using IP, you need the braces. This will tell the sendmail that any mail destined to the domain of the first column should be delivered to the box having the IP (which is your internal machine's IP). do not enter your proper domain name in the local-host-names file -- since this box will not act as your local mailer. on the box that is holding the actual mail boxes, do the regular configuration. in the sendmail.cf file, find the line starting with DS, and right after DS, put the name of the original box. this is like DSmyRelayBox.local or if my memory serves me right, it would be DS[1.2.3.4] where 1.2.3.4 is your internal interface IP address (you can put the external as well, but why force the data packets one more hop and add a little bit more load on the firewall?). whatever. After making all the changes, relbuild and reload the configurations and restart sendmail. That should take care of it. All I have shown here is how to do the relaying job, other configuration like telling the main box to accept mail or configuring the mail scanner with virus and spam are beyond the scope at the moment. But if you need help, google around a bit -- there are LOADS of information flying around. Hope this helps. happy linuxing Quoting "Md. Javed Omar" <[EMAIL PROTECTED]>: > > Dear Group, > > I need a solution. Please help me someone or provide me some link. > > Suppose there are two sendmail server. One with real IP address and > installed sendmail clamav, spamassassin etc. Mail will be checked > here for virus and spam and next it will go the second server for > keeping users mail in their account. > > My question is what to configure in first server so that mail will > go to second server after checking virus and spam through calmav and > spamassain. > > I am using sendmail. > > Thanks in advance. > > javed. > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > [Non-text portions of this message have been removed] > > ------------------------------------------------- This message sent through Virus Free Email http://www.vfemail.net
