Gnus development mailing list
 help / color / mirror / Atom feed
From: bk@asterio.cloud
To: ding@lists.math.uh.edu
Subject: Yet another thread about Gnus, isync and dovecot mail stack
Date: Sun, 07 Aug 2022 20:34:39 +0200	[thread overview]
Message-ID: <917917b536172fa16ea4e890471b535f@asterio.cloud> (raw)

Hi,
I am asking you about help with basic configuration and available 
sources [1][2][3] are not enough for me.
Using mbsync I successfully synchronize e-mails with my IMAP provider. I 
have problem with connection from Gnus to local dovecot server and I'm 
stuck now.

Current configuration of ~/.mbsyncrc (inspired heavily on [4]:
IMAPAccount gandi
Host mail.gandi.net
User bk@asterio.cloud
PassCmd "/usr/bin/pass email/bk"
SSLType IMAPS
CertificateFile /var/lib/ca-certificates/ca-bundle.pem

IMAPStore gandi-remote
Account gandi

MaildirStore gandi-local
SubFolders Verbatim
Path ~/.mail/gandi/
Inbox ~/.mail/gandi/Inbox

Channel gandi
Far :gandi-remote:
Near :gandi-local:
Patterns *
Create Both
Expunge Both
SyncState *

My /etc/dovecot/dovecot.conf contains (inspired Eric's post and [5]):
protocols = imap
listen = localhost
ssl = no
disable_plaintext_auth = no
mail_location = maildir:~/.mail:LAYOUT=fs
auth_verbose = yes
auth_mechanisms = plain login
passdb {
   driver = passwd-file
   args = /etc/dovecot/passwd
}
userdb {
   driver = static
   args = uid=bk gid=users home=/home/bk
}

And finally my ~/.gnus is simply:
(setq gnus-select-method
       '(nnimap "asterio.cloud"
	       (nnimap-stream network)
	       (nnimap-address "localhost")
	       (nnimap-authenticator login)
	       (nnimap-user "bk")))

During connection Gnus I see logs in *MESSAGES* buffer:
Opening nnimap server on asterio.cloud...failed: BAD NULs not allowed in 
strings

dovecot logs says:
imap-login: Disconnected: Connection closed (no auth attempts in 2 
secs): user=<>, rip=::1, lip=::1, secured, 
session=<bnKv3qrl+rcAAAAAAAAAAAAAAAAAAAAB>

What I can check more?

1. https://ericabrahamsen.net/tech/2014/oct/gnus-dovecot-lucene.html
2. https://github.com/gongzhitaao/GnusSolution
3. https://www.mail-archive.com/info-gnus-english@gnu.org/msg13957.html
4. https://wiki.archlinux.org/title/isync#Configuring
5. 
https://doc.dovecot.org/configuration_manual/howto/simple_virtual_install/


             reply	other threads:[~2022-08-07 18:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07 18:34 bk [this message]
2022-08-07 20:25 ` bk
2022-08-08 15:18   ` Greg Troxel
2022-08-10  6:38     ` Bartosz Kaczyński
2022-08-08 15:59 ` Eric Abrahamsen
2022-08-10  6:34   ` Bartosz Kaczyński

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=917917b536172fa16ea4e890471b535f@asterio.cloud \
    --to=bk@asterio.cloud \
    --cc=ding@lists.math.uh.edu \
    /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).