HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Postfix DNS (http://www.howtoforge.com/forums/showthread.php?t=49697)

marcoslavorato 27th October 2010 23:48

Postfix DNS
 
Hello all. I tried install a e-mail server on my CentOs using the Postfix. I followed the tutorial and I got the control panel, e-mail creation and even send messages using the Postfix Admin panel as well but the POP3 and SMTP can't work with me.

I have a question if is necessary a new DNS entry in the server. The necessary ports link 25 and 110 is opened.

Thanks!

falko 28th October 2010 18:14

Which tutorial (URL) did you use? Any errors in your mail log?

marcoslavorato 28th October 2010 18:38

Hello falko. No, my mail log looks good. I got this error when I tried open the Squirrel Mail. Do you know how can I solve? I found a lot of people with this problem, but I can't found a solution.

Code:

Error connecting to IMAP server: localhost.
111 : Connection refused

I used this tutorial: http://www.campworld.net/thewiki/pmw...VirtMailServer

Quote:

Originally Posted by falko (Post 243109)
Which tutorial (URL) did you use? Any errors in your mail log?


falko 29th October 2010 14:42

Is SELinux disabled? What's the output of
Code:

netstat -tap
?

marcoslavorato 29th October 2010 14:45

Hello falko, this is the output of netstat -tap

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 988/mysqld
tcp 0 0 *:http *:* LISTEN 2725/httpd
tcp 0 0 *:telnet *:* LISTEN 2714/xinetd
tcp 0 0 *:smtp *:* LISTEN 2789/master
tcp 0 0 *:imap *:* LISTEN 2697/dovecot
tcp 0 0 *:ssh *:* LISTEN 906/sshd
tcp 0 0 *:https *:* LISTEN 2725/httpd
tcp 0 0 Geral:ssh 94-76-204-199.static.:42239 ESTABLISHED 7424/sshd: root [pr
tcp 0 256 Geral:ssh bd64eb51.virtua.com.b:62887 ESTABLISHED 7392/0

Quote:

Originally Posted by falko (Post 243221)
Is SELinux disabled? What's the output of
Code:

netstat -tap
?


falko 30th October 2010 14:41

What about SELinux? What's the output of
Code:

getenforce
?

marcoslavorato 30th October 2010 14:53

Quote:

Originally Posted by falko (Post 243313)
What about SELinux? What's the output of
Code:

getenforce
?

Said that is disabled.

falko 31st October 2010 12:27

Do you use a firewall? What's the output of
Code:

iptables -L
?

marcoslavorato 31st October 2010 12:51

Falko, this is the output. I think that is enabled, but I add the ports used by e-mail like 25, 110, etc.

Code:

Chain INPUT (policy ACCEPT)
target    prot opt source              destination       

Chain FORWARD (policy ACCEPT)
target    prot opt source              destination       

Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination       

Chain RH-Firewall-1-INPUT (0 references)
target    prot opt source              destination

Quote:

Originally Posted by falko (Post 243353)
Do you use a firewall? What's the output of
Code:

iptables -L
?


falko 1st November 2010 10:42

Looks ok so you should be able to connect to IMAP. Did you send an email to the mail account before you tried to connect to the mailbox with SquirrelMail?


All times are GMT +2. The time now is 14:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.