sendmail: Introduction and Configuration
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
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
| 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 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- What's the tweeting protocol?
- New Products
- RSS Feeds
- Trying to Tame the Tablet
- Readers' Choice Awards
- Reply to comment | Linux Journal
13 hours 37 min ago - Reply to comment | Linux Journal
16 hours 10 min ago - Reply to comment | Linux Journal
17 hours 27 min ago - great post
18 hours 2 min ago - Google Docs
18 hours 25 min ago - Reply to comment | Linux Journal
23 hours 13 min ago - Reply to comment | Linux Journal
1 day 19 sec ago - Web Hosting IQ
1 day 1 hour ago - Thanks for taking the time to
1 day 3 hours ago - Linux is good
1 day 5 hours ago
Enter to Win an Adafruit Prototyping Pi Plate 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 Prototyping Pi Plate 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
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.



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