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

Posted on 2000-03-21
Medium Priority
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.
Question by:elmendor
  • 3
  • 2
LVL 40

Expert Comment

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.

Author Comment

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.
LVL 40

Accepted Solution

jlevie earned 450 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.

Author Comment

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.
LVL 40

Expert Comment

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/.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

590 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