summaryrefslogtreecommitdiffstats
path: root/2025/captions/emacsconf-2025-gnus--reading-and-writing-emails-in-gnu-emacs-with-gnus--amin-bandali--answers.vtt
blob: 3e22e18dd4d80815433eadbbe6b40ecf90019b2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
WEBVTT

00:00:00.000 --> 00:00:02.117
Okay, so first question.

00:00:02.118 --> 00:00:05.037
I noticed that it took considerable amount of time to send email.

00:00:05.038 --> 00:00:09.637
Is it possible to configure to use an external SMTP client

00:00:09.638 --> 00:00:14.357
to send emails? Right, yes, it definitely is possible.

00:00:14.358 --> 00:00:18.957
In fact, in the past, I've used, I believe, MSMTP,

00:00:18.958 --> 00:00:23.317
which is a small SMTP implementation

00:00:23.318 --> 00:00:27.437
that's independent of Emacs. So you can do that.

00:00:27.438 --> 00:00:30.757
It's also possible to, pointed

00:00:30.758 --> 00:00:34.997
to have it use the sendmail binary on your system.

00:00:34.998 --> 00:00:41.637
If you have a local MTA mail transfer agents

00:00:41.638 --> 00:00:46.117
like Exim or Postfix installed and configure.

00:00:46.118 --> 00:00:50.037
I believe that should also dispatch

00:00:50.038 --> 00:00:51.997
and return instantaneously

00:00:51.998 --> 00:00:55.157
and then have Postfix or Exim

00:00:55.158 --> 00:00:57.997
deal with sending the message on their terms

00:00:57.998 --> 00:01:02.197
without blocking Emacs. I don't know, it depends.

00:01:02.198 --> 00:01:04.917
Normally it's not always that slow. Sometimes it is.

00:01:04.918 --> 00:01:11.917
I think it also depends on the load on your mail server.

00:01:11.918 --> 00:01:14.917
Sometimes it's instantaneous, sometimes not.

00:01:14.918 --> 00:01:17.837
So I hope that helps.

00:01:17.838 --> 00:01:20.597
Let's see, is the Dovecot workaround

00:01:20.598 --> 00:01:21.917
actually a solution?

00:01:21.918 --> 00:01:24.437
I haven't tried it, but if it works smoothly,

00:01:24.438 --> 00:01:27.477
I'll surely do so. It is, it really is.

00:01:27.478 --> 00:01:31.637
I've actually been using that setup for many years.

00:01:31.638 --> 00:01:45.837
I can't remember. Oh, I believe it's Eric Abramson

00:01:45.838 --> 00:01:49.077
who first shared instructions on how to set this up.

00:01:49.078 --> 00:02:04.037
Let's see if I can find it. There we go. Yeah, this is it.

00:02:04.038 --> 00:02:06.957
I'll share this on IRC as well.

00:02:06.958 --> 00:02:15.517
Yeah, so Dovecot is very, very efficient.

00:02:15.518 --> 00:02:21.557
It's written in C. And yeah, when you point Gnu's

00:02:21.558 --> 00:02:23.237
to an IMAP server like Dovecot,

00:02:23.238 --> 00:02:25.037
dealing with email is pretty instantaneous.

00:02:25.038 --> 00:02:29.157
This article or post by Eric is great.

00:02:29.158 --> 00:02:32.397
Although I will say that

00:02:32.398 --> 00:02:34.997
there was a recent major release of Dovecot.

00:02:34.998 --> 00:02:37.877
I can't remember if it's 2.4 or 2.5.

00:02:37.878 --> 00:02:39.597
and it's a breaking change.

00:02:39.598 --> 00:02:42.557
They change a lot of the configuration syntax,

00:02:42.558 --> 00:02:44.077
so there's a high likelihood

00:02:44.078 --> 00:02:47.477
that this drop-in configuration won't work,

00:02:47.478 --> 00:02:49.237
even though that's what I used

00:02:49.238 --> 00:02:51.957
as my starting point a couple years ago.

00:02:51.958 --> 00:02:56.237
I will be writing an article on my personal site

00:02:56.238 --> 00:03:02.717
to go over how to configure recent versions of Dofconn

00:03:02.718 --> 00:03:07.117
for such a setup, for a local setup.

00:03:07.118 --> 00:03:15.957
Let's see. Do you have experience with Mu4e or not much?

00:03:15.958 --> 00:03:22.397
And why would you say Gnus is worth using compared to these?

00:03:22.398 --> 00:03:23.837
I do have experience with these,

00:03:23.838 --> 00:03:25.517
although it goes back many years,

00:03:25.518 --> 00:03:27.757
and I'm sure both of these have evolved since,

00:03:27.758 --> 00:03:31.837
and they're great pieces of software in their own rights.

00:03:31.838 --> 00:03:33.917
And actually I did use them in that order.

00:03:33.918 --> 00:03:37.397
Like I first tried Mu4e in Emacs,

00:03:37.398 --> 00:03:40.277
when I started using email in Emacs,

00:03:40.278 --> 00:03:44.277
then I tried Notmuch for a while, and then I went to Gnus.

00:03:44.278 --> 00:03:51.157
They're great. They have like pros and cons.

00:03:51.158 --> 00:03:52.397
Mu4e, I believe, has

00:03:52.398 --> 00:03:55.357
excellent maildir handling directly,

00:03:55.358 --> 00:03:58.357
if I'm not mistaken, unlike Gnus,

00:03:58.358 --> 00:04:00.837
so you can point it directly

00:04:00.838 --> 00:04:03.637
to your maildirs locally,

00:04:03.638 --> 00:04:06.157
and it should work fine,

00:04:06.158 --> 00:04:08.157
if I'm remembering correctly.

00:04:08.158 --> 00:04:11.477
NotMuch is also excellent.

00:04:11.478 --> 00:04:12.477
The thing with Notmuch

00:04:12.478 --> 00:04:13.957
is that it uses Xapien

00:04:13.958 --> 00:04:17.877
for indexing and searching email.

00:04:17.878 --> 00:04:20.397
It's tag-based, so you can tag messages.

00:04:20.398 --> 00:04:24.077
And then, yeah, it's amazing

00:04:24.078 --> 00:04:26.197
for tagging and searching capabilities,

00:04:26.198 --> 00:04:28.877
very powerful search features.

00:04:28.878 --> 00:04:31.677
And my reason for trying Gnus

00:04:31.678 --> 00:04:33.637
and then, I don't know, eventually

00:04:33.638 --> 00:04:37.037
liking it was couple of years ago,

00:04:37.038 --> 00:04:38.437
I went through this kind of phase

00:04:38.438 --> 00:04:40.597
of trying and trying to like use

00:04:40.598 --> 00:04:43.357
and stick with packages

00:04:43.358 --> 00:04:45.317
that are built into GNU Emacs

00:04:45.318 --> 00:04:47.157
as much as possible.

00:04:47.158 --> 00:04:51.877
No particular reason that I would like,

00:04:51.878 --> 00:04:54.197
you know, recommend people do that per se,

00:04:54.198 --> 00:04:57.037
but yeah, that's just what I wanted to do.

00:04:57.038 --> 00:05:00.597
Cause I noticed my configurations

00:05:00.598 --> 00:05:02.277
were like growing unwieldy.

00:05:02.278 --> 00:05:07.797
So I, like many others declared, Emacs in its bankruptcy,

00:05:07.798 --> 00:05:11.677
in its file bankruptcy, and configure things from scratch

00:05:11.678 --> 00:05:15.717
and try to use whatever that Emacs had to offer

00:05:15.718 --> 00:05:18.797
built in itself, and then only reach for a couple

00:05:18.798 --> 00:05:20.277
of external packages here and there.

00:05:20.278 --> 00:05:24.717
So that's what I went to. That's how I ended up on Gnu's.

00:05:24.718 --> 00:05:26.397
And it's been very nice.

00:05:26.398 --> 00:05:29.557
I've tried a few other email clients

00:05:29.558 --> 00:05:31.237
since then, temporarily,

00:05:31.238 --> 00:05:33.197
like I tried AERC, A-E-R-C,

00:05:33.198 --> 00:05:36.197
which is not built into Emacs,

00:05:36.198 --> 00:05:36.797
but I don't know,

00:05:36.798 --> 00:05:38.197
I keep coming back to Gnus.

00:05:38.198 --> 00:05:42.757
It's great to have it all, to be able to do all these things

00:05:42.758 --> 00:05:47.677
from within GNU Emacs. Let's see, some notes and feedback.

00:05:47.678 --> 00:05:52.557
Thank you for all the kind words folks, appreciate it.

00:05:52.558 --> 00:05:56.557
I'm glad that you found the presentation helpful

00:05:56.558 --> 00:05:59.157
or somewhat useful. Let's see, new question.

00:05:59.158 --> 00:06:02.357
Oh, and I will check IRC as well.

00:06:02.358 --> 00:06:06.917
Let's see, at my organization,

00:06:06.918 --> 00:06:09.317
we're forced to use OAuth with Outlook,

00:06:09.318 --> 00:06:11.157
and they've also blacklisted

00:06:11.158 --> 00:06:13.517
all email clients except Thunderbird,

00:06:13.518 --> 00:06:15.237
but they don't support it,

00:06:15.238 --> 00:06:17.037
only the Webmail or the Outlook app.

00:06:17.038 --> 00:06:18.517
Do you know if this is something

00:06:18.518 --> 00:06:23.997
that can be circumvented in Gnus? Let's see.

00:06:23.998 --> 00:06:29.797
So if I'm pretty sure, at least with the recent Emacs versions,

00:06:29.798 --> 00:06:37.677
Gnus does support xOAuth as a backend.

00:06:37.678 --> 00:06:41.557
So I think you should be able to do that

00:06:41.558 --> 00:06:45.677
even with just the things, the machinery built into Emacs.

00:06:45.678 --> 00:06:53.917
Even so, I think there are external packages and programs.

00:06:53.918 --> 00:06:58.717
One of them I think comes from this Cyrus IMAP world

00:06:58.718 --> 00:07:02.357
of things that implement like XOAuth.

00:07:02.358 --> 00:07:04.797
So you should be able to do that.

00:07:04.798 --> 00:07:09.397
You should be able to use that to get authenticated

00:07:09.398 --> 00:07:12.237
to your organization's mail server.

00:07:12.238 --> 00:07:15.797
But I've never tried that myself.

00:07:15.798 --> 00:07:22.837
In terms of like blacklisting all email clients,

00:07:22.838 --> 00:07:27.637
I don't know how they would do it outside of, you know,

00:07:27.638 --> 00:07:29.797
this kind of authentication thingy.

00:07:29.798 --> 00:07:32.317
If, you know, they check

00:07:32.318 --> 00:07:36.397
the user agent header or something,

00:07:36.398 --> 00:07:42.037
that's pretty easy to customize and set.

00:07:42.038 --> 00:07:50.437
With Gnus, you can set, define a posting style

00:07:50.438 --> 00:07:55.237
to set a custom user agent.

00:07:55.238 --> 00:07:58.157
So, yeah, that's as far as I know.

00:07:58.158 --> 00:08:00.877
Thunderbird is pretty nice too.

00:08:00.878 --> 00:08:05.157
Like I reach out for it sometimes

00:08:05.158 --> 00:08:10.557
when I'm in a rush or can't,

00:08:10.558 --> 00:08:15.957
don't have the time to like set up Gnus with

00:08:15.958 --> 00:08:24.117
like some new like IMAP server or something.

00:08:24.118 --> 00:08:28.757
I reach for it sometimes, but yeah,

00:08:28.758 --> 00:08:32.397
I primarily use Gnus. I see.

00:08:32.398 --> 00:08:34.757
So the question says they tried it

00:08:34.758 --> 00:08:38.117
with not much and it never worked.

00:08:38.118 --> 00:08:39.877
Even KML on Android didn't work.

00:08:39.878 --> 00:08:45.597
Right. Yeah, I'm not sure.

00:08:45.598 --> 00:08:47.677
If you can like provide maybe more details

00:08:47.678 --> 00:08:57.477
as to like what doesn't work

00:08:57.478 --> 00:09:02.517
or if you get any particular error messages

00:09:02.518 --> 00:09:05.677
or like how they're trying to like prevent you from using it,

00:09:05.678 --> 00:09:08.557
then maybe folks could have some ideas

00:09:08.558 --> 00:09:11.877
of maybe how to get around that.

00:09:11.878 --> 00:09:16.237
Yeah. Let's see, I'm going to go

00:09:16.238 --> 00:09:29.597
over and take a look at IRC. Yes, scoring is great.

00:09:29.598 --> 00:09:33.357
In it for bankruptcy,

00:09:33.358 --> 00:09:39.157
they have mail to use outlook from Gnus, right?

00:09:39.158 --> 00:09:43.637
Yeah, there are various like solutions and workarounds.

00:09:43.638 --> 00:09:47.277
Yeah, let's see. How's the schedule looking?

00:09:47.278 --> 00:09:48.277
I think the next talk

00:09:48.278 --> 00:09:52.637
is gonna start pretty soon, if I'm not mistaken.

00:09:52.638 --> 00:10:34.557
Yeah, so I believe that's about all the time

00:10:34.558 --> 00:10:35.717
that we have on the stream for the Q&A,

00:10:35.718 --> 00:10:38.757
but of course I'll hang around here on big blue button

00:10:38.758 --> 00:10:43.077
and IRC for a while if folks would like to ask more questions.

00:10:43.078 --> 00:10:43.757
And also feel free to email me,

00:10:43.758 --> 00:10:44.877
bandali@gnu.org

00:10:44.878 --> 00:10:46.437
or at kelar.org with any questions.

00:10:46.438 --> 00:10:49.557
Thanks again for the kind words folks, appreciate it.

00:10:49.558 --> 00:10:51.037
Yeah, I myself also wish

00:10:51.038 --> 00:10:53.637
that there were like some tutorials or something

00:10:53.638 --> 00:10:54.997
when I was getting started with Guinness,

00:10:54.998 --> 00:10:56.557
but we didn't have that. So, and I've been meaning

00:10:56.558 --> 00:10:59.117
to like record a talk like this for years for EmacsConf,

00:10:59.118 --> 00:11:12.277
but yeah, funnily enough, after like 10 years of,

00:11:12.278 --> 00:11:22.117
at my 10th anniversary

00:11:22.118 --> 00:11:27.397
of being involved with the conference,

00:11:27.398 --> 00:11:29.357
I finally put together a talk of my own

00:11:29.358 --> 00:11:32.317
to talk about configuring Gnus.

00:11:32.318 --> 00:11:35.757
Let's see. Oh, I see, I see.

00:11:35.758 --> 00:11:41.517
So the organization is doing some kind of check

00:11:41.518 --> 00:11:43.437
during setting up of OAuth.

00:11:43.438 --> 00:11:44.637
So I think how that works is

00:11:44.638 --> 00:11:47.157
sometimes these email clients,

00:11:47.158 --> 00:11:50.117
I think at least this is the case for Gmail or something,

00:11:50.118 --> 00:11:55.037
where a project such as Thunderbird

00:11:55.038 --> 00:12:00.557
needs to apply for some kind of token

00:12:00.558 --> 00:12:02.517
to be able to authenticate

00:12:02.518 --> 00:12:05.117
and connect its users to a mail server.

00:12:05.118 --> 00:12:10.197
So all I will say is

00:12:10.198 --> 00:12:12.237
that Thunderbird is free software

00:12:12.238 --> 00:12:13.517
and the sources are available

00:12:13.518 --> 00:12:15.517
and you might be able to find

00:12:15.518 --> 00:12:19.637
the token that they use and yeah.

00:12:19.638 --> 00:13:13.877
Right, so yeah, I'm just reading this comment here.

00:13:13.878 --> 00:13:16.077
You're very welcome again.

00:13:16.078 --> 00:13:18.797
I hope you find it useful in some way.

00:13:18.798 --> 00:13:21.597
So they say that they like the fact

00:13:21.598 --> 00:13:25.237
that I started with a clean setup and built from that.

00:13:25.238 --> 00:13:27.117
Reading and writing emails in Emacs

00:13:27.118 --> 00:13:28.917
is definitely not straightforward.

00:13:28.918 --> 00:13:30.357
And I find it frustrating

00:13:30.358 --> 00:13:32.317
that there are so many pieces to put together

00:13:32.318 --> 00:13:34.397
and a bunch of documentation to read.

00:13:34.398 --> 00:13:39.317
And they admit that they find Gnus overwhelming.

00:13:39.318 --> 00:13:42.757
I sympathize and empathize.

00:13:42.758 --> 00:13:45.317
I've been in that very same situation.

00:13:45.318 --> 00:13:50.557
And yeah, it's totally okay to feel like that.

00:13:50.558 --> 00:13:55.437
I mean, email itself is kind of complex,

00:13:55.438 --> 00:13:57.517
even on the server side.

00:13:57.518 --> 00:14:00.517
If you've ever looked or have been interested

00:14:00.518 --> 00:14:02.677
in self-hosting your email,

00:14:02.678 --> 00:14:06.637
you know that there are so many moving parts and pieces.

00:14:06.638 --> 00:14:14.397
So yeah, I hope that this short video

00:14:14.398 --> 00:14:18.277
can be a useful first step

00:14:18.278 --> 00:14:19.757
of getting you set up to

00:14:19.758 --> 00:14:22.957
at least be able to read your emails

00:14:22.958 --> 00:14:26.557
and compose and send them within Emacs

00:14:26.558 --> 00:14:30.837
so that you can see that it's possible

00:14:30.838 --> 00:14:34.837
and get that positive feedback loop going

00:14:34.838 --> 00:14:41.157
and get the encouragement and then go from there.

00:14:41.158 --> 00:15:06.597
Yeah, Gnus is most definitely very extensible.

00:15:06.598 --> 00:15:10.157
It already has a lot of backends built into GNU Emacs,

00:15:10.158 --> 00:15:12.437
and there are other ones

00:15:12.438 --> 00:15:14.237
that people have written externally

00:15:14.238 --> 00:15:18.557
on various code hosting forges

00:15:18.558 --> 00:15:27.877
that you can download and set up. Yeah, thank you all.

00:15:27.878 --> 00:15:30.717
It's nice to see that the talk

00:15:30.718 --> 00:15:33.917
has kind of resonated with so many folks.

00:15:33.918 --> 00:15:41.237
And, yeah, it is encouragement

00:15:41.238 --> 00:15:44.197
for me to finally get around to starting

00:15:44.198 --> 00:15:47.997
perhaps either a tutorial series

00:15:47.998 --> 00:15:50.477
or like a video series like this

00:15:50.478 --> 00:15:54.117
concretely showing and walking through

00:15:54.118 --> 00:15:57.917
how to like set up and configure these different aspects.

00:15:57.918 --> 00:16:00.277
There were so many other things that I wanted to show,

00:16:00.278 --> 00:16:04.557
but didn't have the time

00:16:04.558 --> 00:16:06.437
or couldn't squeeze it into

00:16:06.438 --> 00:16:09.037
the 15, 20 minute format for the conference.

00:16:09.038 --> 00:16:28.917
Yeah. I'm going to hang out here for a few more minutes.

00:16:28.918 --> 00:17:36.557
Another comment, they would have liked

00:17:36.558 --> 00:17:38.717
to see a quick demo of Gnus

00:17:38.718 --> 00:17:41.117
while it is fully configured and tweaked.

00:17:41.118 --> 00:17:43.357
That's kind of a teaser.

00:17:43.358 --> 00:17:52.357
I can definitely do that sometime after the conference.

00:17:52.358 --> 00:17:59.637
Truth be told, I don't customize the looks of it heavily.

00:17:59.638 --> 00:18:01.757
I use the default layout

00:18:01.758 --> 00:18:03.957
for the summary and article buffers.

00:18:03.958 --> 00:18:12.557
With Gnus, you can even reconfigure that

00:18:12.558 --> 00:18:15.637
to arrange these in your preferred location or layout.

00:18:15.638 --> 00:18:18.717
I don't really do any of that.

00:18:18.718 --> 00:18:22.797
For the most part, my setup is pretty simple.

00:18:22.798 --> 00:18:27.757
I can actually maybe show my init file here. Let's see.

00:18:27.758 --> 00:18:58.717
Yeah, so this is, I guess, part of my Gnus configuration.

00:18:58.718 --> 00:19:01.437
I configure a couple of mail servers,

00:19:01.438 --> 00:19:04.637
set up these expiry targets

00:19:04.638 --> 00:19:07.597
so that I can hit capital E on a message

00:19:07.598 --> 00:19:12.437
and then have it be archived. You can have it be immediate.

00:19:12.438 --> 00:19:15.477
I do that for work messages

00:19:15.478 --> 00:19:17.677
or you can use the default seven day,

00:19:17.678 --> 00:19:21.797
where if a message is older than seven days,

00:19:21.798 --> 00:19:23.317
like once it reaches that age

00:19:23.318 --> 00:19:26.357
and it's been marked as expired and it'll be moved into,

00:19:26.358 --> 00:19:29.597
like for example, this yearly archive directory,

00:19:29.598 --> 00:19:31.757
like archive. For example, 2025.

00:19:31.758 --> 00:19:35.317
Yeah, you can do like mail splitting,

00:19:35.318 --> 00:19:38.557
automatically filing email.

00:19:38.558 --> 00:19:44.037
The fancy splitting is the more powerful variant.

00:19:44.038 --> 00:19:46.917
You can use like all kinds of regular expressions

00:19:46.918 --> 00:19:48.917
and move email around depending on

00:19:48.918 --> 00:19:50.877
what field or what header

00:19:50.878 --> 00:19:52.637
matches what regular expression.

00:19:52.638 --> 00:20:00.397
What else? Gnus has things,

00:20:00.398 --> 00:20:03.477
has a facility like Gnus parameters

00:20:03.478 --> 00:20:07.237
for configuring individual groups or directories.

00:20:07.238 --> 00:20:11.477
Like if you file all the mailing or the mails

00:20:11.478 --> 00:20:15.797
for a particular mailing list into a certain group.

00:20:15.798 --> 00:20:20.237
And for example, if they add

00:20:20.238 --> 00:20:22.917
the name of the mailing list

00:20:22.918 --> 00:20:26.437
to the, subject header.

00:20:26.438 --> 00:20:28.957
They prefix the subject header with the name of the list.

00:20:28.958 --> 00:20:30.637
You can set that here

00:20:30.638 --> 00:20:32.877
and Gnus will automatically

00:20:32.878 --> 00:20:39.117
hide that for you. So, let's see.

00:20:39.118 --> 00:20:54.637
There's a news agent,

00:20:54.638 --> 00:20:58.917
which I won't even get into because it's a rabbit hole.

00:20:58.918 --> 00:21:01.877
It's pretty cool. Definitely check it out.

00:21:01.878 --> 00:21:07.517
You can define what MIME parts should be buttonized

00:21:07.518 --> 00:21:09.277
so that you can like easily toggle them

00:21:09.278 --> 00:21:11.077
when displaying the article.

00:21:11.078 --> 00:21:14.837
Yeah, you can customize the list

00:21:14.838 --> 00:21:17.597
of the headers that are displayed and the order of them.

00:21:17.598 --> 00:21:22.997
Like I showed in the sample init file that I provided.

00:21:22.998 --> 00:21:25.437
Games can integrate with Dired.

00:21:25.438 --> 00:21:35.957
You can set like custom signatures like here.

00:21:35.958 --> 00:21:37.877
I might define something

00:21:37.878 --> 00:21:44.797
and then I use it later in the posting,

00:21:44.798 --> 00:21:48.517
in the posting, the news posting styles variable.

00:21:48.518 --> 00:21:52.117
I set a signature to that. Yeah.

00:21:52.118 --> 00:22:09.997
You can write custom like functions to move email around.

00:22:09.998 --> 00:22:16.077
So I have this like Gnus chunk article function

00:22:16.078 --> 00:22:19.117
that I bind to VS,

00:22:19.118 --> 00:22:22.317
so V is the prefix came up that I defined,

00:22:22.318 --> 00:22:29.757
and then S, so you can do things like that.

00:22:29.758 --> 00:22:34.197
You can customize the format of the topic lines,

00:22:34.198 --> 00:22:39.557
so if I actually launch Gnus with my own configuration,

00:22:39.558 --> 00:22:43.397
this is how it might look like, so.

00:22:43.398 --> 00:22:58.437
You can define archive decoders

00:22:58.438 --> 00:23:02.317
to let you like automatically decode

00:23:02.318 --> 00:23:04.957
inside the Gnus article buffer,

00:23:04.958 --> 00:23:10.157
how to extract certain archive formats.

00:23:10.158 --> 00:23:13.037
Like for example, I defined this one for Gzip.

00:23:13.038 --> 00:23:18.637
You can set like discouraged alternatives

00:23:18.638 --> 00:23:22.077
to like, for example, hide HTML email by default,

00:23:22.078 --> 00:23:26.997
especially if there is a plain text version. I do that.

00:23:26.998 --> 00:23:34.997
GNU says machinery around like encrypting emails.

00:23:34.998 --> 00:23:36.957
It has a bunch of customizations.

00:23:36.958 --> 00:23:44.797
that you can configure and have Dynos behave a certain way.

00:23:44.798 --> 00:23:48.637
For example, when replying to signed or encrypted emails.

00:23:48.638 --> 00:24:01.957
And yeah. Anyway. That's about it.

00:24:01.958 --> 00:24:04.557
So yeah, thanks again for hanging out with me, folks.

00:24:04.558 --> 00:24:08.877
I appreciate all the kind words.

00:24:08.878 --> 00:24:13.117
comments and yeah, I'm also

00:24:13.118 --> 00:24:17.037
looking forward to trying and putting together

00:24:17.038 --> 00:24:21.997
more videos or articles about Gnus.

00:24:21.998 --> 00:24:28.117
Definitely one about configuring Dovecot for local mail.

00:24:28.118 --> 00:24:31.157
And yeah, take it from there. Thanks again.

00:24:31.158 --> 00:24:33.688
Hope you enjoy the rest of the conference.