Mail and mutt on sdf.org
========================
There are several tutorials about mail on sdf.org, and information
provided by them are clearly understandable after you are got know
everything what they are about. Because I didn't found any resources
on Gophersphere about it I'm putting this tutorial here.
1. After you logged to the sdf.org by SSH you can check your e-mail by
several programs, which are installed on the sdf.org, and which are
mentioned in the FAQ. I'd like to use mutt, so I entered command like
below from the shell:
$ mutt
and I saw my e-mails.
2. You could also use the web-mail client, which is mentioned in the
FAQ. I'd like to use it so I visited /mx.sdf.org/ in my web browser
and I saw my e-mail.
3. After that I saw some directories in my home directory, they were
called: ~/mail, and ~/Mail, and there were also some files inside
them. So how mutt, and web-mail app are knowing how to read e-mail,
and why there are so many directories and files?
The most important is the /spool file/ which is located in variable as
below:
$ echo $MAIL
Above clients are reading e-mail from that single location. But they
are saving e-mail in different directories, so we should set up them
to save e-mail in one locations.
4. Web-mail client is using ~/mail directory and files: INBOX.Drafts,
INBOX.Sent, INBOX.Trash so I've set up mutt to use them by configuring
my ~/.muttrc.
set folder = "~/mail"
set record="$HOME/mail/INBOX.Sent"
set postponed="$HOME/mail/INBOX.Drafts"
5. After that we are seeing the same e-mail in the web-mail client,
and in the mutt. We can change a folder by pressing c in mutt, and
save/change location of an e-mail by pressing s.
~ [e-mail configuration]
http://sdf.org/?tutorials/e-mail-basics
~ [about folders]
https://sdf.org/?faq?EMAIL?15
~ [about web-mail]
https://sdf.org/?faq?EMAIL?13
~ [about mutt folders configuration]
http://mutt.postle.net/storage/index.html
--
szczezuja.space CC BY-SA
@Sat 06 Aug 2022 09:43:56 PM CEST