info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuration example for mbsync + dovecot + Gnus


From: Garjola Dindi
Subject: Re: Configuration example for mbsync + dovecot + Gnus
Date: Mon, 25 Jan 2021 19:11:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Mon 25-Jan-2021 at 17:31:14 +01, Eric Abrahamsen
<eric@ericabrahamsen.net> wrote: 
> Garjola Dindi <garjola@garjola.net> writes:
>
>> Hi,
>>
>> I would like to move from a nnmaildir + OfflineIMAP configuration to
>> something which:
>>
>> 1. scales better for large number of messages than nnmaildir and
>> 2. does not use OfflineIMAP (Python 2 based and sometimes slow).
>>
>> I understand that some Gnus users use a local IMAP server with dovecot
>> and the nnimap backend.
>>
>> I found these interesting instructions here:
>>
>> https://ericabrahamsen.net/tech/2014/oct/gnus-dovecot-lucene.html
>
> I'm still using this setup! You didn't say what was going wrong, but
> here's a sample config block for one of my IMAP accounts:

Thanks for your answer! 

With respect to the 2014 post, for the mbsync part, I had to change

,----
| UseIMAPS no
| UseTLSV1 no 
`----

to this

,----
| SSLType IMAPS
| SSLVersions TLSv1.2
`----

and also add the port as you have in the example you just gave.

And now I also see that for the local dovecot, you have

,----
| AuthMechs LOGIN
`----

which was not the case in the blog post. This may be why I was getting
an authentication failure.

I will try again with this updated configuration (my next scheduled
session to play with this is next week-end!).

Do you remember having also updated dovecot.conf or other things?

Thanks!

>
> IMAPAccount ea
> Host mail.ericabrahamsen.net
> User eric@ericabrahamsen.net
> PassCmd "/usr/bin/pass email/ea"
> SSLType STARTTLS
> Port 143
>
> IMAPStore ea-ro
> Account ea
>
> IMAPAccount local-ea-dovecot
> SSLType None
> Host localhost
> User eric-local@ericabrahamsen.net
> Pass <boguspassword>
> AuthMechs LOGIN
>
> IMAPStore ea-daemon-local
> Account local-ea-dovecot
>
> Channel ea
> Master :ea-ro:
> Slave :ea-daemon-local:
> Patterns *
> Create Both
> Expunge Both
> Remove Both
>
> _______________________________________________
> info-gnus-english mailing list
> info-gnus-english@gnu.org
> https://lists.gnu.org/mailman/listinfo/info-gnus-english

-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]