Link to home
Start Free TrialLog in
Avatar of jamie040297
jamie040297

asked on

SCO OSR5 to ISP

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
Jamie
Avatar of jamie040297
jamie040297

ASKER

Edited text of question
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
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

Jamie
ASKER CERTIFIED SOLUTION
Avatar of david cawkwell
david cawkwell

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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)

 
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.
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?)
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.