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
1k views

IMAP Dovecot cannot connect

I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message: imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<...
0
votes
0answers
38 views

fail2ban not blocking access to imap ports

I have a mail server with dovecot. I run fail2ban on it, with the jail [dovecot] enabled. Here is the status of that jail. # fail2ban-client status dovecot Status for the jail: dovecot |- Filter | |...
1
vote
0answers
6 views

Train spamassassin remotely using a single email account set up for both POP and IMAP

I use multiple devices ( desktop / laptop / iphone / ipad ). I use POP because my desktop has extensive folders that I do not want to upload/share with a server, or take up space on my mobile devices. ...
0
votes
1answer
3k views

dovecot not starting : service(imap) access(/usr/lib/dovecot/imap) failed

I have installed dovecot but the service is not running. I have verified using ps -A | grep dovecot and service dovecot status The test says : dovecot stop/waiting In the /var/log/mail.err and ....
0
votes
1answer
25 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 ...
3
votes
1answer
4k views

SMTP Auth - SASL on Dovecot, Postfix and CentOS 6.2 (and Open-Xchange)

I am trying to get open SASL to work on CentOS 6.2. I followed this tutorial: http://wiki.centos.org/HowTos/postfix_sasl I suspect it works perfectly for CentOS 5.x so all I really need is an update ...
0
votes
3answers
950 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 ...
11
votes
1answer
26k views

Postfix: disable authentication through port 25

When using Postfix and IMAP on a mailserver, at least 3 ports are usually opened 25 smtp : incoming emails from anybody (whole internet) 465 smtps : outgoing emails from authorized users (to the ...
0
votes
0answers
453 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 ...
12
votes
3answers
3k views

Mutt: Automatically subscribe to IMAP mailboxes

I'm using a bunch of mailboxes in mutt which are populated by imapfilter. To avoid manual reconfiguration (by going to the folder list and pressing s at every new entry), I'd like to configure mutt to ...
3
votes
1answer
6k views

unable establish remote imap connection, why not?

A remote CentOS 7 web server is able to successfully receive email sent from elsewhere on the internet addressed to me@mydomain.com . An app running on the same CentOS 7 server is able to use ...
1
vote
1answer
750 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
2answers
33 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 ...
3
votes
1answer
269 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
1answer
1k views

recover email from imap account using mailx

I am having problems fetching emails with mailx. My imap account uses ssl/tls connection with normal password authentication on port 993. I don't have any problems sending through smtp though. Here is ...
1
vote
0answers
170 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 ...
3
votes
1answer
893 views

Can Apache Web server Respond to SMTP/IMAP/POP3 requests?

I want to know what functions are provided by the Apache 2.4.9 Web server on Fedora 20. I understand that Apache responds to HTTP request only. I believe that SMTP and POP3 protocols don't use HTTP. ...
2
votes
3answers
217 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 ...
46
votes
6answers
23k views

Gmail blocking mutt

When I try to log in to gmail with mutt, it flashes a quick Webalert with a url, something like accounts.gmail.com or something. It's too quick for me to see or copy it. Then it says Login failed. ...
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 ...
2
votes
2answers
1k views

Dovecot POP3S & IMAPS SSL Certificate that works for all user domains

I have a mail server I'm trying to setup to service 6 domains. I will have multiple mail users accessing the server via POP3S or IMAPS. Currently in MS Outlook, they are receiving an unverified SSL ...
1
vote
0answers
2k views

postfix + Cyrus SASL - cannot connect to saslauthd server: No such file

Everything is up and running and answer on calls but the login for postfix doesn't seem to work (it works for Courier IMAP, just not postfix). Here's the error output: Jun 30 22:22:10 HOST postfix/...
0
votes
1answer
10 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
497 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
376 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
167 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 ...
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
3answers
3k views

Remove/Delete Attachments from email server (IMAP)

I have a rather large quantity of emails on my mail server (IMAP) which contain attachments (PDF's, etc.) These attachments waste space--my HDD space on server is limited by my hosting company--and I ...
0
votes
1answer
564 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
220 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 ...
3
votes
1answer
892 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 ...
2
votes
1answer
759 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 ...
4
votes
2answers
1k views

mutt SSL unknown protocol - not able to connect

I am facing following situation. I am using arch linux I installed mutt the email client I followed the simple guidelines in the arch wiki to configure mutt to use imap For the simple config where no ...
1
vote
1answer
236 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 ...
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 ...
1
vote
0answers
744 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 ...
1
vote
1answer
144 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
119 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
193 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 ...
10
votes
1answer
3k views

Using Trash with Mutt: Does it make sense? [closed]

I come from Thunderbird, which I found to be bloatware with spontaneous hiccoughs using 20–40% of processing power, weak IMAP and local mailfolder handling and a constant 100–500MB of RAM use. But it ...
6
votes
4answers
7k views

Backup and restore IMAP mail account with (open source) Linux tools

Which Linux tools help to backup and restore a IMAP mail account including all mail and subfolders? I expect disconnects for large IMAP accounts because of ressource limitiations on the server ...
6
votes
1answer
876 views

Greek characters in mutt's sidebar (mailboxes names sourced via offlineimap)

Mutt's sidebar, does not read properly Greek characters (mailboxes named by using Greek characters). Anyhow, there is no such problem inside both the index and the pager, where Greek characters/words/...
2
votes
1answer
669 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 ...
1
vote
1answer
351 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
1k views

Restoring a Particular User's mdbox Mailbox in Dovecot

A user is reporting lost emails due to a client-side error, so I need to restore emails from backup for this particular user but I'm not finding anything online (maybe my google-fu is lame). ...
2
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
558 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); ...