Dovecot and SquirrelMail Install/Config Trouble

Discussion in 'Installation/Configuration' started by adobe, Sep 15, 2008.

  1. adobe

    adobe New Member

    Hello,

    I followed this nice tutorial here http://www.debian-administration.org/articles/275 and installed Dovecot without any error.

    Then, I followed this tutorial here http://www.debian-administration.org/articles/200 and installed the SquirrelMail.

    I am at the stage where you run a configtest to see if everything checks out. Sadly, my configtest is failing like this:

    I had already opened the port 25 on my iptables firewall like this:

    # iptables -A INPUT -p tcp --dport 25 -j ACCEPT

    So, I ran the following command to see if dovecot imap server was running...

    # netstat -tap

    and this is what i saw:

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:imaps *:* LISTEN 24173/dovecot

    While other server/programs on my server are running on a specific port (e.g. webserver on *:80), dovecot is running on *:imaps

    Is this correct? Is this what's causing my configtest to fail with SquirrelMail? First time playing with mail server + mail client. Please advice.
     
  2. adobe

    adobe New Member

    After some digging into the documentation file, i realised there was a setting called "listen" and "ssl_listen" on the /etc/dovecot/dovecot.conf config file, so I set it up like this ...

    listen *:25
    ssl_listen *:143

    had it saved and restarted the dovecot like this ...

    # /etc/init.d/dovecot stop
    # /etc/init.d/dovecot start

    When I ran the configtest again, this is what it shows now ...

    This is my netstat log ...

    # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:smtp *:* LISTEN 26380/dovecot
    tcp 0 0 *:imap2 *:* LISTEN 26380/dovecot

    Do I need to install Postfix also? or dovecot alone is enough for all my mail server needs?
     
    Last edited: Sep 15, 2008
  3. Nareau

    Nareau New Member

    You should install Postfix unless if another MTA is already installed on your server.
     
  4. adobe

    adobe New Member

    MTA = main transfer agent?

    So far, I only installed dovecot and SquirrelMail. I was under the impression dovecot had everything.

    So, how do you install Postfix and configure it to work with this setup i have so far?
    ________
    buy vapor tower
    ________
    Ford Mustang SSP specifications
     
    Last edited: Feb 9, 2011
  5. Nareau

    Nareau New Member

Share This Page