Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mutt & TLS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1130

PostPosted: Wed Mar 18, 2015 9:08 am    Post subject: Mutt & TLS Reply with quote

Hi,
Code:
echo world.txt | mutt -s"totototototototo" nossi.kaweni@yahoo.fr
gnutls_handshake: Un paquet TLS incorrect a été reçu.
Impossible d'envoyer le message.
likely to match the following translation
Code:
An unexpected TLS packet was received
My .muttrc
Code:
more .muttrc
set my_pass = ********
set my_user = nossi.kaweni@yahoo.fr

set realname = AdministrationNossi
set from = nossi.kaweni@yahoo.fr
set use_from = yes

#set smtp_pass=*********
set smtp_url = smtps://nossi.kaweni@yahoo.fr@smtp.mail.yahoo.fr:587

set ssl_use_tlsv1 = yes
set ssl_use_tlsv1_2 = yes
set ssl_force_tls = yes
set ssl_starttls = yes
Same error occurs whether smtp_pass is set or not, as well as insertion of password in smtp_url.

Any idea how to fix?

Thks for your attention.
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1130

PostPosted: Fri Mar 20, 2015 8:05 pm    Post subject: Dummy gmail account just works on 587. Reply with quote

Seems like port 587 deserves "= smtp://" whereas elsewhere [thunderbird] working port 465 with matching "=smtps://" doesn't work either.

Demo Gmail account on port 587 was a breeze. :-(

Alpine is also doing fine :-((

Just lost...

Thks 4 ur interest.
Back to top
View user's profile Send private message
AngelKnight
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 126

PostPosted: Thu Mar 26, 2015 8:56 am    Post subject: Reply with quote

Inspecting smtp.mail.yahoo.fr:587/tcp indicates it's initiating in plaintext, not SSL. smtps:// is inappropriate; use smtp://

I leave it as an exercise to you to get Mutt to use STARTTLS properly in this scenario.
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1130

PostPosted: Thu Mar 26, 2015 6:57 pm    Post subject: Re: Dummy gmail account just works on 587. Reply with quote

AngelKnight wrote:
Inspecting smtp.mail.yahoo.fr:587/tcp indicates it's initiating in plaintext, not SSL. smtps:// is inappropriate; use smtp://

Is just what I meant by
CaptainBlood wrote:
Seems like port 587 deserves "= smtp://" whereas elsewhere [thunderbird] working port 465 with matching "=smtps://" doesn't work either.


As for your proposal of an excercise, guess I have to investigate and learn before I trully understand and forecast exactly what to do instead of +/- random tries. :wink:

Thks for ur attention, interest & support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum