Use wrapper shell script.
Below please find trivial sample script checking connection status as reported by Unix/Linux NetworkManager.
# exit if there is no internet connection
/usr/bin/nm-online || exit
Emacs fix (use wrapper instead of directly using offlineimap):
(setq mu4e-get-mail-command "/home/me/bin/offlineimap-...
(Posting this Q&A combo since it took me a while to figure out, and it might save someone else the trouble.)
this answer to
a question on how to test for an internet connection within elisp,
we can call a shell command:
(defun internet-up-p (&optional host)
(= 0 (call-process "ping" nil nil nil "-c" "1" "-W" "1"
Google Mail uses a proprietary—it doesn't appear to be standardised nor used anywhere else—SASL extension named XOAUTH2 to support OAuth 2.0 tokens for SMTP/IMAP authentication. See IMAP and SMTP for more information about these extensions. These OAuth tokens are supplied by the Google Identity Platform API which—among other things—provides the familiar ...
3.9.2 Thread Commands
Mark all articles in the current (sub-)thread as read
(‘gnus-summary-kill-thread’). If the prefix argument is positive,
remove all marks instead. If the prefix argument is negative, tick
— (info "(gnus) Thread Commands")
And please do not ask me, how should ...
I don't think that's specifically Emacs-related. Your problem seems to be that you only have access to ports 80/443, and Gmail doesn't provide IMAP access over those: they only have 993 open for IMAP/SSL
See https://support.google.com/mail/troubleshooter/1668960 for reference
So unless you can bypass your proxy (by means of an external gateway for example),...
I was able to find the solution after all. I figured out that the variable nnimap-shell-programm was always back to the default after starting gnus. And the process list showed
ssh Mail imapd
The Gnus manual was only partially helpful because it says this about nnimap-stream shell
If you need to tunnel via other systems to connect to the ...
I'm not quite sure what you mean by "disappear". If they are still around, but not visible, when in the actual mail group you can hit / o - which is gnus-summary-insert-old-articles, and all the old articles will show up.
If the old articles are being expired, you can change that as follows:
In the gnus Group buffer, move to the mail group in question. Then ...
I realize I am answering my own question. But leaving it here so that it is helpful for someone in the future.
It turns out it was a quirk with the IMAP server I was using. (URL in the question)
I had to turn on "Expunge immediately" option in the Server settings for the changes from mu4e to reflect on the server.
Sorry, but there is no Emacs package presently available that can use the Mail.app database. The only option will be to have 2 separate databases. To save space, consider just downloading the headers only (some or all) and sparingly download attachments as needed.
To see write-ups on several mail-related packages for Emacs, see:
Reading and writing email ...
First, add your folder to Wanderlust: in the Folders buffer, say:
m a .~/path/to/folder
Then switch to the folder, and mark the whole summary buffer:
M-< C-SPC M->
Mark all the messages for copying into the destination folder:
r O %INBOX
and execute the copy:
In Gnus it's called "splitting" the mail. It's covered in section 6.4.3 of the Gnus manual. (run M-: (info "(gnus)Splitting Mail") to jump right to it. Here's an example from the manual:
'(("mail.junk" "^From:.*Lars Ingebrigtsen")
You can see ...
Configure wl-biff-check-folder-list and the function wl will activate wl-biff-start when launching Wanderlust. There are other variables that begin with wl-biff-... that the original poster may wish to customize.
To read where this configuration takes place, type: M-x find-function RET wl RET (after the wl library has been loaded, of course). The ...
You can do a generic scan for any Gnus backend. Look at gnus-group-get-new-news-this-group:
gnus-group-get-new-news-this-group is an interactive compiled Lisp
function in `gnus-group.el'.
(gnus-group-get-new-news-this-group &optional N DONT-SCAN)
Check for newly arrived news in the current group (and the N-1 next groups).
The difference between N and ...
Unless your mail provider provides IMAP/SMTP access on ports 80/443, you are out of luck. No email client can be tuned to give access to a port that is being blocked by a firewall.
When I am in these circumstances, I use a VPN such as OpenVPN (e.g. with a third party service provider) that CAN be accessed over these ports.
Then, you can tunnel all of your ...