]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable MOVE more for Dovecot
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 14 Mar 2016 19:23:30 +0000 (20:23 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 14 Mar 2016 19:23:30 +0000 (20:23 +0100)
* lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also
disable MOVE when expirying.
(nnimap-split-incoming-mail): And when splitting mail.

lisp/gnus/nnimap.el

index 90de1682861817e3e1f3105b9e1b2755a72972c4..2e2ec59aa5dfd255c9b4e0d5051d86345715bcc1 100644 (file)
@@ -997,7 +997,8 @@ textual parts.")
       (and (nnimap-change-group group server)
           (with-current-buffer (nnimap-buffer)
             (nnheader-message 7 "Expiring articles from %s: %s" group articles)
-             (let ((can-move (nnimap-capability "MOVE")))
+             (let ((can-move (and (nnimap-capability "MOVE")
+                                 (equal (nnimap-quirk "MOVE") "MOVE"))))
                (nnimap-command
                 (if can-move
                     "UID MOVE %s %S"
@@ -2068,7 +2069,8 @@ Return the server's response to the SELECT or EXAMINE command."
                                  nnmail-split-fancy))
          (nnmail-inhibit-default-split-group t)
          (groups (nnimap-get-groups))
-          (can-move (nnimap-capability "MOVE"))
+          (can-move (and (nnimap-capability "MOVE")
+                        (equal (nnimap-quirk "MOVE") "MOVE")))
          new-articles)
       (erase-buffer)
       (nnimap-command "SELECT %S" nnimap-inbox)