Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [imap]

The Internet Message Access Protocol (IMAP) allows a client to access and manipulate electronic mail messages on a server.

0
votes
1answer
24 views

Recover/reupload messages deleted by fetchmail

I used fetchmail to access my Hotmail/Outlook mailbox. It downloaded every message inside Inbox, but now that folder is empty at the server. Now I see that fetchmail deletes messages by default: -k ...
0
votes
2answers
32 views

How does IMAP physically store mails?

I am at last planning to move from POP3 to IMAP. I use maildir format to store mails and I want, at least for a short time, to keep a fallback route. I'm trying without success to find out how IMAP ...
0
votes
0answers
9 views

Cyrus-imapd: Is it possible to transfer the #public namespaces' contents using cyradm xfer?

We are currently retiring an old server (Debian wheezy) with Cyrus imapd 2.4 which holds about 15 GB of messages. Most of the messages are located in the #public namespace. We would like to transfer ...
3
votes
3answers
194 views

Why does cron use MTA to send emails, while we use MUA to send emails?

I have looked at the definitions of MTA, MUA, MDA, for example, https://ccm.net/contents/116-how-email-works-mta-mda-mua and https://en.wikipedia.org/wiki/Email_agent_(infrastructure) In Lubuntu, the ...
0
votes
1answer
9 views

Infer user (mail address) from the pid of imapd process

on my server is installed Courier Mail Server. It happens that one imapd process uses tons of the system resources blocking the entire server. I would like to track down the user (i.e. the mail ...
4
votes
0answers
439 views

Sync gmail using mbsync (isync) on debian linux using XOAUTH2

I am trying to sync my mails from gmail to my local mail server using mbsync. But i keep getting an error Error: SASL(-4): no mechanism available: No worthy mechs found Here is my .mbsyncrc file: #...
0
votes
1answer
340 views

Mixing local and remote IMAP folders in Neo/Mutt and iSync?

I've currently got Neo/Mutt configured alongside iSync for a few different accounts. Everything syncs up and I've got the Mutt client configured roughly how I want it. However, I run into issues when ...
1
vote
0answers
148 views

Sylpheed not auto checking IMAP accounts

I just installed Sylpheed 3.5.1 from the Debian repository. I configured my 3 IMAP accounts (2 GMail and a Yahoo Mail), and they all work properly, sending and receiving mail as they should be. I ...
2
votes
0answers
44 views

Upload email from nnml to Gmail (or IMAP) [closed]

I have just found some tens of thousands of old emails in a Linux subdirectory which I would like to upload to GMail. GMail has an IMAP interface, so if your answer is IMAP-specific, that's ...
0
votes
1answer
545 views

How can I remove emails from IMAP server on Linux shell? [closed]

This question has been replicated under suggestion from this one at StackOverflow, as long as it is a programming issue, but seems to depend on Linux tools. I will post the link to the solution (...
0
votes
0answers
446 views

Complete command line email retrieval for IMAP IDLE

I'm trying to retrieve my mail from command line, and they use mu4e to read them. However, it turns out to be a nightmare to find a program that can do the following stuff: downloads the mail from an ...
0
votes
0answers
214 views

mutt: No mails at all in INBOX

I have configured mutt to connect to my imap server. It logins and send mails successfully but I don't see any messages, it says: Mutt: =INBOX [Msgs:0] But I don't see any errors... This is the ...
1
vote
1answer
211 views

Setup simple Automation system using Email

Trying to setup a simple automation system has proved exceedingly complicated for me. Using scripts, I want to use email to perform remote tasks. The script outline: Send an empty body email with the ...
1
vote
1answer
138 views

How to configure and force users to use IMAP?

I have installed mail server with postfix and dovecot. My clients use The Bat email client software. While sending mails, they use tcp port 587 with STARTTLS. And I disabled tcp port 25 for sending ...
3
votes
0answers
118 views

Tips for Troubleshooting Remote IMAP/SMTP Host Connection with OPENSSL and NMAP

I work in tech support for a company that has an email inbox integration. Users can input IMAP and SMTP host names and ports and we will attempt to open a connection with those ports and host names so ...
0
votes
1answer
189 views

Do I need Dovecot on server if Gmail is hosting our email?

I noticed a recurring error in the mail.log as well as when I run service dovecot status on a server I 'inherited' for my job (used for our production website). We have our MX records pointed to/email ...
1
vote
1answer
675 views

imap-login: Disconnected

I have an email server with public dns entry that sends and receives fine. I am trying to add it to outlook as imap account but it keeps failing. Server error shows Oct 30 15:29:04 mail.example....
0
votes
3answers
908 views

Simplest IMAP configuration without SSL

I'm developing an email client and need a IMAP server without ssl to test with. I have a bare Ubuntu 16.04 install with DigitalOceans I would like to setup as a simple imap server. It doesn't need to ...
2
votes
1answer
632 views

mutt: how to categorize incoming emails

I have a gmail account, mutt is configured to get the mail through IMAP. Yesterday I subscribed to a mailing list and now my personal emails are mixed up with the ones from the list. The list emails ...
0
votes
1answer
66 views

A folder named Folder with contact files created on destination mailbox

I tried to find imapsync options and parameters to sync and delete older emails on destination zimbra 8.7.7 mailbox from zimbra 7.1.4. 2 tests were successful so far but with additional folder named ...
3
votes
3answers
91 views

Find files containing text, but report different part of it as result

I want to find all emails in my IMAP folders that contain a certain text (namely: that are sent to a certain email address). I already found out I can do so by using grep like so: grep -rnw '~/users/...
3
votes
1answer
543 views

Getmail: Connection reset by peer (IMAP Idle)

I am trying to receive mails using getmail from an IMAP Idle server. Since I am able to receive mails using Mac OS' Mail app from another account on the same server (mail adress provider), IMAP Idle ...
1
vote
1answer
74 views

Postfix, Courier, and backups - appropriate file permissions?

Picture a mail store for virtual users. Arriving mail is managed by Postfix (creating new files); access to mail is provided by Courier IMAP (moving files around, deleting files, creating sent mail); ...
3
votes
1answer
255 views

Synchronize IMAP to maildir folders - fast and complete solution with IDLE support?

This is likely to be borderline subjective, but I am searching for good alternatives for command line IMAP to maildir clients: Currently I am using offlineimap, but the docs are lacking, and support ...
3
votes
2answers
496 views

Dovecot rejecting client certificate

I have configured dovecot to use Client certificate authentication. I have used CA.pl (openssl wrapper) to create CA cert and sign client and server certs with that.(no certificate chain, CA cert is ...
1
vote
0answers
719 views

how to configure alpine to list all remote IMAP folders together?

This may be tangential to gmail usage; I registered a domain with gandi.net and want to access that e-mail with IMAP. While I can edit this directly from .pinerc I cannot find this setting through M ...
-2
votes
1answer
108 views

Ubuntu Amazon EC2 Connecting using IMAP [closed]

I have been trying to connect to IMAP on my Ubuntu Server on Amazon EC2, however, I fail to find the reason why it won't be able to connect. I use the following command to test: telnet imap.gmail.com ...
2
votes
1answer
2k views

pine (Alpine) with GMail 2-step Authentication enabled?

I always get a message: IMAP Authentication canceled And then: Retrying plain authentication after [ALERT] application-specific When I look at my google security settings I can't find any option ...
0
votes
1answer
53 views

Port forwarding secure mail ports to the server secure ports?

I have a shared server setup with several users. I'm in the process of securing their E-Mail ports. I have a certificate for the server. And when connecting via servername:993/995/465 it shows the ...
0
votes
1answer
430 views

How to migrate from IMAP dovecot 2.0,19 to 2.2.22 easy and clean?

I need to move, make exact copy from one dovecot server v.2.0.19 on Ubuntu 12.04.5 LTS to another server, dovecot 2.2.22 running on Ubuntu 16.04.1 LTS. The task is everything to be as smooth as ...
5
votes
0answers
390 views

Mail Server send/receive issues [closed]

I have set up a mailserver using Postfix, Dovecot as my SASL and Rainloop as my WebClient. I'm using MySQL (after asking my last question) for my user accounts and passwords, and it's working properly,...
4
votes
3answers
4k views

backup emails from IMAP in readable form

I have headless debian/raspbian linux machine and I would like to backup all my emails via IMAP including all mail and subfolders once daily (connection is secured with SSL/TLS. it should run ...
1
vote
1answer
82 views

Unable to sync email using imapsync

I'm trying to sync my emails from an old server "server2" with a new one "server1" imapsync \ --host1 imap.server1.com --user1 a@bbbccc.com --password1 fdsfdsfsfd \ --host2 imap.server2....
-2
votes
1answer
120 views

What becomes different for a client after the command STARTTLS is sent and a response received [closed]

I'm trying to understand how the command STARTTLS in IMAP works exactly and what becomes different when it's sent. After I've sent the command "STARTTLS" before login process and received the response ...
1
vote
1answer
777 views

dovecot /usr/lib/dovecot/imap-login failed: Permission denied

Upgraded Ubuntu from 14.04lts to 16.04lts, having problems with dovecot, which ran fine under 14.04. Exim4 mail server running fine (receiving and delivering). Purged the dovecot install and deleted /...
1
vote
1answer
340 views

offlineimap : How to prevent moved messages to be marked as new after synchronization?

I am using offlineimap 6.3.4 on a Debian system to synchronize my emails with two different IMAP servers (running Zimbra) and a MS Exchange server (through davmail). Everything is OK except the ...
1
vote
0answers
639 views

cyrus-imapd & SSL

I have an IMAP server running on Fedora (cyrus-imapd-2.4.18-1.fc23.i686) with the following configuration: $ cat /etc/imapd.conf configdirectory: /var/lib/imap partition-default: /var/spool/imap ...
2
votes
1answer
743 views

Sync mail with offlineimap via systemd service/timer; getting password from gnome keyring

I am trying to autosync my mail in mutt using offlineimap via a systemd service. I am using these files and have moved them to the /etc/systemd/user folder. However, I am storing my password via the ...
1
vote
0answers
56 views

Merge accounts on two IMAP servers

My organization offers us two email services (Exchange and Gmail for business, both with IMAP access) under the same name (i.e. I have one single email address and I get to choose to which server my ...
1
vote
0answers
32 views

In case of success login via IMAP, an email server replies without “OK” and tag

When I'm doing IMAP authentication of one the public email servers and login is successful I believe, it replies like this: * CAPABILITY IMAP4rev1 ID XLIST UIDPLUS UNSELECT MOVE LIST-STATUS There's ...
0
votes
0answers
47 views

mail server for small MX domain & few email accounts

Is there some free software mail server for Linux (at least IMAP + SMTP), offering also some web interface and good spam filtering, which is specialized for small MX (in the DNS) sense, and few email ...
0
votes
1answer
43 views

IMAP — what are the most popular versions used these days?

I can't find any information about the status of IMAP version 4 and how widely it's used nowadays and how widely other versions, 1, 2 and 3 are used. So is IMAP version 4 common these days? What ...
1
vote
1answer
34 views

How to upload my emails to another email server I've downloaded via IMAP from my 1st one?

I want to download my emails via IMAP from email account and upload them to another. I want to do that manually in Python. I know how to retrieve my emails via IMAP, but how can I actually "upload" ...
3
votes
1answer
877 views

How do I restart offlineimap?

I have offlineimap running on a cron job with */10 * * * * offlineimap -q -u quiet. Every once in a while it seems to get interrupted, and when that happens I can't restart it. If I try to run it from ...
1
vote
0answers
745 views

How to login to imap server with email address for unix users?

I'm being able to login to imap with the unix user name # telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR ...
1
vote
0answers
382 views

How to set up Mutt and Spamassassim

I've got Mutt to access and read my gmail, but in the inbox, it includes all the mail that the gmail interface hides in two tabs (I think they're called labels) called 'Social' and 'Promotions'. I'd ...
3
votes
1answer
1k views

GNU Emacs Gnus can't connect to gmail IMAP

I'm in the process of configuring Gnus to retrieve emails from my gmail account via IMAP. I have done as recommended at https://www.emacswiki.org/emacs/GnusGmail, however I keep on getting errors from ...
0
votes
0answers
23 views

how to detect who changed mail status in shared IMAP mailbox

Is that possible to know from the imap / dovecot logs which user performed which operation (ie. delete, status change) on mail in shared IMAP mailbox?
0
votes
0answers
596 views

Dovecot Authentication with MySQL and Horde Webmail

I am looking into setting up my web server to have its own IMAP/POP/SMTP server. For the IMAP and POP3 and I am using Dovecot and the webmail I am using Horde. Its all mostly working, I can ...
1
vote
0answers
168 views

Cyrus Performance Tweaks?

I have been working with RC for a long time and I know some awesome SQL tweaks that work wonders, etc. My tweaks haven't done a single thing for the kolab install. This the first time I've worked with ...