Results 1 to 4 of 4

Thread: Config postfix/dovecot both IMAP/IMAPs

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Config postfix/dovecot both IMAP/IMAPs

    Hi Guy

    I want to config email system via both IMAP/IMAPs with IMAP(143) use internal network and IMAPs(993) External network (on Smart phone and laptop via internet)
    Currently , Postfix is mail server to internal network
    How to config use external network with encryptions

  2. #2
    Junior Member
    Join Date
    Jan 2012
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Here is how your "dovecot.conf" file should look like to use SSL:

    protocols = imap imaps

    # A space separated list of IP or host addresses where to listen in for
    # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
    # interfaces. Use "*, [::]" for listening both IPv4 and IPv6.
    #
    # If you want to specify ports for each service, you will need to configure
    # these settings inside the protocol imap/pop3 { ... } section, so you can
    # specify different ports for IMAP/POP3. For example:
    # protocol imap {
    # listen = *:10143
    # ssl_listen = *:10943
    # ..
    # }
    # protocol pop3 {
    # listen = *:10100
    # ..
    # }
    #listen = *
    protocol imap {
    listen = *:143
    ssl_listen = *:993
    }

    ssl = yes

    ssl_disable = no

    ssl_cipher_list = ALL:!LOW:!SSLv2

    ssl_cert_file = /var/qmail/control/servercert.pem
    ssl_key_file = /var/qmail/control/servercert.pem

    After configuration is done you can check the SSL connection with the following commands:

    openssl s_client -connect yourhost:993

    netstat -ntupa | grep 993

    *Make sure that this port is not filtered by your firewall (iptables -L -n or iptables --list).

    Also you can find a very nice article on "cyberciti.biz". It's called "Howto: Linux Dovecot Secure IMAPS / POP3S SSL Server configuration".

  3. #3
    Junior Member
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by matrix_killer View Post
    Here is how your "dovecot.conf" file should look like to use SSL:

    protocols = imap imaps

    # A space separated list of IP or host addresses where to listen in for
    # connections. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6
    # interfaces. Use "*, [::]" for listening both IPv4 and IPv6.
    #
    # If you want to specify ports for each service, you will need to configure
    # these settings inside the protocol imap/pop3 { ... } section, so you can
    # specify different ports for IMAP/POP3. For example:
    # protocol imap {
    # listen = *:10143
    # ssl_listen = *:10943
    # ..
    # }
    # protocol pop3 {
    # listen = *:10100
    # ..
    # }
    #listen = *
    protocol imap {
    listen = *:143
    ssl_listen = *:993
    }

    ssl = yes

    ssl_disable = no

    ssl_cipher_list = ALL:!LOW:!SSLv2

    ssl_cert_file = /var/qmail/control/servercert.pem
    ssl_key_file = /var/qmail/control/servercert.pem

    After configuration is done you can check the SSL connection with the following commands:

    openssl s_client -connect yourhost:993

    netstat -ntupa | grep 993

    *Make sure that this port is not filtered by your firewall (iptables -L -n or iptables --list).

    Also you can find a very nice article on "cyberciti.biz". It's called "Howto: Linux Dovecot Secure IMAPS / POP3S SSL Server configuration".
    Thank you for your suggestion ,I'm sorry not use dovecot but is Courier-IMAP

  4. #4
    Junior Member
    Join Date
    Jan 2012
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Search "cyberciti.biz" for an article called "Courier IMAP SSL Server Certificate Installtion and Configuration". Typing "Courier ssl" in google also gives lot's of results If you are experiencing any trouble give us the errors and the steps, that you take to enable the SSL connection in Courier.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 28th February 2011, 08:28 PM
  2. Realtime dovecot statistics
    By Ulyssess in forum Mail Servers
    Replies: 0
    Last Post: 8th June 2010, 12:51 PM
  3. Fedora Linux Set Dovecot IMAP Server
    By cepho in forum Linux software
    Replies: 0
    Last Post: 15th March 2010, 03:19 PM
  4. Can't start dovecot
    By satimis in forum Mail Servers
    Replies: 2
    Last Post: 23rd May 2008, 05:03 PM
  5. Dovecot: Eror message access denied /etc/dovecot.conf
    By kasimani in forum Linux software
    Replies: 4
    Last Post: 20th July 2006, 10:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •