You might like to have unicode support e.g. on NetBSD with PDKSH
vi /etc/profile export ENV=/etc/shrc vi /etc/shrc export LANG="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export LC_ALL=""
from scratch see alpine-source
debian
apt install alpine
slackware
slackpkg search alpine ls -lF /var/log/packages/alpine-*
netbsd
echo $PKG_PATH pkg_add alpine
Make sure there’s a white space after the two dashes
vi ~/.signature -- YOUR-SIGNATURE
Make sure you’re on an UTF-8 capable display
Get ready for spell checks
pkg_info | grep aspell
Get a wiped-out config to start with
alpine ENTER Q mv -i .pinerc .pinerc.dist sed '/^#/d; /^$/d' .pinerc.dist > .pinerc.clean
Grab my template and define a few things (4 first lines) e.g. don’t reply to yourself by enabling alt-addresses
wget https://pub.nethence.com/dotfiles/dot.pinerc cp -i dot.pinerc.txt .pinerc vi .pinerc
change/update those
personal-name=YOUR-NAME user-domain=DOMAIN.TLD customized-hdrs=From: YOUR-NAME <YOUR-EMAIL1> alt-addresses=info@DOMAIN.TLD, contact@DOMAIN.TLD, abuse@DOMAIN.TLD
note customized headers is only required when the UNIX user-name differs from your email login
in case this is not a mail host
smtp-server=SMARTHOST/tls
check and backup
grep -vE '^#|^$|=$' .pinerc mv -f .pinerc .pinerc.tmp grep -vE '^#|^$|=$' .pinerc.tmp > .pinerc rm -f .pinerc.tmp #diff -bu dot.pinerc.txt .pinerc diff -bu dot.pinerc .pinerc
Unused
convert-dates-to-localtime, thread-sorts-by-arrival, slash-collapses-entire-thread
Thunderbird wants
Sent Drafts Trash
iOS Mail wants
Sent\ Messages Saved Deleted\ Messages
Alpine provides
sent-mail postponed-msgs saved-messages
hence on the email storage itself as follows
cd ~USER/mail/ ln -s sent-mail Sent ln -s sent-mail Sent\ Messages ln -s postponed-msgs Drafts ln -s postponed-msgs Saved ln -s saved-messages Trash ln -s saved-messages Deleted\ Messages
and check
ls -lF sent-mail Sent* postpone* Drafts Saved Trash Deleted*
cd ~/Maildir/ ln -s .Sent .Sent\ Messages ln -s .Trash .Deleted\ Messages ln -s .Drafts Saved
Why I still love Alpine for email at the Linux terminal https://opensource.com/article/18/8/love-alpine
Configuration and Preferences http://www.chiark.greenend.org.uk/doc/alpine-doc/tech-notes/config.html
What is a Mail Drop? http://www.chiark.greenend.org.uk/doc/alpine-doc/tech-notes/config-notes.html#maildrop
Setting up a Maildrop http://alpine.x10host.com/alpine/alpine-info/maildrop/
unicode https://wiki.netbsd.org/tutorials/unicode/