I would like to do two things.

1. I would like to set up one UNIX machine (running OSR5) to connect to my ISP and receive mail for all users from the POP3 server and forward mail from the users.

2. Not so important - I would like to configure the Unix server to act as a proxy server for general internet access (WWW, FTP, etc) for  Windows clients.

If there is anyone who has a step by step guide to doing this I would be most grateful.

Thanks, in advance
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jamie040297Author Commented:
Edited text of question
david cawkwellCommented:
1. setup serial port tty2A (com2)
2. set up /usr/lib/uucp/Devices file
3. set up /usr/lib/uucp/Systems file
4. test with cu -d9 (ISP name from Systems file)
5. do the same with slattach -m 296 -d (ISP name) (your IP) (gateway IP) (net mask)
6. alter routes
7. ping gateway to check it works (I'm having problems here as the link comes up bug I can't ping the gateway )
8  if this works add domain name server to resolv.conf file
9. add mail server to mail setup
10. done
jamie040297Author Commented:
OK, thanks,

1. Can do
2. Can do
3. Can do
4. Can do
5. Is this using SLIP? Can this be dialup on demand? (eg when a client PC uses the UNIX server as a proxy)
6. Should be able to do
7. OK, pretty simple this one
8. Huh? (It may be worth mentioning that the UNIX box is not currently using DNS)
9. How? (The mail is currently using MMDF)
10. I wish...

I will try to do as much of your suggestion as possible prior to your reply. I was, however, under the impression that a PPP connection would have been better.

Thank in advance

PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

david cawkwellCommented:
5.  Dial up on demand. SCO cannot do this. If you want to do this use NT and spaghetti or  NT Microsoft proxy, Or Linux and Masquerading.
8. You will need to add a domain name server address to resolv.conf to get mail working otherwise mail does't know where to send things. Ftp and www need to resolv ip addresses
9. Switch to sendmail use the gui interface to set up sendmail. It should be just a matter of click the box which says machine is connect to the internet.

I would like to know if you got your link up and running as my slip connection refuses to ping the ISP gateway address.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jamie040297Author Commented:
5. I can get ppp to dialup when I ping my gateway... (I can't get it to drop the line yet but I am working on it).
Theoretically, if I setup DNS on my SCO box and tell my W95 PC to connect to it rather than to my ISP then it should route the IP thru to the ISP (PPP on demand).
8. My biggest problems now aree getting the box to act as a primary DNS and getting MMDF to work with the internet. (I think that the second will follow the first). I don't desperately want to switch to sendmail as we are already using MMDF as our mail transport within our intranet (ISDN routers, etc)

david cawkwellCommented:
You won't be able to get it to drop the line. The only way is to
kill the slattach process.
Yes you can setup DNS on SCO and get your win95 pc to use it but the SCO still has to go out onto the net to get all the address it doesn't know. So you might as well set the resolv.conf and forget about setting your machine up as a domain name server.
jamie040297Author Commented:
OK, I can sort something out to kill the pppattach (maybe run something to monitor traffic on the route and kill the process if stopped for a set time???)

Does resolve.conf then tell the SCO box to look for IP addresses that it cannot resolve thru /etc/hosts by contacting the name servers listed? Bear in mind that at present the only name resolution performed by this machine is by /etc/hosts. I have added the IP addresses of my ISP to /etc/hosts and can ping them directly (albeit pppattach need to be killed).

The second bit, however is that I want to get MMDF to check mail from a POP3 server while also sending mail over our intranet (note intra not inter) via SMTP and also to send mail to our ISP's  SMTP server.

I can live without the proxy server bit at present...

(should I bump up the point a bit for this one?)
david cawkwellCommented:
you should have something in you resolv.conf that says
domain (your domain)
nameserver (nameserve IP address)
hostresorder local bind

this will then look at you local host file then the domain server.

To get it deliverying mail I would recommend starting the ppplink and then after a set length of time killing the process. This would then give mail a chance to delivery some/all of its mail.
Perhaps at the time the the link is up you should copy the resolv.conf file to you etc directory otherwise whenever mail tries to delivery it will bring up your ppplink.
What is the difference between MMDF and sendmail?
Sendmail can handle SMTP without any problem.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.