Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: info-gnus-english@gnu.org
Subject: Re: Duplicate groups (IMAP)
Date: Sat, 27 May 2017 01:41:41 +0200	[thread overview]
Message-ID: <87efvbgp8q.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <878tljjn1e.fsf@ankarstrom.se>

John writes:

> Here's the configuration, if it's relevant:
> https://pastebin.com/raw/Nr3K3eXm

I usually prefer to have all my servers in gnus-secondary-select-methods
and setting gnus-select-method to '(nnnil).

This way all groups have their type and servername prefixed, and no
server is special.

I know this doesn't really answer your question, but...

                                 · ⌛ ·

I might guess that what happens with your configuration is that Gnus
thinks you have two servers, the one in your gnus-select-method and the
other defined by your nnmail-expiry-target/gnus-message-archive-method.

You could check this by going to the server buffer (type ^ in the
*Group* buffer, exit by typing q), and seeing how many servers are
listed.

If that is the cause, then my suggestion should fix the problem. I think.

Also, your nnmail-expiry-target has nnimap+my-domain.com, the two other
have mail.my-domain.com. If that isn't a typo, I think it should/will
cause problems.

                                 · ⌛ ·

Ok, I just tested it, and I'm pretty sure this is your problem. I would
suggest trying changing your configuration to:

  (setq gnus-select-method '(nnnil))

  (setq my-server '(nnimap "my-domain"
                           (nnimap-address "mail.my-domain.com")
                           (nnimap-server-port "imaps")
                           (nnimap-stream ssl)))

  (setq gnus-secondary-select-methods `(,my-server))

  (setq nnmail-expiry-target "nnimap+my-domain:Trash"
        nnmail-expiry-wait   'immediate)

  (setq send-mail-function    'smtpmail-send-it
        smtpmail-smtp-server  "mail.my-domain.com"
        smtpmail-stream-type  'starttls
        smtpmail-smtp-service 587)

  (setq gnus-message-archive-method my-server
        gnus-message-archive-group "Sent")

  (setq gnus-gcc-mark-as-read t)


  Best regards,

    Adam

-- 
 "Archbishop of anarchy"                                      Adam Sjøgren
                                                         asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2017-05-26 23:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26 22:01 John Ankarström
2017-05-26 23:41 ` Adam Sjøgren [this message]
2017-05-27  7:41   ` John Ankarström
2017-05-27 14:41     ` Adam Sjøgren
2017-05-27 15:07       ` John Ankarström
2017-05-27  7:27 ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efvbgp8q.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).