help me with Mail Server

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Daniel03
Posts: 5
Joined: 2007/04/04 21:01:20
Contact:

help me with Mail Server

Postby Daniel03 » 2007/04/04 21:13:09

Hi,

I download CentOS ServerCD and Install it into my Server.

I configured the Named and Squid, but I have problem with the Mail Server.

I configured, but the User (with Windows using IncrediMail, Ms Outlook or Outlook Express), send Conection Refused.

I tried to look:

telnet ns.cervegsa.com.ni 25 (where cervegsa.com.ni is the domain)

but send me, Conection Refused, too.

Could some body helpme

Thanks.

Pd.: Exuse me my english, my native language is Spanish.

God Bless You

User avatar
WhatsHisName
Posts: 1534
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: help me with Mail Server

Postby WhatsHisName » 2007/04/04 21:48:34

Did you open port 25 in iptables?

If uncertain, post the output from “iptables -L”.

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: help me with Mail Server

Postby michaelnel » 2007/04/04 22:00:13

WhatsHisName wrote:
Did you open port 25 in iptables?

If uncertain, post the output from “iptables -L”.


By default, sendmail on CentOS doesn't listen on port 25 even if you have port 25 open in the firewall.

Make sure the "sendmail-cf" package is installed.

You have to edit /etc/mail/sendmail.mc... find the line that says "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl", and comment it out by prepending dnl to the line, changing it to this:

dnlDAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

Run "make -C /etc/mail" to create the new sendmail.cf from sendmail.mc

Then do "service sendmail restart".

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: help me with Mail Server

Postby michaelnel » 2007/04/04 22:09:51

BTW, I think there is a similar configuration issue with postfix, if that is the MTA you happen to be running.

User avatar
WhatsHisName
Posts: 1534
Joined: 2005/12/19 20:21:43
Location: /earth/usa/nj

Re: help me with Mail Server

Postby WhatsHisName » 2007/04/04 23:04:31

By default, sendmail on CentOS doesn't listen on port 25 even if you have port 25 open in the firewall.

Hey, that’s no fair! You gave away my next response. :-D

Actually, I figured my next response would be “run system-config-securitylevel-tui”.

michaelnel
Posts: 1478
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: help me with Mail Server

Postby michaelnel » 2007/04/04 23:06:31

WhatsHisName wrote:
By default, sendmail on CentOS doesn't listen on port 25 even if you have port 25 open in the firewall.

Hey, that’s no fair! You gave away my next response. :-D


Sorry....

The reason I was quick with that answer was that it bit me before I learned about it. I would "telnet localhost 25" and sendmail would answer. I would "telnet server 25" from outside and it wouldn't. I would check the firewall, yep, I had a hole for 25. Still didn't work. Shut down the firewall... STILL didn't work... etc... etc.... :lol:

Daniel03
Posts: 5
Joined: 2007/04/04 21:01:20
Contact:

Re: help me with Mail Server

Postby Daniel03 » 2007/04/09 15:20:45

Hi Again.

ok, I Do what you said me, but, still is bad.

The iptables is down,

How I Can configure a Imap Sever with my Sendmail?

Really I don't know what more do

arrfab
Site Admin
Posts: 867
Joined: 2005/01/03 21:30:54
Location: /country/belgium
Contact:

Re: help me with Mail Server

Postby arrfab » 2007/04/09 16:06:43

Read some documentation ? here they are : http://www.centos.org/docs/4
Sendmail/dovecot are really easy to configure (in a simple network at least) .... just follow the docs ..

Daniel03
Posts: 5
Joined: 2007/04/04 21:01:20
Contact:

Re: help me with Mail Server

Postby Daniel03 » 2007/04/09 16:07:58

:-?

In the work, my boss said: Loking for someone who know of that.

Sorry, I tried to do it, but I did not can.

khronous
Posts: 111
Joined: 2005/11/12 11:46:48
Location: Philippines

Re: help me with Mail Server

Postby khronous » 2007/04/10 03:10:16

i would suggest postfix as your mta. very easy to maintain and configure.
mine now is running with mysql and with webmail and pop3 access...

for a postfix jump start.
http://www.hughesjr.com/content/view/14/