sendmail: Introduction and Configuration
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Reply to comment | Linux Journal
7 hours 49 min ago - Nice article, thanks for the
18 hours 30 min ago - I once had a better way I
1 day 16 min ago - Not only you I too assumed
1 day 33 min ago - another very interesting
1 day 2 hours ago - Reply to comment | Linux Journal
1 day 4 hours ago - Reply to comment | Linux Journal
1 day 11 hours ago - Reply to comment | Linux Journal
1 day 11 hours ago - Favorite (and easily brute-forced) pw's
1 day 13 hours ago - Have you tried Boxen? It's a
1 day 19 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
Re: sendmail: Introduction and Configuration
I'm senior Computer engineer from KMITL ( THAILAND ) My project is webmail opensource. I develop twig and must to config sendmail . I try for a week about sendmail. This article is greate,awful,Even i use mandrake but it work. Thank a lot. thank opensource. My email address is maydream@hotmail.com
Re: sendmail: Introduction and Configuration
Eric,
Many thanks. I was fumbling around trying to install Sendmail and had almost given up. I was contemplating giving Qmail a try.
Your article had me up and running in an hour.
Thanks again for a short, easy to follow article.
POP3 DOESN'T WORK: BEST CONFIGURATION ARTICLE YET: IMPORTANT QUE
I am new to linux, and the whole open source thing. I found your article really easy to understand and followed the steps and it worked great except for the pop3 account. I seem to not be able to connect from any client to get mail off the server remotely. Please help. I can send mail out fine, send mail to the addresses, no problem. The xinetd.d/ipop3 says that disabled = no
tahnks
Re: POP3 DOESN'T WORK: BEST CONFIGURATION ARTICLE YET: IMPORTANT
make sure you restart the daemon once that setting has been changed.
Re: sendmail: Introduction and Configuration
Eric,
thanks, thanks, thanks
5 minutes and sendmail was tunned.
Re: sendmail: Introduction and Configuration
This is definitly a great article. The explanations are almost idiot proof. Wish the docs/books out there on Linux/Unix were as good as this.
Thanks a lot Eric.
Re: sendmail: Introduction and Configuration
Eric, I realy love you! I've been sitting for hours now staring at sendmail configuration files, but not a single articel or online manual told me to:
DaemonPortOptions=Port=smtp,Addr=192.168.100.134, Name=MTA
Thanks a lot and good night!
Re: sendmail: Introduction and Configuration
This article is a life saver... I had searched every books about sendmail in the largest bookstore in canada.. but couldn't find information on how to do a simple configuration on sendmail.. It may sound unfair but the sendmail books are not much help on newbies like me... T
thank you ERIC... how about writing a book on sendmail...
Re: sendmail: Introduction and Configuration
Thanks Eric for this article. I spent weeks trying to get my email server to work adding the ip address did it. I can't believe no one else has this in their books or articles it would have saved me a lot of time. I almost didn't read this article because I read so many before and nothing worked.
Allen Reed
areed@daplanetearth.com
Re: sendmail: Introduction and Configuration
You all seemed to have problems with the configuration before you read this article. So did I, and decided to try out qmail.
I love it. It's really easy to configure, and it's absolutetly the most advanced and configurable MTA I've ever used. If you have some spare time, I suggest you give it a try.
qmail
A great guide to qmail
Excellent article
Excellent article
Re: sendmail: Introduction and Configuration
Absolutely AWESOME article... I'd spent most of the day foraging through the web, the RH docs and it was just that darn daemon-port-options!
Thanks a million!
Re: sendmail: Introduction and Configuration
Great Post!! After viewing dozens of "general information" pages looking for specific, step by step, instructions I came across this post. THANK YOU! Thank You! THANK YOU!!
Re: sendmail: Introduction and Configuration
Jorn, thankyou very much for this article, ive spent days trying to work out how to connect to the smtp on a local network, the change from 127.0.0.1 to 198.162.0.1, arrghh its obvious when you see it :))
Re: sendmail: Introduction and Configuration
This was a great idea, and excellently done, my only complain is the fact that it's geared towards Red Hat-type installs. Stopping and restarting daemons, and other commands should've been done from a linux standard standpoint, not a distribution specific standpoint. Just a small thing that I think would've added to the knowledged learned from this, but small things add up to big things. As someone who knows sendmail intimately, this paper does a great job outlining the basics of sendmail, and especially (I loved this) the importance of DNS concerning MX'ing in general. Great job!
Re: sendmail: Introduction and Configuration
It shows I am a bit sleepy, my email is j_broton@yahoo.co.uk
Re: sendmail: Introduction and Configuration
It
Re: sendmail: Introduction and Configuration
You are an absolute Genious, great article I got POP and all my virtual domains to serve emails in ten minutes.
Despite a whole night working with sendmail, other articles, thinking it was the firewall, bla bla bla, etc etc.
Thanks, any help with Javascript, C or C++ send me a message.
Re: sendmail: Introduction and Configuration
Finally, someone has explained something straight forward and simple to understand! Keep up the good work!
Re: sendmail: Introduction and Configuration
What's a great paper , I try to find how to config this sendmail for a week and this is the answer . Thanks a lot to your help. I had been studied in U of SW Louisiana at Lafayet for more than 10 years. I would like to know if I had more than one network (ex. 192.168.2.0/24 192.168.3.0/24 192.168.4.0/24 ) and my linux mail server stays on 192.168.2.x/24 , how does the other network could use this sendmail server.Shoul I config with the DNS or the mail server. I already used the
route add -net IP netmask NETMASK dev eth1
** I had two lan cards.
Thanks again
Amrit Angsusingh
amrit@chaiyo.com
Computer Center
Nakornsawan , Thailand
Re: sendmail: Introduction and Configuration
take a look at /etc/mail/access, which will result in the /etc/mail/access.db
Re: sendmail: Introduction and Configuration
This is a wonderful article. Well written, straight-forward, and precisely the right amount of detail. I really appreciate this article, and the time it took to write.
Thanks again,
Nathan Harrington
nathan@kkkkkkkk.kkk.kkk natejoke.dhs.org because of this article.
Re: sendmail: Introduction and Configuration
What a great article! I've spent the last three days browsing the internet, trying to find straight-forward articles explaing how to get sendmail and pop3 working. This was the ticket!! Thanks a million, Eric!!
Re: sendmail: Introduction and Configuration
Great article...I love articles that are straight forward and down to the point. It has inspired me to look into some of the more complicated and sophisticated setting of sendmail. I would greately appreciate if you could also do an article on procmail and advanced features of sendmail.
Sincerely,
Vijay Avarachen
Re: sendmail: Introduction and Configuration
I agree with you.this is the first aticle about sendmail I can understand.but I have a question.
in redhat 7.0 .I config DNS .when I run
nslookup It would display server name is hostname
Server: dns.blank.com
Address: 192.168.100.1#53
but in redhat7.1 it display Ipaddress
Server: 192.168.100.1
Address: 192.168.100.1#53
who can told me why ? my mail is chenshake@sina.com
Re: sendmail: Introduction and Configuration
great article! sendmail is a beast, eric did a good job of covering basics everyone needs to know.
Re: sendmail: Introduction and Configuration
the whole lecture if i should call it helped me a lot. but only thing is even though i can let the linux server send mails from internally, i can't get the pc's running windows receive and send mail with say outlook or netscape. the only way to do that is to logon by telnet to the server then send or recieve mails. what do i do?
Re: sendmail: Introduction and Configuration
i configured sendmiail but i m not able to send mail from one domain to another pls help me .mail me on rag6040@yahoo.con
golla
Great Work!!!
All I can say's that this is the most sensible and ppactical approach to Sendmail configuration I have ever read. Consider renaming the article "Sendmail for Dummies". Thanks a lot Eric and God bless.
Re: sendmail: Introduction and Configuration
I have a problem where sendmail is translating an external email address to different internal email address. e.x John@x.com becomes John@y.com when passing through send mail. Any help with why this may be happening would be greatly appreciated.
Re: sendmail: Introduction and Configuration
It is written in RedHat.com at this URL:
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-ema...
For example, if you want all email addressed to any domain.com account to be delivered to , you need to add a line to the virtusertable file:
--------
@domain.com bob@otherdomain.com
--------
Figure 16-1. virtusertable example
Then, to add this new information to the virtusertable.db file, execute makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable as root. This will create a new virtusertable.db that contains the new configuration.
Hope this well be useful.
RIK
Re: sendmail: Introduction and Configuration
yes it worked very fine for me
execpt that the return address for user@virtdomain.com will be user @mydomain.com plz help
Re: sendmail: Introduction and Configuration
If a local user tries to send email, sendmail will only allow the user to provide a different From: address if the user is on the trusted users list. This restriction exists to prevent users from forging email with faked From: addresses origination from your system. Try webmin makes it easy to set up sendmail.
joe
Re: sendmail: Introduction and Configuration
Clear, easy to read and straight to the point! If only every posting on matters like sendmail configuration should like like this one one from Eric.
Congratulations and thanks to Mr SENECA!
Angelo Angelo.
Re: sendmail: Introduction and Configuration
Good Article , as a fresher I learnt the basics of sendmail, and a brief idea of sendmail by reading this article, I would request if any short article on administration of sendmail, which will help me in understanding the complete sendmail.
Sendmail not sending email
Hi all,
I am using Bugzilla on RedHAT Linux 9. This sends mails to the users, but when i check the maillog it shows the status as QUEUED.
What could be the reason for that.
Thanks
Sendmail not sending email
Hi all,
I am using Bugzilla on RedHAT Linux 9. This sends mails to the users, but when i check the maillog it shows the status as QUEUED.
What could be the reason for that.
Thanks
Sendmail not sending email
Hi all,
I am using Bugzilla on RedHAT Linux 9. This sends mails to the users, but when i check the maillog it shows the status as QUEUED.
What could be the reason for that.
Thanks