Solved

Is there a simple configuration of ppp and sendmail for a basic user

Posted on 2000-03-21
5
299 Views
Last Modified: 2010-04-20
Intro: We have been running RedHat Linux at work for 3 or 4 years to connect to the internet through ppp and sendmail. The connections is great. Before with Window's dialup it was unsteady. We are on a WindowsNTver4 network.
Question: I would like to know if there is a way to configure the ppp and sendmail programs for a basic simple setup so that a homeuser with a standalone computer can connect to the internet and have the same reliability that we get at work?
I know sendmail has many configurations and is usually difficult to setup because of this, but I just want to know the basics assuming you have dns entries, gateway address and user name and password. I am currently using Linux 6.5 Mandrake with netscape and  the kde desktop's kppp and email programs. It would also take know how to replace the kde desktop's programs with the more general ppp and sendmail.
0
Comment
Question by:elmendor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2642475
For a home user setup there really isn't anything that's better than kppp. It's very simple to set up and use, and it's obvious to the user what's happening. Why would you feel it to be desireable to replace it with "the more general ppp""

Other than for purely internal system use, a home Linux machine doesn't need to run sendmail. The user will either be dialing up to an ISP that provides email services, or to a work system that does likewise. The ISP will almost always provide POP3 and/or IMAP email service, so the user can run any of a number of email MUA's (pine, Netscape, etc) that support POP3/IMAP and read the email directly from the remote server and send messages back to that server via SMTP.
0
 

Author Comment

by:elmendor
ID: 2642577
I would like to learn a little more about these 2 programs since they are used so much on Linux internet servers and since they seem to really make a dependable connection and give reliable service.
Though KPPP is simple, it would be nice to know what is the basic information to use to setup PPP, to be able to use Netscape, ditto for Sendmail. Obviously I don't understand some of the technical distinctions such as providing your own email services to yourself but I was hoping to learn a little more about how to setup these services at least in the most basic way and that seemed to be just for a standalone machine. That way if I need to set them up for instance or modify the one where I work, I will have a lot more understanding as well as have their dependability if they can work well with a standalone machine.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 150 total points
ID: 2642757
Okay, if you want to fiddle around with the various was to set up ppp, I'd suggest that you start by reading the PPP HowTo (http://howto.tucows.com/LDP/HOWTO/PPP-HOWTO.html) and the man pages for all  of the utilities, daemons, and files that are referenced in the HowTo, e.g., man pppd.

There are other ways to set up ppp depending on what it's being used for. A home system would typically use kppp or similar to establish a connection only when it was needed. A server, on the other hand, might need a full time ppp connection over an ISDN line that should connect at boot and re-connect any time the line drops (kppp wouldn't be the way to go in this case). Thos are the two extremes and there are other confgs possible that lie in between.

What you can do with sendmail from a home system that doesn't have a static IP address is rather limited. You can play with the sending part of sendmail and the rulesets that are operative when receiving local mail, but the really good stuff can't very well be exercised without a published IP address. On a cable modem or DSL service (which is a full time connection, generally with a dynamic IP address) you can finess the issue by using one of the dynamic dns services (http://www.dyndns.com/ or others). I suppose you could also use a service like that with a dial-up, but since your line will be down more than it's up, in all probablity, the results won't be all that good.

If an Internet mail server has a message to deliver to your system and it can't deliver the message on the first try because your connection isn't up, it will keep the message in the outgoing queue for some period of time. During the time the message is in the queue the server will periodically retry the delivery, perhaps once an hour. If it just happens that you are on-line when the retry occurs, your sendmail will get the message. But it could happen that you aren't on line long enough or often enough to collect the message before the sending machines flushes it from the queue.

There's a lot more you can do in terms of learning about sendmail if you can set up a home network of two or more computers and experiment with sendmail between those machines.
0
 

Author Comment

by:elmendor
ID: 2642898
Would be nice to know if ppp can be used just to set up a home connection. Since it was for a standalone computer that was more what I was thinking about.

It is nice to know what the basic parameters are for sendmail and why it really can't be used for a normal mail program unless possibly you timed it to check for mail when you went on the internet.

Will look into the sources.

Thanks very much for the help.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2643009
Well yes, ppp is used for a home network connection. You can get ppp running from kppp (it's just an easy to use way of gettin a ppp link up) or you can use any of the other variants that I've inferred exist and are documented in the howto.

I think a lot of what I've talked about will become much more clear after you've had the time to read through the howto's. Another one that I didn't include the link to is the Mail howto. It and a lot of other docs are on http://howto.tucows.com/.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question