00:00.000 Q: I noticed that it took a considerable amount of time to send email. Is it possible to configure gnus to use an external smtp client to send emails?
01:17.838 Q: Is the dovecot workaround actually a solution?
03:07.118 Q: Do you have experience with mu4e or Notmuch, and why would you say Gnus is worth using compared to these?
06:05.320 Q: At my organization, we're forced to use OAuth with outlook and they've also blacklisted all email clients except thunderbird (but they don't support it, only the webmail or the outlook app). Do you know if this is something that can be circumvented in Gnus?
13:18.798 Comment: Liked how I started with a clean setup
17:34.660 Comment: They would have liked to see a quick demo of Gnus while it is fully configured and tweaked
18:22.798 My init file
19:34.080 Mail splitting
19:52.638 Gnus parameters
21:31.020 Custom signatures
22:05.020 Other customizations
Gnus has had the reputation of being difficult to grasp and
configure. The myriad of configuration options of its many major
and minor modes which afford Gnus its high degree of customizability
can also seem overwhelming and daunting for folks looking to learn
about and use it to build a workflow for doing email in GNU Emacs.
This talk aims to provide a high-level outline of some of the key
concepts in Gnus, and a roadmap for approaching and configuring Gnus
and Message to your liking so that you, too, can read, compose, and
send emails with GNU Emacs.
About the speaker:
Amin Bandali is a computing scientist and activist for user freedom,
and a participant in various free software projects and communities.
Bandali wears a few hats around the GNU Project and is a volunteer
member of the Free Software Foundation SysOps team, a core organizer
of EmacsConf, a Debian Developer and a contributor to the Trisquel
GNU/Linux distribution.
In this talk, Bandali will go over configuring Gnus and Message for
reading and composing emails, showcasing one of many approaches for
using GNU Emacs for email communications.
Discussion / notes
bandali: here's the talk page on my site, along with the sample init and authinfo files: https://kelar.org/~bandali/2025/12/06/emacsconf-2025-gnus.html
Q: I noticed that it took a considerable amount of time to send
email. Is it possible to configure gnus to use an external smtp
client to send emails? (thanks! I agree, even on thunderbird it's
slow sometimes).
A: Right, yes, it definitely is possible. In fact, in the past, I've used, I believe, MSMTP, which is a small SMTP implementation that's independent of Emacs. So you can do that. It's also possible to, pointed to have it use the sendmail binary on your system. If you have a local MTA mail transfer agents like Exim or Postfix installed and configure. I believe that should also dispatch and return instantaneously and then have Postfix or Exim deal with sending the message on their terms without blocking Emacs. I don't know, it depends. Normally it's not always that slow. Sometimes it is. I think it also depends on the load on your mail server. Sometimes it's instantaneous, sometimes not. So I hope that helps.
Q: Is the dovecot workaround actually a solution? I haven't tried
it, but if it works smoothly I'll surely do so.
A: It is, it really is. I've actually been using that setup for many years. I can't remember. Oh, I believe it's Eric Abramson who first shared instructions on how to set this up. Let's see if I can find it. There we go. Yeah, this is it. I'll share this on IRC as well. Yeah, so Dovecot is very, very efficient. It's written in C. And yeah, when you point Gnus to an IMAP server like Dovecot, dealing with email is pretty instantaneous. This article or post by Eric is great. Although I will say that there was a recent major release of Dovecot. I can't remember if it's 2.4 or 2.5. and it's a breaking change. They change a lot of the configuration syntax, so there's a high likelihood that this drop-in configuration won't work, even though that's what I used as my starting point a couple years ago. I will be writing an article on my personal site to go over how to configure recent versions of Dovecot for such a setup, for a local setup.
Q: Do you have experience with mu4e or Notmuch, and why would you say
Gnus is worth using compared to these?
A: I do have experience with these, although it goes back many years, and I'm sure both of these have evolved since, and they're great pieces of software in their own rights. And actually I did use them in that order. Like I first tried Mu4e in Emacs, when I started using email in Emacs, then I tried Notmuch for a while, and then I went to Gnus. They're great. They have like pros and cons. Mu4e, I believe, has excellent maildir handling directly, if I'm not mistaken, unlike Gnus, so you can point it directly to your maildirs locally, and it should work fine, if I'm remembering correctly. Notmuch is also excellent. The thing with Notmuch is that it uses Xapien for indexing and searching email. It's tag-based, so you can tag messages. And then, yeah, it's amazing for tagging and searching capabilities, very powerful search features. And my reason for trying Gnus and then, I don't know, eventually liking it was couple of years ago, I went through this kind of phase of trying and trying to like use and stick with packages that are built into GNU Emacs as much as possible. No particular reason that I would like, you know, recommend people do that per se, but yeah, that's just what I wanted to do. Cause I noticed my configurations were like growing unwieldy. So I, like many others declared, Emacs in its bankruptcy, in its file bankruptcy, and configure things from scratch and try to use whatever that Emacs had to offer built in itself, and then only reach for a couple of external packages here and there. So that's what I went to. That's how I ended up on Gnu's. And it's been very nice. I've tried a few other email clients since then, temporarily, like I tried AERC, A-E-R-C, which is not built into Emacs, but I don't know, I keep coming back to Gnus. It's great to have it all, to be able to do all these things from within GNU Emacs.
Q: At my organization, we're forced to use OAuth with outlook and
they've also blacklisted all email clients except thunderbird (but
they don't support it, only the webmail or the outlook app). Do you
know if this is something that can be circumvented in Gnus? (I've
tried it with notmuch for example, and it never worked. Even K-mail
on android didn't work). But this specific to IT at my org. I'll
ask on IRC. Thanks!
A: So if I'm pretty sure, at least with the recent Emacs versions, Gnus does support xOAuth as a backend. So I think you should be able to do that even with just the things, the machinery built into Emacs. Even so, I think there are external packages and programs. One of them I think comes from this Cyrus IMAP world of things that implement like XOAuth. So you should be able to do that. You should be able to use that to get authenticated to your organization's mail server. But I've never tried that myself. In terms of like blacklisting all email clients, I don't know how they would do it outside of, you know, this kind of authentication thingy. If, you know, they check the user agent header or something, that's pretty easy to customize and set. With Gnus, you can set, define a posting style to set a custom user agent. So, yeah, that's as far as I know. Thunderbird is pretty nice too. Like I reach out for it sometimes when I'm in a rush or can't, don't have the time to like set up Gnus with like some new like IMAP server or something. I reach for it sometimes, but yeah, I primarily use Gnus. I see. So the question says they tried it with not much and it never worked. Even KML on Android didn't work. Right. Yeah, I'm not sure. If you can like provide maybe more details as to like what doesn't work or if you get any particular error messages or like how they're trying to like prevent you from using it, then maybe folks could have some ideas of maybe how to get around that. ... So the organization is doing some kind of check during setting up of OAuth. So I think how that works is sometimes these email clients, I think at least this is the case for Gmail or something, where a project such as Thunderbird needs to apply for some kind of token to be able to authenticate and connect its users to a mail server. So all I will say is that Thunderbird is free software and the sources are available and you might be able to find the token that they use and yeah.
excellent introduction to gnus! thanks!!
Very nice talk! Thank you.
Really good introduction, this will be my go to link from now whenever someone asks "how to use gnus".
great - going to finally be brave and give gnus a look after that, no excuse not to anymore
I really enjoyed, from time to time I came across to gnus, but I don't have the time to tune it and I keep with mu4e+mbsync to handle my email
Yes, it covered the key points very well and should hopefully encourage others to start using gnus.
okay thanks, will do gnus + dovecot ater the conf.
For me, the key feature of gnus is scoring (both manual and adaptive)!
I use davmail to access Outlook from gnus.
Looking forward to more videos on GNUS from you! Excellent talk!!
Excellent introduction. If I would have had such a tutorial some
15 years ago when I first used Gnus, my learning curve would not
have been that steep. Thanks! Hope it will help new users. So,
spread the word about your talk!
Fantastic presentation!
Thanks for this talk, I liked that you started with a clean setup
and built from that. Reading and writing emails in Emacs is
definately not straighforward, I find it frustating that there are
so many pieces to put together, and a bunch of documentation to
read. I admit I find Gnus overwhelming. Still, like you said, this
is built-in into Emacs, and it can be used to read different type of
contents, like emails and newgroups, rss feeds, etc. Looking forward
to more documentation and tutorials from you, thanks again!
BTW, I would have like to see a quick demo of Gnus while it is fully
configured and tweaked, just to tease me to bother using it!
Hello, my name is Amin Bandali,and today I'd like to talk aboutreading and writing emails in GNU Emacsusing Gnus specifically.Gnus has had this sort of reputationof being difficult to approach and configure.That's understandablebecause it has many, many optionsand major and minor modesthat interact in different ways with each other.And it also doesn't help that Gnus started originallyas a newsreaderrather than a mail client.So a lot of the terminology that it usesis also rooted in that,in reading and writing news.But nevertheless, with this video and talk,I hope to provide a sortof very quick introductionof starting to use Gnusto read and write email and send it.We will use Gnus' IMAP support,mainly because a lot of peoplethese days have email accountswith mail service providersthat support IMAP,which is an open standard.So it's widely available and supportedacross many different providersas well as mail clients or mail user agents as well.
Okay, so let's just jump straight right in.I will enter this demo directory that I createdfor the purposes of this demonstrationand change my home directory to this oneso that we can safely experiment with Gnus here.For this presentation, I've written upa quick initialization file or init filethat I will share afterwards as wellto get us going with Gnus.There's not much to it at the moment.Just set up the package archives andinstall the keycast packagefor showing the key presses in the mode line.Yeah, that's about it.And I'll also definea little like inline function +emacs.dthat allows me to conveniently writeand have it expandedor refer to files and directories, rather,paths that we could expand,inside my Emacs configuration directory.I also have this eval-last-sexpbound to a global key,so that I will be able to easilyuse it for this talk.Okay, let's jump right in.
First things first, don't panic.And that's actually also the nameof the very first nodein the Gnus manual when you open it.And it's actually nice.I definitely, definitely recommendthat you look throughat least the very first couple of chapters of this,skim through it, and later on refer to itwhenever you find something confusingor don't understand it.But yeah, we'll startwith these two paragraphs here.So again, a Gnus installationis basically just a list of one or more serversand the subscribed groups from those serversand articles in those groups.You can already kind of seewhere that influence of a newsreader comes in.But yeah, basically what it's saying is that,you know, we have one or more servers.We can think of them as email servers.Groups can be like, we can thinkof them as folders or directories.And yeah, articles,those would be like our email messages.
With Gnus, we can addand configure servers mainly using two variables.One of them is the gnus-select-methodand the other is gnus-secondary-select-methods.The first one predates the second oneand I generally don't recommend using it, becausefirst of all, it can only pointto one server, and that server,because it's the primary,then Gnus won't add a prefix to its groups,so later on, as you get intomore advanced features of Gnusand, for example, want to write rulesto modify your message compositionin a way for certain groups, or file mail,automatically classify mail,this distinction can becomeconfusing and annoying.My recommendation is to always and only usethe gnus-secondary-select-methods.Yeah, so let's do that here.I'm gonna uncomment this portion.So here, I set the primary select method to nil,and the second one, I define an nnimap serverof the nnimap backend.I give it the name ec25gnus.What I want it to do is toconnect to my mail server,which is at this address,and fetch emails from it over TLS with this username.
And then the passwords or the credentials,you can put them in the .authinfo file.Normally, you would want to, for example,encrypt this file with your GPG key.But for this demonstration, I haven't.So yeah, the format is the keyword "machine"followed by the name of your Gnus server or account,followed by the word "login",then your login username,and then the password, which here it's not shown.Yeah.
But before we actually set this,I'll just show you that if we like start Gnuswith M-x gnus,initially, it will just showan error like this.Even if we continue, it's empty.There's not much because Gnus doesn't knowwhere to fetch these emails from.And that's what we will configure.Excuse me.Yeah, so just for convenience,we can bind Gnus to,for example, C-c g, as I've done here.You will want to set your nameand email address, like so.Here we tell Emacsthat we are going to be using Gnus for reading email,because Emacs comeswith other email clients as well,such as Rmail, and in fact, defaults to Rmail,so this way, we tell it to use Gnus.By default, Gnus puts its newsrc file and other files,I believe it still scatters themin a few different directoriesin your home directory,so it's a little bit messy.So what I prefer to do is to just put itall under the Gnus directoryinside of my Emacs configuration, as I do here.Yeah, and then here we just tell Gnusto, like, don't try to botherwith a generic newsrc filethat would be sharedwith other news readers.Just want to use it for email.And yeah, so we just tell Gnusto keep all of its datainside a dedicated .newsrc.eld(for Emacs Lisp data) file instead.And we can also have Gnus not prompt uswhen we want to exit with q.Anyway, so let's go ahead and evaluate this.So this has been set,
so if we type M-x gnus again, or hit C-c g,now we're faced with an empty buffer,and it says no news is good news,and that's actuallyone of the characteristics of Gnusis that by default it triesto like sort of declutterand show us a little less possiblein the group buffer,meaning that if you don't haveany groups with unread or markedor, like, starred messages, it will not show them.To actually see all of our groups or folders,we hit shift L or capital L,and we see that we have an inbox here,as expected. So we enter the inbox,and we see that there is an article thereand it's already been marked as read.But if we mark it as unreadand exit and enter Gnus again,this is what we would see.We would see that our groupand then we enter it, we see our mail here.Yeah, and this is our very first emailthat we read in GNU Emacs here, inside Gnus.
It might be useful to have Gnus always showcertain groups or folderseven if they don't haveanything unread or marked inside of them.The way we can do that isby setting this variablegnus-permanently-visible-groupsto a regular expressionthat describes the name of these groups.So if we launch Gnus again,this time, we see that that group is visible,even though there's no unread messages in it.
When we enter a group or folder,we will see a list of all of our messages.Here, we only have one.We can press M-u or Alt-uto mark something as unread.You can press d to mark it as read.If you press just u,it'll tick the article,which is kind of the equivalentof marking the message or emailas starred in other email clientssuch as Thunderbird.We see that when there are groupsthat have starred or ticked messagesinside of them,Gnus will mark themwith this little star here, or asterisk.This talk is just barelyscratching the surface.Let's see how far...How am I doing with the time?Okay, 11 minutes already.
Just a couple of helpful things here,like this nnimap-record-commands variable.It's useful when you want to debugyour IMAP setup with Gnus.If you set it to anything non-nil,it will log the commands that it runsto a special \*imap log\* buffer.And here I just set itto this init-file-debug variable,which is set to non-nilwhenever you launch Emacswith the --debug-init switch,so that's pretty helpful.You want to also set your sent folder,basically, where Gnus will savea copy of the message that you just sent.Normally, I think the convention these days is,a lot of you know servers and clientsuse a dedicated sent folder,but with Gnus, I just prefer to use INBOX itself.Mainly because then I will havethreading working for free,so I can read the entire threadof an email chain there in one place.Of course, we don't have to keepthe messages in there forever.And in fact, Gnus has facilities,both manual and automated,for expiring emails intodifferent locations or different folders.Yeah. So let's move on here.
Topics are another nice feature of Gnus.So this is usefulfor creating some topicsand then classifying or groupingyour directories there.So we will see the useof this in a moment,where, let's say, I want to adda second account to Gnus.This one I'm going to call ec25work.Let's pretend thatthis is my work email.So if we open Gnus now,we see that our work INBOXalso shows up here.And because we enabled topic mode,we see that we havethese sort of buttonslike Gnus and misc here.And we can, I believe,create a topic with capital T n.We can call it personal, this one.Let's create another one, work.And then what we can do is goover the directory that we want,for example, this one,hit capital T m to move itto the personal topic,and this work one,move it to the work topic.So we can nicely classifyand group our groups folders here,which is especially usefulwhen you have hundreds of them.
Anyhow, we can customizedifferent aspects of message display.Like for example,we can this way customizeand change the order ofwhich headers we want to see and where.So if I launch Gnusand go back to this email here,these are the headers that we see at the top.Excuse me.And with Gnus we can alwaysWe can have it show all the headersby pressing t to toggle the headers.Here we can see all the nitty-grittyand all of the headers in the messageand we can toggle it back with t again.We can modify and customize the sortingwith dedicated sorting functions.It comes with a number of themout of the boxbut we can define them as well.
Now to send emails. Let's see.We will be using message,and that's what Gnus itself uses.So I will set things up here.Let's see.Okay, so first of all,we want to have Gnus markthe messages that we write to othersas read automatically,so this option does that.And then we define posting styles this wayusing the prefix, the nameof the IMAP server.And this is how we can tell it to usewhat email address for the From [header]and which SMTP server to send it with.Yeah, and then gcc is where Gnus will savethe copy of the messages that we write.So if we go ahead and launch Gnus again.We can go into our personal email here,hit m to compose a new message.We can prepare an email to,let's say, our work address.Hello from EmacsConf 2025 Gnus talk.Hello, this is just a test. Yeah, and we hit send.The sending will be doneusing Emacs's built-in SMTP libraries.Sometimes it can take a moment.Okay, that's it. It's done.So if we go back outand if we hit g to get new news,we should be able to see our new email therein the other account that we just sent it to.So we can come here, open it,and there we go.
There is a lot to configure in Gnus,and we're just barely scratching the surface,and unfortunately I don't have the timeto explain all of thesebut I do plan on doinga much longer running series,whether it's text or videos,showing how to configureand use a lot of these different aspects of Gnus.But yeah, here, near the end, just a couple of...quick things. I find it's nice to have messageprompt us for [confirmation]that we do want to send a message.Actually, when it does that, I takeanother look over my emailto make sure I don't have any typos.It's generally a good idea to wrap your messagesaround 70 or 72 characters.We do that here.We can tell Gnus to forward messagesas a proper MIME part,instead of some half-broken way.This customization, the sendmail function,is how we tell Gnus with messageto use the SMTP library to sending the email,and these two variables are useful foromitting our own email addresswhen we want to send someone,like when we hit r, to reply to someone.if we configure these variables,then Gnus won't addour own address to the To or Cc,which is pretty useful.I also find it helpfulto unbind C-c C-s.That's another keyfor sending the message [in addition to C-c C-c].And because C-c C-d,which is very close to it on the QWERTY layout,is useful for saving a draftand then coming back to it,I don't want to accidentally hit C-c C-s,and send the message prematurely.So I unbind it.Yeah, anyway, that's about it.
That's a kind of very quick tourand introduction of setting up Gnus.Here, we just configured a remote IMAP server,but we can also, of course,set up a local IMAP server such as Dovecotand point Gnus to there,and use programs like OfflineIMAP, I believe,or the mbsync program from isync packageor isync project to synchronize our messagesto local mail directoriesand then point Gnus to it.The reason we might want to use thatis to always have a copy of our messages at handso we can use offline.
And why use nnimap specifically?As of now, the Maildir backend included with Gnusis very inefficient,especially when dealing withtens or hundreds of thousands of messageslike some of us are.It just takes an eternity to tryand index them and get going.In that case, what I recommend doingis instead of interfacing directly with Maildir,for Gnus, just install and runDovecot, a local IMAP server,and point Gnus to that.I plan on writing tutorials or doing videosabout these other aspectsof configuring Gnus after the conference.That's about it for me,so I hope you find this helpful.If you have any questions,please feel free to email meat bandali@gnu.org or @kelar.org.You can take a look at my personal websitewhere I plan on postingother Emacs and Gnus materials.And yeah, thank you for watchingand I hope you enjoy the rest of the conference.Take care.
Captioner: sachac
Q&A transcript (unedited)
[00:00:00.000]Q: I noticed that it took a considerable amount of time to send email. Is it possible to configure gnus to use an external smtp client to send emails?
Okay, so first question.I noticed that it took considerable amount of time to send email.Is it possible to configure to use an external SMTP clientto send emails? Right, yes, it definitely is possible.In fact, in the past, I've used, I believe, MSMTP,which is a small SMTP implementationthat's independent of Emacs. So you can do that.It's also possible to, pointedto have it use the sendmail binary on your system.If you have a local MTA mail transfer agentslike Exim or Postfix installed and configure.I believe that should also dispatchand return instantaneouslyand then have Postfix or Eximdeal with sending the message on their termswithout blocking Emacs. I don't know, it depends.Normally it's not always that slow. Sometimes it is.I think it also depends on the load on your mail server.Sometimes it's instantaneous, sometimes not.So I hope that helps.
[00:01:17.838]Q: Is the dovecot workaround actually a solution?
Let's see, is the Dovecot workaroundactually a solution?I haven't tried it, but if it works smoothly,I'll surely do so. It is, it really is.I've actually been using that setup for many years.I can't remember. Oh, I believe it's Eric Abramsonwho first shared instructions on how to set this up.Let's see if I can find it. There we go. Yeah, this is it.I'll share this on IRC as well.Yeah, so Dovecot is very, very efficient.It's written in C. And yeah, when you point Gnusto an IMAP server like Dovecot,dealing with email is pretty instantaneous.This article or post by Eric is great.Although I will say thatthere was a recent major release of Dovecot.I can't remember if it's 2.4 or 2.5.and it's a breaking change.They change a lot of the configuration syntax,so there's a high likelihoodthat this drop-in configuration won't work,even though that's what I usedas my starting point a couple years ago.I will be writing an article on my personal siteto go over how to configure recent versions of Dovecotfor such a setup, for a local setup.
[00:03:07.118]Q: Do you have experience with mu4e or Notmuch, and why would you say Gnus is worth using compared to these?
Let's see. Do you have experience with Mu4e or not much?And why would you say Gnus is worth using compared to these?I do have experience with these,although it goes back many years,and I'm sure both of these have evolved since,and they're great pieces of software in their own rights.And actually I did use them in that order.Like I first tried Mu4e in Emacs,when I started using email in Emacs,then I tried Notmuch for a while, and then I went to Gnus.They're great. They have like pros and cons.Mu4e, I believe, hasexcellent maildir handling directly,if I'm not mistaken, unlike Gnus,so you can point it directlyto your maildirs locally,and it should work fine,if I'm remembering correctly.NotMuch is also excellent.The thing with Notmuchis that it uses Xapienfor indexing and searching email.It's tag-based, so you can tag messages.And then, yeah, it's amazingfor tagging and searching capabilities,very powerful search features.And my reason for trying Gnusand then, I don't know, eventuallyliking it was couple of years ago,I went through this kind of phaseof trying and trying to like useand stick with packagesthat are built into GNU Emacsas much as possible.No particular reason that I would like,you know, recommend people do that per se,but yeah, that's just what I wanted to do.Cause I noticed my configurationswere like growing unwieldy.So I, like many others declared, Emacs in its bankruptcy,in its file bankruptcy, and configure things from scratchand try to use whatever that Emacs had to offerbuilt in itself, and then only reach for a coupleof external packages here and there.So that's what I went to. That's how I ended up on Gnu's.And it's been very nice.I've tried a few other email clientssince then, temporarily,like I tried AERC, A-E-R-C,which is not built into Emacs,but I don't know,I keep coming back to Gnus.It's great to have it all, to be able to do all these thingsfrom within GNU Emacs. Let's see, some notes and feedback.Thank you for all the kind words folks, appreciate it.I'm glad that you found the presentation helpfulor somewhat useful. Let's see, new question.Oh, and I will check IRC as well.
[00:06:05.320]Q: At my organization, we're forced to use OAuth with outlook and they've also blacklisted all email clients except thunderbird (but they don't support it, only the webmail or the outlook app). Do you know if this is something that can be circumvented in Gnus?
Let's see, at my organization,we're forced to use OAuth with Outlook,and they've also blacklistedall email clients except Thunderbird,but they don't support it,only the Webmail or the Outlook app.Do you know if this is somethingthat can be circumvented in Gnus? Let's see.So if I'm pretty sure, at least with the recent Emacs versions,Gnus does support xOAuth as a backend.So I think you should be able to do thateven with just the things, the machinery built into Emacs.Even so, I think there are external packages and programs.One of them I think comes from this Cyrus IMAP worldof things that implement like XOAuth.So you should be able to do that.You should be able to use that to get authenticatedto your organization's mail server.But I've never tried that myself.In terms of like blacklisting all email clients,I don't know how they would do it outside of, you know,this kind of authentication thingy.If, you know, they checkthe user agent header or something,that's pretty easy to customize and set.With Gnus, you can set, define a posting styleto set a custom user agent.So, yeah, that's as far as I know.Thunderbird is pretty nice too.Like I reach out for it sometimeswhen I'm in a rush or can't,don't have the time to like set up Gnus withlike some new like IMAP server or something.I reach for it sometimes, but yeah,I primarily use Gnus. I see.So the question says they tried itwith not much and it never worked.Even KML on Android didn't work.Right. Yeah, I'm not sure.If you can like provide maybe more detailsas to like what doesn't workor if you get any particular error messagesor like how they're trying to like prevent you from using it,then maybe folks could have some ideasof maybe how to get around that.Yeah. Let's see, I'm going to goover and take a look at IRC. Yes, scoring is great.In it for bankruptcy,they have mail to use outlook from Gnus, right?Yeah, there are various like solutions and workarounds.Yeah, let's see. How's the schedule looking?I think the next talkis gonna start pretty soon, if I'm not mistaken.Yeah, so I believe that's about all the timethat we have on the stream for the Q&A,but of course I'll hang around here on big blue buttonand IRC for a while if folks would like to ask more questions.And also feel free to email me,bandali@gnu.orgor at kelar.org with any questions.Thanks again for the kind words folks, appreciate it.Yeah, I myself also wishthat there were like some tutorials or somethingwhen I was getting started with Gnus,but we didn't have that. So, and I've been meaningto like record a talk like this for years for EmacsConf,but yeah, funnily enough, after like 10 years of,at my 10th anniversaryof being involved with the conference,I finally put together a talk of my ownto talk about configuring Gnus.Let's see. Oh, I see, I see.So the organization is doing some kind of checkduring setting up of OAuth.So I think how that works issometimes these email clients,I think at least this is the case for Gmail or something,where a project such as Thunderbirdneeds to apply for some kind of tokento be able to authenticateand connect its users to a mail server.So all I will say isthat Thunderbird is free softwareand the sources are availableand you might be able to findthe token that they use and yeah.Right, so yeah, I'm just reading this comment here.You're very welcome again.I hope you find it useful in some way.
[00:13:18.798]Comment: Liked how I started with a clean setup
So they say that they like the factthat I started with a clean setup and built from that.Reading and writing emails in Emacsis definitely not straightforward.And I find it frustratingthat there are so many pieces to put togetherand a bunch of documentation to read.And they admit that they find Gnus overwhelming.I sympathize and empathize.I've been in that very same situation.And yeah, it's totally okay to feel like that.I mean, email itself is kind of complex,even on the server side.If you've ever looked or have been interestedin self-hosting your email,you know that there are so many moving parts and pieces.So yeah, I hope that this short videocan be a useful first stepof getting you set up toat least be able to read your emailsand compose and send them within Emacsso that you can see that it's possibleand get that positive feedback loop goingand get the encouragement and then go from there.Yeah, Gnus is most definitely very extensible.It already has a lot of backends built into GNU Emacs,and there are other onesthat people have written externallyon various code hosting forgesthat you can download and set up. Yeah, thank you all.It's nice to see that the talkhas kind of resonated with so many folks.And, yeah, it is encouragementfor me to finally get around to startingperhaps either a tutorial seriesor like a video series like thisconcretely showing and walking throughhow to like set up and configure these different aspects.There were so many other things that I wanted to show,but didn't have the timeor couldn't squeeze it intothe 15, 20 minute format for the conference.Yeah. I'm going to hang out here for a few more minutes.
[00:17:34.660]Comment: They would have liked to see a quick demo of Gnus while it is fully configured and tweaked
Another comment, they would have likedto see a quick demo of Gnuswhile it is fully configured and tweaked.That's kind of a teaser.I can definitely do that sometime after the conference.Truth be told, I don't customize the looks of it heavily.I use the default layoutfor the summary and article buffers.With Gnus, you can even reconfigure thatto arrange these in your preferred location or layout.I don't really do any of that.For the most part, my setup is pretty simple.
I can actually maybe show my init file here. Let's see.Yeah, so this is, I guess, part of my Gnus configuration.I configure a couple of mail servers,set up these expiry targetsso that I can hit capital E on a messageand then have it be archived. You can have it be immediate.I do that for work messagesor you can use the default seven day,where if a message is older than seven days,like once it reaches that ageand it's been marked as expired and it'll be moved into,like for example, this yearly archive directory,like archive. For example, 2025.
Yeah, you can do like mail splitting,automatically filing email.The fancy splitting is the more powerful variant.You can use like all kinds of regular expressionsand move email around depending onwhat field or what headermatches what regular expression.
What else? Gnus has things,has a facility like Gnus parametersfor configuring individual groups or directories.Like if you file all the mailing or the mailsfor a particular mailing list into a certain group.And for example, if they addthe name of the mailing listto the, subject header.They prefix the subject header with the name of the list.You can set that hereand Gnus will automaticallyhide that for you. So, let's see.There's a news agent,which I won't even get into because it's a rabbit hole.It's pretty cool. Definitely check it out.You can define what MIME parts should be buttonizedso that you can like easily toggle themwhen displaying the article.Yeah, you can customize the listof the headers that are displayed and the order of them.Like I showed in the sample init file that I provided.Gnus can integrate with Dired.
You can set like custom signatures like here.I might define somethingand then I use it later in the posting,in the posting, the news posting styles variable.I set a signature to that. Yeah.
You can write custom like functions to move email around.So I have this like Gnus chunk article functionthat I bind to v s,so v is the prefix came up that I defined,and then s, so you can do things like that.You can customize the format of the topic lines,so if I actually launch Gnus with my own configuration,this is how it might look like, so.You can define archive decodersto let you like automatically decodeinside the Gnus article buffer,how to extract certain archive formats.Like for example, I defined this one for Gzip.You can set like discouraged alternativesto like, for example, hide HTML email by default,especially if there is a plain text version. I do that.GNU says machinery around like encrypting emails.It has a bunch of customizations.that you can configure and have Gnus behave a certain way.For example, when replying to signed or encrypted emails.And yeah. Anyway. That's about it.So yeah, thanks again for hanging out with me, folks.I appreciate all the kind words.comments and yeah, I'm alsolooking forward to trying and putting togethermore videos or articles about Gnus.Definitely one about configuring Dovecot for local mail.And yeah, take it from there. Thanks again.Hope you enjoy the rest of the conference.