(editor's note): A question was asked as to why mail clients (Outlook, Eudora, etc) insist upon a "smart host" : an smtp server to deliver mail to.
Many answers were given, but this is actually the one that makes sense.
Subject: Re: What is the use of SMTP server References: <3eb007f1.0307162102.25cb4bc8@posting.google.com> From: Johan Kullstam <kullstj-nn@comcast.net> Date: Sun, 20 Jul 2003 13:29:29 GMT sonyantony@hotmail.com (Sony Antony) writes: > I was playing with sendmail and .forward file on my RH Linux system. > When I added an email to the .forward file, sendmail faithfully sent > it to the destination. > But then I realized that nowhere had I specified my SMTP server.
From the RFC on e-mail (what is it 2833?) SMTP client sends mail. SMTP server receives mail. Sometimes the server can receive mail for others and relay it to its final destination. > So I started investigating using strace ing sendmail. > I found out that sendmail did not use an SMTP server at all. It did an > MX query, got the mail gateway for the destination address domain, and > sent the mail directly. Sure it did. Sendmail (as client) talked directly to the server at the other end. This is how e-mail usually works. You can also relay it through the server at your ISP. Check into the "smarthost" configuration for your local sendmail. > This makes me think why ISPs give an SMTP server and ask you to > configure your mail client to point to that.
Unfortunately, many people have improperly set up systems. This has led to semi-widespread blocking of people coming from dynamic IP assignments. Thus you might be pretty well forced to relay through your ISP's SMTP server. > Why is that none of the mail clients like evolution, are built with > the kind of logic as sendmail. Evolution is a Mail User Agent (MUA) and expects a Mail Transfer Agent (MTA), e.g., sendmail to do the queuing and retransmission &c. > Why is that users are asked to do one more configuration step ( > configuring SNTP server for the mail client ) that can be > eliminated. Well, if the destination host is down, you might want the mail system to retry in a few minutes/hours rather than just not working. Usually the task of ensuring delivery is delegated to a dedicated program for that task rather than your reader. This lets you choose the pretty reader independently of choosing the reliable delivery mechanism. > Any pointers will be appreciated. > --sony -- Johan KULLSTAM
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar