IMAP

From Indie IT Wiki

Server Settings

Gandi

POP/IMAP Account

  • Incoming server name: mail.gandi.net
  • Port: leave the default setting (110 for POP, 143 for IMAP, 995 for POP SSL, or 993 for IMAP SSL).
  • TLS or SSL: Yes
  • Username: your full e-mail address (including @yourdomain.tld)
  • Password: provide the password you defined when creating the mailbox

SMTP Account

  • Outgoing (SMTP) server name : mail.gandi.net
  • Port : 25, 465 (with SSL) or 587 (with STARTTLS)
  • TLS or SSL : yes
  • SMTP Authentication : yes, using the same settings as for the POP / IMAP account

Thanks - http://wiki.gandi.net/en/mail/standard-settings

BT Internet

POP/IMAP Account

  • Incoming server name: mail.btinternet.com
  • Port: leave the default setting (110 for POP, 143 for IMAP, 995 for POP SSL, or 993 for IMAP SSL).
  • TLS or SSL: Enabled (but not STARTTLS)
  • Username: your email address including the @btinternet or @btopenworld.com part
  • Password: provide the password you defined when creating the mailbox

SMTP Account

  • Outgoing (SMTP) server name : mail.btinternet.com
  • Port : 465
  • TLS or SSL : Enabled (but not STARTTLS)
  • SMTP Authentication : yes, using the same settings as for the POP / IMAP account

BT Internet Settings

HOWTO: Fix: Courier IMAP Maximimum Connection Limit Reached

http://www.howtoforge.com/courier-imap-imapd-maximum-connection-limit-reached-for

Checking with Mutt

mutt -f imap://localhost

Checking With SSL

openssl s_client -connect server:993 -quiet

Give the following IMAP commands to check your details. The dot and space in front is needed for each command...

. login username password
. status INBOX (messages)
. logout

Checking With Telnet

Connect to the IMAP server using the command 'telnet severname port'...

telnet imap.server.co.uk 143

Give the following IMAP commands to check your details. The dot and space in front is needed for each command...

. login username password
. status INBOX (messages)
. logout

http://bobpeers.com/technical/telnet_imap

Sniff Result In Logs

You will see this if people are logging in to the server using telnet to sniff out information...

May 20 11:49:28 123.456.789.0 dovecot: imap-login: Error: SSL: Stacked error: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
May 20 11:49:28 123.456.789.0 dovecot: imap-login: Disconnected (no auth attempts in 32 secs): user=<>, rip=123.456.789.0, lip=123.456.789.0, TLS handshaking: SSL_accept() failed: Unknown error, session=<bXWLfE+J2pvUnxQ/>
May 20 11:49:56 123.456.789.0 dovecot: imap-login: Error: SSL: Stacked error: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init