Postfix DNS

Discussion in 'General' started by marcoslavorato, Oct 27, 2010.

  1. marcoslavorato

    marcoslavorato New Member

    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!
     
  2. falko

    falko Super Moderator Howtoforge Staff

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

    marcoslavorato New Member

    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/pmwiki.php/LinuxServersCentOS/Cent5VirtMailServer

     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is SELinux disabled? What's the output of
    Code:
    netstat -tap
    ?
     
  5. marcoslavorato

    marcoslavorato New Member

    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

     
  6. falko

    falko Super Moderator Howtoforge Staff

    What about SELinux? What's the output of
    Code:
    getenforce
    ?
     
  7. marcoslavorato

    marcoslavorato New Member

    Said that is disabled.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Do you use a firewall? What's the output of
    Code:
    iptables -L
    ?
     
  9. marcoslavorato

    marcoslavorato New Member

    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     
     
  10. falko

    falko Super Moderator Howtoforge Staff

    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?
     
  11. marcoslavorato

    marcoslavorato New Member

    Hello. I triet but I can't receive that message either because the POP3 and SMTP configuration doesn't work in my Outlook. This is my other problem.

     
  12. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your mail log?
     

Share This Page