sendmail: Introduction and Configuration

 in
A guide for those of you configuring your first e-mail server.
______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: sendmail: Introduction and Configuration

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

make sure you restart the daemon once that setting has been changed.

Re: sendmail: Introduction and Configuration

Anonymous's picture

Eric,
thanks, thanks, thanks

5 minutes and sendmail was tunned.

Re: sendmail: Introduction and Configuration

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

matta's picture

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

Prabhu Seeba's picture

Excellent article

Re: sendmail: Introduction and Configuration

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

It shows I am a bit sleepy, my email is j_broton@yahoo.co.uk

Re: sendmail: Introduction and Configuration

Anonymous's picture

It

Re: sendmail: Introduction and Configuration

Anonymous's picture

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

Anonymous's picture

Finally, someone has explained something straight forward and simple to understand! Keep up the good work!

Re: sendmail: Introduction and Configuration

Anonymous's picture

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

Anonymous's picture

take a look at /etc/mail/access, which will result in the /etc/mail/access.db

Re: sendmail: Introduction and Configuration

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

great article! sendmail is a beast, eric did a good job of covering basics everyone needs to know.

Re: sendmail: Introduction and Configuration

Anonymous's picture

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

Anonymous's picture

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!!!

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Anonymous's picture

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

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

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.

Learn More

Sponsored by Storix