vikas jain rearranged electrons thusly:

> I have a linux box in my lab. I want that the my lab users should telnet to 
> this linux box to check their mails instead of doing telnet to the 
> department machine. I can forward their mails to this Linux machine by 
> making a .forward , but when my user sends a mail from this linux machine to 
> outside world through the department server, then it again comes to the same 
> linux machine, because of the .forward.

Why do you want a .forward loop like this?  Instead, use the mailertable to
automatically forward all incoming mail to the linux box (see
http://www.sendmail.org/faq/ please)

Or, simply use fetchmail on the linux box to pull down mail from the department
machine and set the domain properly in pine (instead of
somehostname.yourdomainname.com make the sender domain yourdomainname.com in
the pine settings)

For outgoing mails, if you use NAT / ipmasq on that network, so that the linux
box shows a public IP to the world, just have them send outgoing mails through
that linux box directly.

        --suresh

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin

----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to