Questions tagged [imap]

IMAP stands for Internet Message Access Protocol and is the other e-mail protocol along with POP.

E-mail clients using IMAP often leave messages on the server until the user deletes them. This allows multiple clients to manage the same mailbox - useful for support help desks for example.

IMAP is just one communications protocol on the web. Others include:

  • Transmission Control Protocol (TCP)
  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Hypertext Transfer Protocol (HTTP)
  • Post Office Protocol (POP3)
  • File Transfer Protocol (FTP)

IMAP on Wikipedia

593 questions
27
votes
3 answers

Which IMAP flags are reliably supported across most mail servers?

I am writing an application which reacts to emails sent to a mailbox. It retrieves the emails via IMAP. It will be deployed to a number of systems where I do not control the mail server configuration. I would like to use IMAP flags to indicate which…
Ben Butler-Cole
21
votes
2 answers

Is there a standard DNS record to indicate the IMAP server for a domain?

After some searching I've come up totally empty handed on if there is any standard (or non-standard for that matter) specification or best practice for specifying the IMAP server for a domain name. I.e. if I have an account such as…
bgp
  • 813
  • 2
  • 8
  • 12
13
votes
1 answer

is it safe to remove mails on imap server with "rm"?

I use dovecot IMAP server and want to delete big unneeded mails: cd /var/spool/foouser; du -a | sort -rn > /var/tmp/du-mail-foouser.log Now I see big mails at the top and after looking at them I want to remove them. Is it safe to just call "rm…
guettli
  • 3,113
  • 14
  • 59
  • 110
12
votes
6 answers

Is there a way to filter mails in remote IMAP account?

Situation: mail server with IMAP only access. Problem: I want to be able to filter mails (put some mails to various folders, mark them as read and so on). Most new email clients have this ability, but I want a standalone filtering program, as I need…
user13185
10
votes
2 answers

UID uniqueness of IMAP mails

In our internal webmail system, we'd like to attach notes and contacts to certain mails. In order to do this, we have to keep track of every mail on our IMAP server. Unfortunately the IMAP standard doesn't enforce the uniqueness of the UID of a mail…
SecStone
  • 197
  • 1
  • 2
  • 7
10
votes
3 answers

Tool to copy IMAP folders from one server to another

I need a Unix-based tool, such as a shell script or command-line program, to copy IMAP folders from one server to another. Ideally, the tool should copy all the folders for a single account (Inbox, Sent, Trash, and user-created folders) at once,…
Barry Brown
  • 2,392
  • 4
  • 22
  • 23
8
votes
3 answers

Dovecot cant connect to imaps 993

I am trying to set up a mail server in digitalocean VPS. The problem is that i cant telnet to 993 although firewall is inactive and dovecot is listening. Please tell me where i do wrong. I followed this postfix, dovecot, mysql, spamassasin…
Fandi Susanto
  • 183
  • 1
  • 1
  • 5
8
votes
3 answers

IMAP standard folder names - "Junk" or "Spam"

I am configuring spamassassin at the moment and have been wondering what is the standard (or atleast most used and recognized by most clients) folder name for Spam or Junk? I first used Spam, but then notized that my preferred webmailer, roundcube,…
Zulakis
  • 4,191
  • 14
  • 44
  • 75
8
votes
4 answers

Recovering deleted emails on IMAP server with Thunderbird

I have an IMAP mail server and use Thunderbird as my client. I didn't understand the sychronization of client-server using IMAP vs POP. My IMAP server was filling up, so I logged onto the server and deleted the Inbox thinking that Thunderbird had…
Matt Brown
  • 181
  • 1
  • 1
  • 2
7
votes
3 answers

Setting up mail accounts without real Linux users

I've setup Postfix and Dovecot on my Ubuntu Server. My aim is to create 27 mail accounts that can receive and send mail to everywhere. I've got emails to not show up as spam in Gmail, Yahoo and Outlook. I send emails with Rainloop and everything is…
shavit
  • 187
  • 1
  • 2
  • 6
7
votes
2 answers

Dovecot Certificate Authentication

After implementing certificate authentication on Nginx web server, I would like to do the same on Dovecot mail server. The idea is to create your own CA and manage certificates (both issuing and revoking). To verify the client certificate you need…
Daniel Iancu
  • 171
  • 1
  • 5
7
votes
4 answers

Migrating from any IMAP/POP3 server to Dovecot

I am trying to synchronize two mailboxes which reside in different servers. This is due to a migration process. The old server is a courier server and needs to be accessed via IMAP, whereas the new server is a dovecot server. I am trying to follow…
lefterav
  • 233
  • 2
  • 8
7
votes
2 answers

How configure roundcube to work with imaps?

I recently installed Postfix, Dovecot to setup a mail server on my own VPS ( using this tutorial: Email with Postfix, Dovecot, Mysql) Imaps server uses port 993 for Authentication, and Postfix uses port 25 to send mails. In this tutorial, users…
Amin Salami
  • 71
  • 1
  • 1
  • 3
7
votes
2 answers

Faster IMAP searching for Courier IMAP server on Linux

I am looking for tips on improving IMAP search performance using Courier IMAP. The current version is 4.2.1. Unlike in the question "Fast search for IMAP?", I'm specifically looking for server side improvements. Access performance is already quite…
Wade
  • 173
  • 1
  • 5
6
votes
5 answers

IMAP connection with Dovecot keeps failing (time-out)

* TLDR ; if you have connection problems, not only make sure you have added the required rules to your firewall, but also make sure ($ iptables -L -v) that the rules are in the correct order! * It's been a few days now, and I can't figure out why…
TomDogg
  • 113
  • 1
  • 8
1
2 3
39 40