gnutls Cipher-Settings/Syntax

2021-08-20 Thread Stefan Rohnke
Hello,
I want to configure mutt to receive imap via arcor.de
This Message is in logile:
[2021-08-20 14:56:36] gnutls_handshake: A packet with illegal or unsupported 
version was received.

I change the ssl_ciphers="" to "NORMAL"
I Try SEURE256 and other changes.

Can anyone help to resolve this problem?

Best regard
Stefan Rohnke



Re: gnutls Cipher-Settings/Syntax

2021-08-20 Thread Kevin J. McCarthy

On Fri, Aug 20, 2021 at 03:00:50PM +0200, Stefan Rohnke wrote:

Hello,
I want to configure mutt to receive imap via arcor.de
This Message is in logile:
[2021-08-20 14:56:36] gnutls_handshake: A packet with illegal or unsupported 
version was received.


Sometimes this error occurs if the server is using an old version of TLS 
(1 or 1.1), which are disabled by default in Mutt.  See $ssl_use_tlsv1 
and $ssl_use_tlsv1_1 in the manual.


However, I tried running 'openssl s_client -connect imap.arcor.de:993' 
and it reported TLS 1.2, which should be fine.  What is the URL you have 
Mutt configured to connect to?


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: gnutls Cipher-Settings/Syntax

2021-08-20 Thread Kevin J. McCarthy

[Please reply to the mailing list, not directly to me.  Redirecting back to
the mailing list]

On Fri, Aug 20, 2021 at 07:16:56PM +0200, Stefan Rohnke wrote:

Am Fri, Aug 20, 2021 at 09:08:23AM -0700 schrieb Kevin J. McCarthy:
> What is the URL you have Mutt configured to connect to?



https://imap.arcor.de:465 is the url.


Port 465 is the smtps submission port.  I can't get a response from that port
myself.


When I change ssl_cipers to:
ssl_ciphers="NORMAL:+VERS-TLS1.2"
Or every other Parameters i get the following Message:
[2021-08-20 19:13:13] 
gnutls_priority_set_direct(NORMAL:+VERS.TLS1.2:-VERS-TLS1.2:-VERS-TLS1.1:-VERS-TLS1.0):
 Die Anfrage ist ungültig.


"-VERS-TLS1.2" is appended to the string if $ssl_use_tlsv1_2 is unset.
However, by default, that variable is set.  You should check your muttrc to
see if you have unset it somewhere.

-Kevin


signature.asc
Description: PGP signature


Re: gnutls Cipher-Settings/Syntax

2021-08-20 Thread Wim
On Friday, 20 August at 19:32, Kevin J. McCarthy wrote:

Hi Stefan,

I used to be a Arcor customer. After the Vodophone takeover of Arcor I
started receiving much more spam than before. I left Arcor quite soon
after. I think that the email services from Arcor are not maintained
anymore.

> On Fri, Aug 20, 2021 at 07:16:56PM +0200, Stefan Rohnke wrote:
> > Am Fri, Aug 20, 2021 at 09:08:23AM -0700 schrieb Kevin J. McCarthy:
> > > What is the URL you have Mutt configured to connect to?
>
> > https://imap.arcor.de:465 is the url.
>
> Port 465 is the smtps submission port.  I can't get a response from that port
> myself.
>
> > When I change ssl_cipers to:
> > ssl_ciphers="NORMAL:+VERS-TLS1.2"
> > Or every other Parameters i get the following Message:
> > [2021-08-20 19:13:13] 
> > gnutls_priority_set_direct(NORMAL:+VERS.TLS1.2:-VERS-TLS1.2:-VERS-TLS1.1:-VERS-TLS1.0):
> >  Die Anfrage ist ungültig.
>
> "-VERS-TLS1.2" is appended to the string if $ssl_use_tlsv1_2 is unset.
> However, by default, that variable is set.  You should check your muttrc to
> see if you have unset it somewhere.
>
> -Kevin

  |\  _,,,---,,_
ZZZzz /,`.-'`'-.  ;-;;,_
 |,4-  ) )-,_. ,\ (  `'-'
'---''(_/--'  `-'\_)
Grüße Wim


Faster message body searching

2021-08-20 Thread Chinmaya Nagpal
Is there any way to make it faster to do ~b limits in maildir mailboxes? 
I don't really use notmuch for much other than message body searching so 
I'm considering if I should get rid of it entirely. 


Re: Faster message body searching

2021-08-20 Thread Kevin J. McCarthy

On Sat, Aug 21, 2021 at 01:49:27AM +0530, Chinmaya Nagpal wrote:

Is there any way to make it faster to do ~b limits in maildir mailboxes?


$thorough_search, set by default, decodes each message before searching 
through it.  You most likely want to do this, but it does slow the 
searching down.


Each message is decoded to a temp file.  You might see some speedup by 
setting $tmpdir to memory, e.g. "/dev/shm", during the search.


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: Faster message body searching

2021-08-20 Thread Jean Louis
* Chinmaya Nagpal  [2021-08-20 23:20]:
> Is there any way to make it faster to do ~b limits in maildir mailboxes? 
> I don't really use notmuch for much other than message body searching so 
> I'm considering if I should get rid of it entirely. 

If you don't know who is the correspondent and you wish to find
message by body search then either you would use indexer like notmuch,
and I am using "mu" indexer https://github.com/djcb/mu/ as I find it
better; or maybe you could use simple `grep' to locate the message,
which would be probably slower with larger number of Maildirs.

In order to limit searches in bodies to specific conversant my Maildir
setup is such that all emails related to specific email address are
automatically saved to corresponding Maildir folder:

~/Maildir/u...@example.com is Maildir directory containing all emails
to and from u...@example.com

~/Maildir/other-u...@other-example.com is Maildir directory containing all 
emails
to and from other-u...@other-example.com

That way if I wish to search with ~b narrowed and related to specific
email address then the search goes much faster. 

Otherwise I have to use indexer to locate those messages which I do
not know to which conversant they belong.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/