Solved

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

Posted on 2000-03-21
5
293 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
  • 3
  • 2
5 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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.:
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now