Questions tagged [imap]

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

Filter by
Sorted by
Tagged with
-1 votes
1 answer
23 views

How to set the X-Google-Original-From header in Alpine (Pine) email?

Why the random down-vote? At least say what the problem with the question is. I'm using Gmail and Alpine for e-mail with IMAP. Mail sent from Alpine has this field: X-Google-Original-From: foo <...
Nicholas Saunders's user avatar
0 votes
0 answers
27 views

Moving a message to a different IMAP folder in mutt

Let's say I do $ mutt -f imaps://.......%40...........:[email protected]/INBOX.Spam and I want to move a certain message there in INBOX.Spam to INBOX.Junk . How do I do that? How to switch IMAP ...
Dan Jacobson's user avatar
0 votes
2 answers
74 views

I need to create a pipe to convert string from UTF-8 to UTF-7-IMAP

To automate the command line creation of hundreds of directories in IMAP maildirs, I would need to be able to convert UTF-8 strings to UTF-7-IMAP on the fly. In php, I found a way to do it with a ...
Chris972's user avatar
0 votes
0 answers
24 views

Any successor to “Open all links” of Thunderbird?

For the ancient Thunderbird 1.5, there was an add-on “Open all links”, which, according to its description, opened “all http(s) links in an e-mail message with a single click”. A development of this ...
AlMa0's user avatar
  • 181
0 votes
0 answers
24 views

Thunderbird does not honor the configured archive location if it's an IMAP folder on another account

I have my mail archives on a local IMAP server (to easily backup them and to not be dependent on a certain mail client) If I configure another IMAP account to use a folder on this local IMAP account ...
snaut's user avatar
  • 101
1 vote
0 answers
70 views

What does the dovecot acl plugin actually do?

Can I reasonably do shared mailboxes without the acl plugin? I do personal mailbox sharing completely with unix permissions: i.e. some accounts put their mailboxes in a unix group so that everyone in ...
Robert Siemer's user avatar
0 votes
1 answer
157 views

Is it possible to ignore "Inbox" folder when using IMAP (mbsync)?

I can't find a clear answer whether "Inbox" folder is necessary to sync when using IMAP protocol. I can't seem to uncheck it on gmail and mbsyncrc (mbsync's config file) seems to require an &...
Daniel Krajnik's user avatar
3 votes
1 answer
244 views

How do I change the user agent of K-9 Mail's IMAP client on Android?

I'm trying to use k-9 mail on android to connect to my organization's IMAP server which is being run as an outlook.office365.com service. As I'm sure many of you know, Microsoft recently turned off ...
user1794469's user avatar
  • 3,967
0 votes
0 answers
44 views

Need to be able to specify IP address of IMAP server on local network

I have an IMAP server that can be accessed from a public address that is behind a firewall. It has correct SSL certificates for the public name. It is easy to test this server from the private ...
EdHorton's user avatar
0 votes
1 answer
559 views

How to search for emails via IMAP in command line?

I want to search on an IMAP server for whether I have sent, cc, or received emails from certain email addresses, if so retrieve the title and snippets of message bodies. https://tewarid.github.io/2011/...
user1424739's user avatar
0 votes
1 answer
172 views

Dovecot is showing the wrong expiration date for the imap certificate

I am running dovecot dovecot-2.3.8-9.el8.x86_64 on CentOS Linux release 8.5.2111 I have nagios checks warning me if the imap certificate in about to expire. Recently I got just such an alert. However, ...
Aditya K's user avatar
  • 2,010
0 votes
0 answers
27 views

How to back up email to local filesystem? [duplicate]

I am moving to a different email provider. It will be the same email address, though. How do I back up the full account, all messages and attachments, to the local filesystem so that I can restore it ...
Travis Well's user avatar
0 votes
0 answers
13 views

mutt showing incorrect dates in main list and when opening the emails

Have mutt reading my gmail by IMAP. The email dates seem to be correct up until the current date & time (ie. the most recent email). Then it starts listing old emails with nonsensical dates. From ...
eplictical's user avatar
1 vote
1 answer
167 views

does mbsync know i deleted folders?

Newly working with neomutt and mbsync. I did an initial grab of all my mail and folders which was fine. Then I started organizing my folders and mail. Some of the folders (or "mailboxes") ...
examplebear's user avatar
0 votes
1 answer
120 views

cyrus imap does not start lmtp tcp socket, error message: Servname not supported for ai_socktype, disabling lmtp

Problem: When starting cyrus imap with the following line in /etc/cyrus.conf: SERVICES { ... lmtp cmd="lmtpd -a" listen="[192.168.50.100]:lmtp" prefork=1 proto=tcp4 } ...
Arigion's user avatar
  • 152
1 vote
1 answer
123 views

MacOS standard Apple email client, incoming mail arrives in trash folder. How to stop this?

Apologies if this is the wrong place to ask. (Can you suggest a better one?) I'm setting up a brand new Macbook Air (Oct 2022) for an older neighbor. The ISP is att.net The email protocol is standard ...
Peter vdL's user avatar
  • 131
1 vote
0 answers
190 views

dovecot: Force TCP socket disconnect on imap login failure?

I'm running dovecot 2.2.13 under Debian 8. I'd like to force an immediate TCP socket disconnect after any imap login attempt that fails. Right now, if invalid credentials are supplied during an imap ...
HippoMan's user avatar
  • 565
0 votes
0 answers
75 views

How to make (cyr)deliver put messages into mailboxes whose names contain space characters?

Since quite a while, I am running Cyrus imapd, which generally works fine. Now, for the first time, I am in a situation where I need to use cyrdeliver (the MDA which comes with Cyrus imapd) to deliver ...
Binarus's user avatar
  • 3,240
0 votes
0 answers
269 views

Migrating user IMAP files/data to another hard drive/server

Due to a machine crash, I need to move my mail server to another host. This includes user IMAP, but as the old server is not accessible I can't just drag and drop in an imap client application like ...
Don Levey's user avatar
1 vote
0 answers
1k views

How to switch IMAP folder in mutt?

Hello how do I switch between IMAP folders in mutt? I have several folders in one IMAP account: Inbox Sent Trash Old Spam ... etc but all I can see is inbox. I have tried reading the help text, and ...
turtle's user avatar
  • 186
1 vote
0 answers
65 views

Easiest IMAP archiver for multiple accounts

I'm pretty new to linux, Im running Ubuntu at the moment. On windows I was using a service called "mailstore" to archive the entire contents of multiple email accounts. I've seen a few ...
Jim's user avatar
  • 11
0 votes
0 answers
415 views

Mail Retrieve Software for Microsoft 365

As Microsoft 365 is moving to Oauth2, and Fetchmail didn't release a stable version supporting it (only an Alpha on the version 7, but not solid), my organization is looking for a IMAP mail retrieve ...
Edoardo Zucchelli's user avatar
3 votes
0 answers
495 views

How does Kmail store offline IMAP

I use KMail, and I have mail from Local Folders and an IMAP account. For the IMAP account, I have Download all messages for offline use enabled. My understanding is the offline IMAP messages are ...
wdb's user avatar
  • 163
0 votes
0 answers
31 views

IMAP Service in front of Pop3

I'm running a system that includes integrated email support (Synchronet), and while there's an in progress IMAP service in progress, it's rather buggy and doesn't seem to work well with Thunderbird at ...
Tracker1's user avatar
  • 101
2 votes
1 answer
3k views

Prevent Thunderbird from downloading old messages

After reinstalling the email client Thunderbird and configuring my email account using IMAP, Thunderbird starts to download all old messages. Judging from the time it takes it seems like entire ...
August Karlstrom's user avatar
3 votes
1 answer
665 views

IMAP authentication by Mutt: Is Mutt transmitting password in plaintext?

I have recently started using mutt to access my email account via IMAP. My IMAP connection settings are as follows: set ssl_starttls = yes set ssl_force_tls = yes set imap_user = "username@domain....
sghosh's user avatar
  • 137
0 votes
0 answers
139 views

simpler alternative to Dovecot for receiving emails on Centos 8

We want to receive emails on our server, so when we setup MX DNS record, the emails sent to that domain could be seen on the server I wonder if there is any simpler alternative to Dovecot for ...
Ali EL KANDOUSSI's user avatar
3 votes
5 answers
2k views

How to properly decode utf7 file names obtained from an IMAP server

I have a few directories that I downloaded from an IMAP server. Example: $ find . -maxdepth 1 . ./&BCEEPwQwBDw- ./&BCMENAQwBDsENQQ9BD0ESwQ1- ./inbox ./&BCcENQRABD0EPgQyBDgEOgQ4- ./&...
Vladimir Nikishkin's user avatar
2 votes
0 answers
871 views

mbsync/isync -> GUI mail client + mutt

I have been using mbsync+mutt for years successfully, managing a number of post boxes for accounts with different mailservers. Now there is reason for me (some business emails are so deep with html ...
HellSchwarz's user avatar
2 votes
2 answers
1k views

OAUTHBEARER authentication fails in mutt

I've used OAUTHBEARER authentication to use mutt with GMail for a while, but I've run into a an issue that I can't figure out. When I launch mutt I get OAUTHBEARER authentication failed. Here is ....
Chris W.'s user avatar
  • 1,239
1 vote
0 answers
226 views

make mbsync+IMAP behave like POP

My work insists on Outlook365 and I use it in the most minimal way possible. That is, I pull email to my local machine à la POP and manage it there. Because of recent migration to MFA I have had to ...
healyp's user avatar
  • 111
0 votes
1 answer
560 views

dovecot authentication against passed-file

currently i am facing some issues with dovecot and authentication against a passed-file. Here some details about the environment: Centos 7 (3.10.0-042stab142.1) postfix (2:2.10.1-9.el7) dovecot (1:2....
Calor Holderheck's user avatar
1 vote
0 answers
173 views

How to keep dovecot from creating .imap directories if IMAP is disabled?

Since several years and through the last three Debian distributions, I am running dovecot as a POP3 server. In general, it works as expected, and I'm happy with it. However, there is one little issue ...
Binarus's user avatar
  • 3,240
0 votes
1 answer
431 views

Is there any IMAP/POP3 rely and archiving server application?

Classic email setup: [REAL-MAIL-SERVER] [IMAP/POP3 >] ---------> [EMAIL-CLIENT] [Storage] Is there any server application (open source) that would permit to store ...
intika's user avatar
  • 14.2k
2 votes
1 answer
1k views

MBSync Maildir++ to IMAP with subfolder in INBOX

I am trying to use MBSync to sync a local Maildir++ folder (dovecot mail data) into a remote IMAP mailbox. While it works in general, subdirs of INBOX are ignored. Config looks like this: ...
Nitek's user avatar
  • 121
0 votes
0 answers
67 views

Ubuntu 14.04 How do I fix the imaplib.readonly error?

I'm trying to use an imap script to view emails from a server. My script is able to log in fine, I get the 'OK Logged in' message, it's able to list the mailvoxes and dump untagged responses. After ...
Abbishek's user avatar
0 votes
1 answer
160 views

How do I disable SASL in KMail?

I have a laptop running KMail 5.7.3 on Bionic Beaver. I just got a new computer with Eoan Ermine and am trying to set up Kmail 5.11.3 to use the same IMAP server. I set up the IMAP account, tried to ...
Pierre Abbat's user avatar
1 vote
0 answers
333 views

Possible to make mbsync (isync) update multiple multiple IMAP folders at once?

When running mbsync -a, it goes over each folder, updating it. This gets slow if you have many folders (20+ for e.g.). Is there a way to update multiple folders at once?
ideasman42's user avatar
  • 1,171
0 votes
1 answer
189 views

How are images in imap mails supposed to be stored?

On a mail server running postfix and dovecot with imap, mails are stored plain on the disk. Within those mails, we have discovered that mails are stored in 2 ways. The image is embedded as a base64 ...
TuxStash.de's user avatar
3 votes
1 answer
2k views

How to get subject of gmail letter with curl?

I use curl in my Lua program to get new mail list. I am trying to send request like this local head_command = "curl --connect-timeout 30 -fsm 30" local server = "imap.gmail.com" local mail ...
Kirill Bugaev's user avatar
0 votes
0 answers
434 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 | |...
Manoj Kummini's user avatar
2 votes
0 answers
76 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. ...
Heavy Mod's user avatar
0 votes
1 answer
115 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 ...
golimar's user avatar
  • 407
1 vote
1 answer
1k 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 ...
adrianhb's user avatar
3 votes
3 answers
2k 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 ...
Tim's user avatar
  • 100k
0 votes
1 answer
34 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 ...
Lorenzo's user avatar
  • 101
5 votes
0 answers
2k 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: #...
SomeGuyFortune's user avatar
0 votes
1 answer
2k 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 ...
Chris Vincent's user avatar
1 vote
0 answers
559 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 ...
theJack's user avatar
  • 111
2 votes
0 answers
66 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 ...
James Youngman's user avatar