How to setup Sendmail

February 28, 2011 at 15:13:02
Specs: CentOS
Does anyone know how to setup/configure sendmail. We have it installed on CentOS 5.5 with Webmin. We are able to send outbound, but not receive any. Our domain is www.dcgeeks.org

I would really be thankful of anyone who can help!


See More: How to setup Sendmail

Report •


#1
February 28, 2011 at 17:12:36
You might have to update your DNS with INMOTIONHOSTING.COM

How do you know when a politician is lying? His mouth is moving.


Report •

#2
February 28, 2011 at 17:42:07
I think you will find that sendmail cannot receive mail; that why it is called sendmail, it sends mail.

Stuart


Report •

#3
February 28, 2011 at 19:37:21
Does anyone have links to any tutorials for dovecot, fetchmail, sendmail, etc.?


Report •

Related Solutions

#4
February 28, 2011 at 20:44:27

Report •

#5
March 1, 2011 at 02:17:01
@StuartS: Sendmail both sends and receives mail (despite it's name). It's just an SMTP server which send mail to, and receives mail from, other SMTP servers.

It's true that it's not a mail client, but that's another matter.

@KevinS: First things first; does your DNS server have an MX record pointing to the server hosting CentOS? This is the first essential to receive mail, else other mail servers won't be able to find it.


Report •

#6
March 1, 2011 at 14:15:43
Yes, we have our MX Record setup. We are able to send mail, just not receive it.
I have been following this guide, and when it says to change these values, do I leave the # sign?
http://www.linuxmail.info/install-s...

protocols = pop3 pop3s imap imaps
mail_location = maildir:~/Maildir/
pop3_uidl_format = %08Xu%08Xv
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh



Report •

#7
March 1, 2011 at 23:23:28
Now I'm a little confused. Those instructions are for Dovecot, an IMAP and POP3 server, not Sendmail, an SMTP server.

To answer your specific question, you would remove the # s. In most Linux configuration files they Mark a comment.


Report •

#8
March 2, 2011 at 07:27:14
The guide shows how to setup postfix and dovecot. Thanks for the response.


Report •

#9
March 2, 2011 at 11:41:35
Ah right. A bit of confusion here. Postfix is your SMTP server so I guess that you are not running Sendmail at all (which is a different SMTP server - TBH not so many people use it nowadays as it's a bit of a pig to configure. There's a huge O'Reilly book on the subject if you're interested).

Did you manage to get the mail working?


Report •

#10
March 4, 2011 at 12:26:17
I'm still having issues with it. I'm going to work on it this afternoon and if I still have problems I will reply back. Thanks for your help so far.


Report •

#11
March 4, 2011 at 12:57:05
Right now we get the following error when trying to send to dcgit@dcgeeks.org.
Received: 550 5.1.1 <DCGIT@dcgeeks.org>: Recipient address rejected: User unknown in local recipient table.


Report •

#12
March 4, 2011 at 13:16:54
That means that the user doesn't exist on the destination domain. Is that your domain or one you are trying to send to?

Edit - Sorry, just reread your OP. It's your domain. So have you created that user on the CentOS machine?


Report •

#13
March 5, 2011 at 18:21:24
Yay! We got it working. We created a new user and it instantly worked. Thanks for your efforts!


Report •

#14
October 4, 2011 at 23:01:40
For More information about sendmail visit : http://meralinux.in

Report •


Ask Question