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)
- A Topic for Discussion - Open Source Feature-Richness?
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Home, My Backup Data Center
- Readers' Choice Awards
- What's the tweeting protocol?
- New Products
- RSS Feeds
- Dart: a New Web Programming Experience
- Reply to comment | Linux Journal
8 hours 8 min ago - Reply to comment | Linux Journal
10 hours 41 min ago - Reply to comment | Linux Journal
11 hours 58 min ago - great post
12 hours 33 min ago - Google Docs
12 hours 55 min ago - Reply to comment | Linux Journal
17 hours 44 min ago - Reply to comment | Linux Journal
18 hours 30 min ago - Web Hosting IQ
20 hours 4 min ago - Thanks for taking the time to
21 hours 41 min ago - Linux is good
23 hours 39 min 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
Hey, Thanks for such a lovely
Hey,
Thanks for such a lovely doc however when I am doing the ifconfig it is not giving the host IP Address for SMTP Server and it is giving below IP 39.96.8.8. and I think that is the reason it is not giving the port 25 to listen to our IP, instaed it is shwoing 127.0.0.1(Local Host).
Please let me know what should be done from my side.
Thanks,
Thanks
Many thanks, i was struggling to configure sicne long time but after following your post i configure it successfully
thanks a lot
sending mail
am developing an application on mailserver in php and mysql..
can i use roundcube for my application.. how to use it.
Very good document. Thanks
Very good document. Thanks Eric
dsn=2.0.0, stat=Sent
dsn=2.0.0, stat=Sent (n9T5vBsn013704 Message accepted for delivery
Thanks a lot Eric. This
Thanks a lot Eric. This article is great.
Your explanation is very easy to follow.
Need Help- How to Configure Send mail in Linux Enterprise Editio
Hi
need help how to configure send mail in linux enterprise edition 4.0.
this server is loaded with
Linux ENterprise edition 4.0
IBM Websphere and Oracale
can i configure send mail in this environment.
please help
fantastic, just fantastic
this is fantastic post.. thanks very much..for sharing
Thanks Eric
Hi Eric,
It is good to know that someone who shares my name can be this helpful.Am now able to telnet on 110 of my server.
Cheers,
Erick.
adding comments
i think this is very very useful for me in clarifying various doubts.
but i wants deep in case of sendmail problenm regarding defered DNS I.E. dsn=4.0.0 , state=defered, connection refused by xxx.xxx.com etc
but very useful hint from /etc/mail/local-host-names
I am not really like to
I am not really like to leave comments. But this is really a very handy paper. I set up sendmail very quickly after reading it.
Thanks So Much
Hey, I really appreciate this article, it helped me set up sendmail quickly. Thanks for the good article.
Problem with spams
Hi,
I am developing an application in jsp. we are using java mail api to send email through our application.
The problem with us is that our mais are landing in spam folders in a few public domain email providers.
One of the spam lists says that our mail server is not correctly configured and thats why our mails are landing in spam folder.
here is the link:
http://cbl.abuseat.org/remove.cgi?ip=66.232.112.182
thanks in advance.
creating user accounts after configuring sendmail
Hi,
I do appreciate for your nice material on configuring sendmail.I have successfully managed to follow it the end but question is how do i create email accounts for users in my email server
Excellent job
Excellent job ...............Thanks a lot
thanks Eric!
Thanks Eric, this article is great.
Please explain some more
I saw ur article and found it intersting. Iam new to Linux and i have a handful of doubts. Will u please explain me...
By configuring sendmail can i add unlimited users
Where will be the email data stored
Will this configuration work in Red Hat Enterprise Linux AS4
Can i configure it it GUI mode.
Is it easy to administer
Expecting a detailed reply
Thanking you
Sreedhar
hello
I found it very useful.
sendmail config
need some help
i have a smtp working with pop3 runing
my problem is some ips use my server for spam
how i can stop that?
tcp 0 0 nicolaescumalex.pi:smtp 221.221.234.210:2865 ESTABLISHED
tcp 0 0 nicolaescumalex.pi:smtp 221.221.234.227:2658 ESTABLISHED
tcp 0 0 nicolaescumalex.pi:smtp 221.221.255.137:bmap ESTABLISHED
tcp 0 0 nicolaescumalex.pi:smtp 221.221.255.94:2725 ESTABLISHED
tcp 0 0 nicolaescumalex.pi:smtp 221.221.255.94:4754 ESTABLISHED
tcp 0 0 nicolaescumalex.pi:smtp 221.221.232.215:2402 ESTABLISHED
tcp 0 0 nicolaescumalex.pi:smtp 221.221.255.137:4755 ESTABLISHED
this are the conection to my smtp
they are using big list of email address and have wrong addres in the list
i receive mails like this
From: Mail Delivery Subsystem
Subject: Postmaster notify: see transcript for details
This is a MIME-encapsulated message
--j867TerR011920.1125991785/nicolaescumalex.piatraneamt.rdsnet.ro
The original message was received at Tue, 6 Sep 2005 07:29:40 GMT
my question is
how they can access my smtp and how i can blok it??
thx
prevent spammers from using my sendmail
Has anyone responded to this posting?
Hi, Is it possible to read m
Hi,
Is it possible to read messages directly from sendmail using java without using pop3?
Thanks
Jibu
Re: Sendmail Configuration.
This article is really great.
Can't recieve mail externaly or localy
I am relitivly new to linux "mandrake 10.0" I have read your step by step on setting up sendmail..... "Perfect simple absolutly the best I have read". I can send emails externaly and localy but for the life of me I can not recieve mails sent to the mail server here. I have tryed everything I could think of and have read "including your step by step". Nothing seems to be working at all for me :(
Relaying help needed
I have a fully working sendmail set up going, I can send mail using a web client (Squirrelmail) and receive mail fine using a POP3 server and IMAP. I cannot send mail from home using a client like Outlook, I get "RELAY DENIED" error, but I can download my mail from the server.
I've tried auth settings on the client side, but nothing seems to work when I send mail to a domain not listed in my relay-domains list. Obviously I can't add all domains or *.com etc, as that will open the relay. Any ideas/comments/suggestions?!
I need to get this working, without using the ISP's SMTP server for sending, I've got a client that wants to use this server in house...
Re: Relaying Help needed
Hi,
I am also facing the same problem as you, If you have found some solutions for the same, then pls share with me..
Thanks
It feels good to see smtp working....
I have tried and tried to get sendmail working - awesome article. Thanks...
problem in accessinig access file
Hi,
I have read the following line in ur article for configuring sendmail.
This can be done by adding the following line to the /etc/mail/access file and running the command make access.db after saving that file.
blank.com RELAY
But when i tried to access /etc/mail/access file, it is asking for encryption key. What should i do now?
Re: sendmail: Introduction and Configuration
Erick,
YOU ARE THE CHAMPION MY FRIEND.
Miguel
Miami, FL
mfvh@yahoo.com
Re: sendmail: Introduction and Configuration
Very good article because it's simple and complete. It worked fine. The only thing would be to explain thant this pop3 works on port 995
Re: sendmail: Introduction and Configuration
Good Job Eric. Good combination of stuff put together. Good for new linux net admins.
Thanks on every ones behalf
Re: sendmail: Anonymous Email Configuration
Hi ,
I have configured a email mail server , it is working fine .
Now the problem is , I want my email server to accept anonymous emails i.e , if some one responds with anon123@xyz.com (ex my domain is xyz.com) and i don't have such user still i want his mail to land in my email server how do i do it ...........
What configuration should i set in my sendmail.cf file
Sendmail gurus pls help me
Re: sendmail: Anonymous Email Configuration
hi dear,
You don't have to do anything.
Just creat a catchall account in your mail server.
Thanks
Re: sendmail: Anonymous Email Configuration
How do I create a catch all in the mail server
please tell me how to create
please tell me how to create a catch all account in mail server using sendmail.How to create auto responders vacations mail too
Re: sendmail: Introduction and Configuration
hai
i used ur instructions to configure sendmail it worked very fine .
the problem is in virtual domains
when i send mail to the
user@virtdomain.com
it gets aliased to user@mydomain.com
but the reply address for that user will come as user@mydomain.com
plz help me out.
my mail id is
shivakumarnm@yahoo.com
Re: sendmail: Introduction and Configuration
My Name Is Zafrulla Khan
I dont Know ...sendmail Conf i was struggling for a long time to configure the sendmail ......Luckly by the god Grace i found your link for the Google Search Engine .....
I can not say in words how i was benifited from this conf
I will be always thank full to you in my life
Any futher conf about this plz put on the web .....plz
zafaronline@rediffmail.com
Re: sendmail: Introduction and Configuration
Thanks for the help here. I was confused , how come pop3 is not workyby default in linux8.0, once i gone thru the help and set disabled=no in /etc/xinetd , starts working fine. THanks alot.
By the way, i have enabled imapd also in the same fashion, that means my mechine will work as an IMAP server too, is't it??
Re: sendmail: Introduction and Configuration
Thanks for a great help on sendmail only listen on port 25 on loopback. Keep it up.
Re: sendmail: Introduction and Configuration - BRILL!
Absolutely BRILLIANT!!!!!
At last sendmail works, no other tutorial managed that for me!
THANK YOU!
Relay denied
Incredible article! Thanks Eric.....
I
Re: Relay denied
hi i have the same problem... and i'dont know haw to resolve this, can you help me too...
thanks
please send me an e-mail to
vasile_turcu@yahoo.com
Re: Relay denied
Same problem here :(
Altough i can send email inside my network without problems, if i try to send an email i.e. hotmail i get an relay denied error
help please!
Re: sendmail: Introduction and Configuration
Incredible article! Thanks Eric, this piece of text just broke the ice for me regarding linux.
Re: sendmail: Introduction and Configuration
Glad to help
Re: sendmail: Introduction and Configuration
Thank you so very much. I have been without email services on my server for a week because my new host doesn't "manage the servers". I actually did all the steps in reverse because I couldn't find a good (and short) guide, until I found this page using google.
Re: sendmail: Introduction and Configuration
Thank you so much... This is the best article on how to configure sendmail, I tried for 3 days to get this thing work and thanks to this article is working!!
Re: sendmail: Introduction and Configuration
use the chkconfig command for xinetd specific services. After you install the imap package, run chkconfig --list. This will list all rc startup services. Under xinetd you will see the xinetd specific services. ipop2, ipop3, imap, imaps, etc should all say 'no' under startup. Do a 'chkconfig ipop3 on' will turn on ipop3 for all runlevels. Using chkconfig accomplishes the same thing as editing the /etc/xinetd.d/ipop3 but is a cleaner way, and works for all startup rc scripts.
Re: sendmail: Introduction and Configuration
Excellent, I have been having problems with this for a week now, the article is direct strait forward and most of all correct.
A big thank you.
Mike
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
It Really Works
Thanx a lot for such an article.