Email on the terminal with mutt

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 227

  • @LukeSmithxyz
    @LukeSmithxyz  5 років тому +64

    If you don't have a galaxy brain to configure mutt, luckily, someone made a tool for autoconfiguring it:
    gitlab.com/LukeSmithxyz/mutt-wizard (newer, better, alpha-testing version)
    github.com/LukeSmithxyz/mutt-wizard (older version using offlineimap)

    • @MMABeijing
      @MMABeijing 5 років тому +1

      thank you for that, i used to mail through pine, that was 20 years ago and itwas faaaast!

    • @rexevan6714
      @rexevan6714 5 років тому +1

      At least you won't spend like a year or so to configure mutt.

    • @stephenreaves3205
      @stephenreaves3205 5 років тому +2

      Luke-ily

    • @ebojager
      @ebojager 5 років тому

      Will this make my install look like yours? Yours looks great!

    • @123vlad123V
      @123vlad123V 5 років тому

      Hi Luke,
      What do you think about aerc mail?
      Could you do a video on aerc configuring? Maybe even for gmail?

  • @tesso5243
    @tesso5243 5 років тому +197

    thankyou, I use email a lot and this increased my efficiency by about 56%

    • @Malaikat31
      @Malaikat31 5 років тому +7

      @@PaperBenni its a meme you dip

    • @meuko
      @meuko 5 років тому +24

      @@PaperBenni How is it even slightly woosh, there's no sarcasm indication you fucking honeydip

    • @drumpf4all
      @drumpf4all 5 років тому +14

      Are u sure it didn’t increase it 56.8%

    • @keycapslapper7080
      @keycapslapper7080 5 років тому +2

      @@PaperBenni you don't get to wooosh someone if you were the one woooshed

    • @Scarsuna
      @Scarsuna 5 років тому +1

      @@keycapslapper7080 r/wooosh

  • @DonckIT
    @DonckIT 5 років тому +216

    How to get rid of any GUI step 43

    • @godfather7339
      @godfather7339 3 роки тому +8

      @@aneeshprasobhan cuz gui's are slow as shit, try opening mutt and gmail on a computer. also its much easier to add functionalities and features to a cli program.

    • @hugog.cintra2573
      @hugog.cintra2573 3 місяці тому

      A man of culture, I see.

  • @AdamPoniatowski
    @AdamPoniatowski 5 років тому +42

    IMAP (Internet Message Access Protocol) is a protocol... it is not a server or mailbox. Alternatively (or legacy rather) would be POP3 (Post Office Protocol)... POP3 downloads the email to your email client from the server, whereas IMAP accesses the mailbox itself. In short, they are a means to access your mailbox.
    *rant over XD

    • @p_serdiuk
      @p_serdiuk 5 років тому +5

      "IMAP server" = server that provides a service using IMAP.
      "HTTP server" = server that provides a service using HTTP.
      You get the idea.

    • @AdamPoniatowski
      @AdamPoniatowski 5 років тому +2

      @@p_serdiuk yup... to over-complicate it, It is a server that provides the IMAP service via the IMAP protocol, which in turn, can be accessed via a client (eg. mutt), giving the ability to view/use the mailbox on the server, on a predetermined port/protocol ;)

    • @ewkalt4770
      @ewkalt4770 4 роки тому

      "rant"? are you canadian?

    • @AdamPoniatowski
      @AdamPoniatowski 4 роки тому +1

      @@ewkalt4770 hehehe... at this point... I wish I was :)

  • @1Schueni
    @1Schueni 5 років тому +5

    Switched from offlineimaps to isync (mbsync). It is written in C and a lot lighter in resources. (+ no Python dependencies)

  • @nicolaslaborie5015
    @nicolaslaborie5015 5 років тому +7

    That was hella interesting. So many useful CLI software it's unreal ^^

  • @alymuni
    @alymuni 5 років тому +4

    With your help, I learned Latex, maybe now I could give Mutt a try.
    Keep up the good work

  • @irreadings
    @irreadings 4 роки тому +3

    Yours is one of the most useful channels I've ever seen

  • @Anujgupta-yi9di
    @Anujgupta-yi9di 2 роки тому +1

    This is super useful. I had been struggling with mutt, but this covers everything ;)).
    Thanks for putting this up!

  • @bertlemoi431
    @bertlemoi431 5 років тому +1

    i'm new to linux and more serious about computers since a few days but your vids help me growing my understanding and my curiosity of how computers work. big thanks!

  • @allegoricalstatue
    @allegoricalstatue 5 років тому +1

    @Luke Smith Thanks for making this video. I'm one of those brainlets you mentioned in the Paradox of Documentation video who found configuring Mutt too confusing even despite your automated mutt-wizard. Couldn't get the neomutt folders side-bar thing to work mainly.

  • @caranthir5130
    @caranthir5130 5 років тому +11

    SMTPS is port 465, port 587 is StartTLS. SMTPS /IMAPS is considered deprecated in favour of StartTLS though a lot of mail servers still use IMAPS/SMTPS.

  • @MasterSergius
    @MasterSergius 5 років тому +88

    Great! Only one question - can I play Steam games in terminal?

    • @OliverBurkill
      @OliverBurkill 5 років тому +23

      Launch them with the official terminal client developer.valvesoftware.com/wiki/SteamCMD

    • @sanjacobs6261
      @sanjacobs6261 4 роки тому +3

      @@OliverBurkill Holy shit this exists

    • @samasama2627
      @samasama2627 4 роки тому +1

      @@OliverBurkill OMG

    • @ReggieRockification
      @ReggieRockification 3 роки тому

      Dwarf Fortress is coming to Steam so that's one.

    • @anowarabegum4660
      @anowarabegum4660 3 роки тому +1

      @@OliverBurkill can you run minecraft from the terminal though

  • @heikokraemer2735
    @heikokraemer2735 3 роки тому +1

    Dude, you post the colors in the first line of the description … you're clearly a pro!

  • @StefanovMilen
    @StefanovMilen 5 років тому +20

    If you have time to show how you add multiple mail boxes (accounts) would be great!
    Thank you! :)

  •  5 років тому +7

    I actually tried to get into mutt a while ago, but the learning curve was too steep so I couldn't justify spending work time setting it up. Thanks for the walkthrough and dotfiles. I'm not really that fond of the GUI mail clients for Linux.

    • @minhajsixbyte
      @minhajsixbyte 4 роки тому

      Steen Schütt check his mutt-wizard. No setting up needed.

  • @hejhog1961
    @hejhog1961 5 років тому

    This is really good Info. I e been using the command line for years and never thought to use mutt

  • @KatSitchon
    @KatSitchon 5 років тому +4

    Thank you so much for this tutorial, Luke! I'm a beginner and this was one of the things I had the most trouble with. Now I can finally cross setting up mutt off my taskwarrior list ;-)

    • @mbk0mbk
      @mbk0mbk 5 років тому

      I would be happy to know you list.

  • @robd.2466
    @robd.2466 4 роки тому

    Nice walk through. Best I've seen. Thanks.

  • @SuperCape
    @SuperCape 5 років тому

    please, keep this mutt video flowing! Love them!!

  • @xasmaniusvolk8416
    @xasmaniusvolk8416 3 роки тому

    2:08 in GMX you have to manually enable it in the POP3/IMAP option

  • @TheMack
    @TheMack 5 років тому +1

    This was kinda cool, might actually try it! Thanks!

  • @MarcelDempers
    @MarcelDempers 5 років тому

    Ah this is awesome thanks! Time to add this to my Dockerfiles repo! :D

  • @pierrevongegerfeldt1742
    @pierrevongegerfeldt1742 4 роки тому

    Thank you, i have inproved My email handling about 50% or more.

  • @legion_prex3650
    @legion_prex3650 2 роки тому

    thanks so much, luke. now i use vim as my email client and thats so much fun. bye bye thunderbird! only thing is, i have to figure out how to deal with attachments at all.

  • @marioseijo6985
    @marioseijo6985 5 років тому

    i got mutt working now thanks to your video. thanks!

  • @stampgermany
    @stampgermany 3 роки тому

    Thaks a lot! Great Tutorial!
    You are soooo fast :P

  • @MoTown44240
    @MoTown44240 4 роки тому

    Used pine on FreeBSD server back in late 1990's when GUI browsers were in their infancy.

  • @blackie5566
    @blackie5566 5 років тому

    Great, thank you so much. I love mutt!

  • @MePipe82
    @MePipe82 2 роки тому

    I was spending two days to find out why i am having SASL authentication error or handshake error (but mostly SASL) if i am trying to send email...This issue does affect gmail and hotmail also. port 587 was giving SASL error and port 465 was giving other errors. Finally i have found, that i need to source TWICE the password.gpg. Once for imap and once for smtp. It does not matter that the two passwords are same... Also it does matter where to insert them in muttrc file...
    Why in neomutt does need source separatelly in two .gpg files imap password.gpg and smtp password.gpg only in gmail and hotmail? Yahoo has not got this problem. Sourcing one file containing two lines for imap and smtp just works fine. But only for yahoo.
    If i put it in two separate lines but in one file i will get SASL error trying to send email...
    I am lazy to post this issue on github so writing here, hope will help people who are struggling with the same or similar issue. No need to waist two days from your life. :)

  • @ianpan0102
    @ianpan0102 5 років тому

    Nice color scheme! Gotta love gruvbox

  • @SarahPoulin
    @SarahPoulin Рік тому

    I am trying to get mutt to read emails and filter out ones from a specific sender, and download an attachment if the name fits certain criteria. I want to use a bash script. But I can't even get it to list the emails from a specific sender, even though I know the sender is in my inbox. It keeps saying 'No recipients were specified.` Where do I even start to get this working?

  • @daiti3666
    @daiti3666 5 років тому +1

    Finally a noob-friendly video on mutt :D I have only one question, how do u configure mutt to read multiple account mails downloaded with isync?

  • @РусланЗаурбеков-з6е

    @7:43 -- how it can show no mailboxes, if you have Inbox?? )))

  • @hellfire3D
    @hellfire3D 5 років тому +1

    Dear Strong Bad

  • @ebojager
    @ebojager 5 років тому +1

    Just followed this and its working great! Thank you! Can you limit the amount of headers it downloads?

  • @birong
    @birong Рік тому

    FCC failed. i follow exactly the same for 'set record = "+Sent". Please advise

  • @rasputinmachine7488
    @rasputinmachine7488 5 років тому +34

    [insert comment about emacs here]

    • @ta9994
      @ta9994 5 років тому +1

      mu4e

  • @matthewbryson3243
    @matthewbryson3243 4 роки тому

    “A test mail for the video”

  • @kersaherpafuqer784
    @kersaherpafuqer784 3 роки тому

    My internet newbie mistake was making my first 2 emails on mail.com
    They removed both of them giving me no access which therefore locked me out of any accounts I used with the emails
    Mail.com is terrible

  • @dotty.
    @dotty. 3 роки тому

    1:46 email is stored in the balls

  • @thurston04
    @thurston04 5 років тому +1

    I use Alpine. I would love your take on that.

    • @thurston04
      @thurston04 5 років тому +1

      @@SaHaRaSquad I mean Alpine the terminal email application.

  • @f4d3_cl
    @f4d3_cl 5 років тому

    Thanks dude !
    Seems funny to probe :D !

  • @dpetrov32
    @dpetrov32 3 роки тому

    DIOS MIO.... EL GOBLINO DE LOS AMERICANOS... LA MUTT...

  • @SvartAdamSolander
    @SvartAdamSolander 3 роки тому

    Nice! Are you syncing and handling chats and SMS in Mutt as well? What are you using for the sync for SMS?

  • @vsorin1
    @vsorin1 3 роки тому

    Hi Luke, nice video. Thank you so much for it! What linux distro you use In this video?

  • @cunningham.s_law
    @cunningham.s_law 5 років тому +9

    what about multiple email accounts?

    • @LukeSmithxyz
      @LukeSmithxyz  5 років тому +12

      I create separate muttrc files for each and have bindings to source one or the other in mutt. See my mutt-wizard for how I do it.
      There are many ways to do it though. You can have it open multiple accounts at once I believe.

    • @Aerex12
      @Aerex12 5 років тому

      I am using neomutt and for some reason i am unable to source any configuration file that contains the character 'a'. The client simply omits the character. When i try to source the file myself I realize that there is a delay when entering the letter a.
      Has anyone run into anything like this?

  • @BeneSim
    @BeneSim 5 років тому

    Hey Luke great video! Always wanted to get my hands on mutt now I figured is the right time ;) Regarding your smtpS issue, did you try setting `set ssl_force_tls=yes`? This works for me :)

  • @vison360
    @vison360 5 років тому +1

    This might be useful, thanks!

  • @maxmustermann-hx3fx
    @maxmustermann-hx3fx 5 років тому +1

    Very cool I think that I am soon going full terminal First of all I need a tiling windows Manager probaly i3 and configure it then I need a cool terminal theme and then I need to configure neovim whish me luck
    btw I use arch

    • @humm535
      @humm535 5 років тому +2

      Why would you need a WM if you're going full terminal?

  • @avvvqvvv99
    @avvvqvvv99 5 років тому +6

    "el_goblino" lmao

  • @ClaDOS562
    @ClaDOS562 5 років тому

    hey Luke, great video and loved your mutt setup wizard. quick question, maybe youll see it :) Is there a way to tell mailsync to overwrite local folders if they are deleted on the mailserver? i have a bunch of old folders which i used for topics I don't actually need anymore, thus i removed them on the server but I can't figure out how to get rid of them locally in mutt neither automatically nor manually.

  • @maheshkariya
    @maheshkariya 4 роки тому

    Which os you are using?

  • @anviltankish1899
    @anviltankish1899 4 роки тому +1

    I am a total newb to ubuntu and have to use this for a class. I need help please can you or anyone that reads this help. I don't know how you got into the muttrc file or anything. Need help tonight PLEASE, my instructor isn't much help.

    • @minhajsixbyte
      @minhajsixbyte 4 роки тому

      Shawn i hope u got help

    • @VulcanOnWheels
      @VulcanOnWheels 3 роки тому

      @@minhajsixbyte Luke quickly started the file at 2:39. What threw us off was that he just switched back to the file he had already started.

  • @julioramirez5497
    @julioramirez5497 5 років тому +4

    Mine stays in "connecting to "
    Why?

  • @sk8sbest
    @sk8sbest 5 років тому

    i was thinking of watching the video and then maybe commenting on it but i prefer just showing everybody that im the first one to comment on it

  • @teddymasters1347
    @teddymasters1347 2 роки тому

    I love this, being able to check my email from the terminal is awsome. I kind of wish I didn't have the page of tecnical info, but it's honestly kind of interesting to see what thunderbird usually hides

  • @gauravcheema
    @gauravcheema 3 роки тому

    Whats the theme for your terminal? How did you get those pretty colors??

  • @zigginzag584
    @zigginzag584 5 років тому

    connects, loads emails, works great (even integrated the neato colors) but it won't send. Says the password is incorrect.
    I logged on the webserver thinking that I may have had to at least signed in once. Still no workie.
    I have a sad.

  • @ScaryHutmanPictures
    @ScaryHutmanPictures 5 років тому +1

    What keyboard are you using?

  • @averageengineeer
    @averageengineeer 5 років тому

    hey luke , thanks for the video ... setting up mutt now. One question , does mutt support email encryption ? How would i set it up if yes.... ?
    thanks again

  • @alanhowson2270
    @alanhowson2270 2 роки тому

    I am wanting to install this to an ubuntu server. I need to cut some text from the email and past it in a command line. Can I do this in mutt?

  • @luxucn
    @luxucn 5 років тому

    This is so helpful!

  • @omelettttttteeeeeee
    @omelettttttteeeeeee 3 роки тому

    I've recently started using Linux as my desktop, and any time I research anything, this guy has a good informative video on it.

  • @matthewcaylor342
    @matthewcaylor342 5 років тому

    I have struggled with this and maybe some one here might know. Can I use mutt, or an other program, to process incoming mail in a crontab script for example? I know I can send mail using mutt, but I need a way to download and open mail.

  • @geeksified
    @geeksified 3 роки тому

    how does this work with html designed templates and attachments.

  • @papanoah420
    @papanoah420 5 років тому

    I think I've seen mutt using auth plain as authentication method. Is that a potential security risk? And how can you customize the authentication, like using startTLS etc.?

  • @qwarlockz8017
    @qwarlockz8017 3 роки тому

    I am such a fan of mutt and have used it for my personal mail for a long time. But trying to extend to other emails is tricky. On my laptop I can grab my gmails no problem. But when I try to do is from a different linux box.... I get a weird error saying ssl_xoath token not found or something close. I have ssl_starttls and force_tls but still I get this strange difference between two systems that should be the same. Any hints on this? How does mutt interact with tls in order to get it working? Maybe TLS is broken on one box? hmmmm do you have any clues on this one?

    • @qwarlockz8017
      @qwarlockz8017 3 роки тому

      Hey Luke Smith: small note on the above error. It looks like mutt when even just retrieving emails is walking down a list of "auth methods". For GMail it would try SASL first since it was compiled in. It fails and then uses SSL. It does this even if you have ssl_starttls and ssl_force_tls. It still on my 32 bit system always tried SASL first. It gave the above error and then succeeded using TLS. The only thing I could do was to recompile with sasl turned off. Then it had no error and worked fine. I wish there was a way to disable sasl with a variable. But so far have not found it. Thanks for the great vids!

  • @ecolombre
    @ecolombre 5 років тому

    Love this video!

  • @43ann
    @43ann 5 років тому

    On my sidebar the full path of the mailboxes appear. How do I make it to appear only the mailbox name?

  • @qwarlockz8017
    @qwarlockz8017 3 роки тому

    I could not love mutt more

  • @rexevan6714
    @rexevan6714 5 років тому +8

    Brb opening my email in Gmail.

    • @LukeSmithxyz
      @LukeSmithxyz  5 років тому +9

      Be sure to enable third-party applications or Gmail might block you.

    • @lieutanant8058
      @lieutanant8058 5 років тому +1

      @@LukeSmithxyz Alternatively, Google allows for generating per-app passwords, that can be used even if 2-step verification is enabled

    • @mechadrake
      @mechadrake 5 років тому

      @@LukeSmithxyz it sent me in a circle to do that, given up at this point.

    • @mastertroll1780
      @mastertroll1780 2 роки тому

      @@lieutanant8058 This worked for me

  • @brettknoss486
    @brettknoss486 4 роки тому

    How do save the configure file, and go back to the main console?

  • @AhmedKhaled-sj1zx
    @AhmedKhaled-sj1zx 5 років тому +1

    what wrong with s-nail (mailx)

  • @drumpf4all
    @drumpf4all 5 років тому

    Neomutt is not in the Debian Stable (Stretch) repos. Why? That sucks. You have to compile or move to testing.

    • @minhajsixbyte
      @minhajsixbyte 4 роки тому

      Drumpf_4_All because debian repo sucks

  • @santiagosuarez465
    @santiagosuarez465 5 років тому

    but I guess ot is not possible to the images in the mails you get in mutt, or attaching files when sending emails for example.

    • @minhajsixbyte
      @minhajsixbyte 4 роки тому

      Santiago Suarez it’s possible. And it’s convenient too, check his latest mutt-wizard video.

  • @ledenec5122
    @ledenec5122 4 роки тому

    is it possible to configure more than one account and switch between them in neomutt?

  • @bryanbojorque
    @bryanbojorque 5 років тому

    You can pass the passwords as Environment variable in the system.
    Like so imap_pass = $IMAP_PASS

  • @BfhChaosXX
    @BfhChaosXX 5 років тому +1

    but why

  • @russghound
    @russghound 5 років тому

    I got everything set up like you showed us for my Gmail account but Gmail will not allow me to log in with Neomutt. Bummer! I can't set my settings to allow less secure apps either. The setting doesn't show in my security settings menu.

    • @minhajsixbyte
      @minhajsixbyte 4 роки тому

      Russ Hearn search for it. The setting is still there

    • @mastertroll1780
      @mastertroll1780 2 роки тому +1

      As of 2022 one can use app passwords to log in

  • @jflaoeal
    @jflaoeal 5 років тому

    Would anyone know of a similar term based app, but for receiving text?

  • @MartinsTalbergs
    @MartinsTalbergs 5 років тому +1

    Is it possible in mutt if my gmail has 2factor authentication?

    • @stefanpaulstockinger6923
      @stefanpaulstockinger6923 5 років тому

      Yes it is....
      support.google.com/accounts/answer/185833?hl=en
      you can set app passwords which you can use with mutt

  • @lyftxempaa2541
    @lyftxempaa2541 5 років тому

    when I go to send an email I get "error sending message child exited 127 (exec error)

  • @aliencreation8744
    @aliencreation8744 Рік тому

    does muttwizard work with the original mutt program??

  • @holyproton8855
    @holyproton8855 5 років тому +2

    Thanks cutie for this video

  • @MajikCatSecurity
    @MajikCatSecurity 4 роки тому

    Where are you creating the config dir? In home dir or root? Or does it even matter with this application?

    • @VulcanOnWheels
      @VulcanOnWheels 3 роки тому

      Look at 2:39. The thing that threw us off (I say "us" because it threw me off as well) was that, when it came time for Luke to edit that file, he had already started it at this point in the video.

  • @mohamedkadhemmansour7058
    @mohamedkadhemmansour7058 5 років тому

    can somebody tell me what DE is he using and how to get the same visuals as he has.

  • @marcovirtual
    @marcovirtual 4 роки тому

    And how does Mutt deal with HTML e-mail?

  • @fortnitejimmy-ih3dn
    @fortnitejimmy-ih3dn 5 років тому +1

    email? is that like discord?

  • @briandavidhall
    @briandavidhall 3 роки тому

    lmao 1:34 "... mail.com, which is just some boomer website"

  • @Paulser1991
    @Paulser1991 5 років тому

    I am researching (when I have time) using this as email notification system on raspberry pi. Can Mutt produce sound when a email comes in?

    • @valbogda5512
      @valbogda5512 5 років тому +1

      mutt's got all kinds of "HOOKS" you can set up which are just events you subscribe too and can make them trigger whatever. You could imagine subscribing to the new mail event that triggers some command that plays a sound.

  • @jellybean7253
    @jellybean7253 3 роки тому

    Why? Really? Just for fun? Got it. A brain teaser? Got it. Unsecured email? Useless. BUT, JUST FOR FUN? I'M GOOD WITH THAT! :-). Thanks for the vid. New sub

  • @brettknoss486
    @brettknoss486 4 роки тому

    What is with the numbers in Vim?

  • @epijonix
    @epijonix 5 років тому

    I get login failed. I cannot get it to run. Why neomutt does not work in Linux Mint?

    • @minhajsixbyte
      @minhajsixbyte 4 роки тому

      epijonix it should work. Try this mutt-wizard. Easy to start with

  • @itai-AHL
    @itai-AHL 5 років тому

    I get a SASL authentication fail when I try to send mail does anybody else have it?

  • @lordhriley
    @lordhriley 5 років тому

    i have never gotten it to work with emacs

  • @adonnisperalta
    @adonnisperalta 5 років тому

    what is he pressing to get to that muttrc file?

  • @ElliotWilks_
    @ElliotWilks_ 3 роки тому

    what language is this being done in?

  • @badmax7319
    @badmax7319 2 роки тому

    This looks great.
    Can Mutt filter emails into folders automatically?
    I can't find anything about it.

    • @gehenna14
      @gehenna14 11 місяців тому

      read the arch wiki page for mutt its really useful

  • @mariozupan1662
    @mariozupan1662 2 роки тому

    Can't get office365 mail.