playground:native_mail
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
playground:native_mail [2021/12/30 00:57] – created zilog | playground:native_mail [2022/01/21 03:37] (current) – removed zilog | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Native NetBSD mail(1) Setup and Use: ====== | ||
- | |||
- | This is the native mail client on **NetBSD**, the operating system the SDF cluster runs on. For historical reasons there are several aliases: //mail(1), Mail(1), mailx(1)//, however sticking to the first two will avoid name collision with any non-native clients. | ||
- | |||
- | ===== Setup ===== | ||
- | |||
- | Native //mail(1)// uses **~sdfuser/ | ||
- | |||
- | <file config ~homeuser/ | ||
- | ### NetBSD mail(1) config file (~/ | ||
- | |||
- | ## Hold mail in system Inbox (/ | ||
- | set hold | ||
- | |||
- | ## Set top of mail folder tree & cd into it; can | ||
- | ## be any name but " | ||
- | # use ' | ||
- | set folder=mail | ||
- | # allows simple folder changes, ex. 'fi Sent' instead of 'fi +/ | ||
- | chdir mail | ||
- | |||
- | ## Set non-std mbox and record names/ | ||
- | ## (default loc: ~/ ; ' | ||
- | # ~/mbox is default: | ||
- | set MBOX=+Save | ||
- | # none is default: | ||
- | set record=+Sent | ||
- | |||
- | ## Header fields to ignore & retain: | ||
- | ignore message-id received fcc status resent-date resent-message-id resent-from in-reply-to | ||
- | retain bcc cc date from subject to user-agent organization | ||
- | |||
- | ## Add additional headers - these are added to outgoing | ||
- | ## messages unless editted/ | ||
- | Header User-Agent: NetBSD Mail version 9.1alpha 2009-02-25 | ||
- | Header Organization: | ||
- | |||
- | ## uncomment to tweak the ' | ||
- | ## SDF user GECOS field (use userinfo(1) to list): | ||
- | #Header From: sdfuser@beevomit.org(Me at SDF) | ||
- | |||
- | # Open even if no mail: | ||
- | set emptystart | ||
- | |||
- | ## Email aliases: | ||
- | # use for contacting SDF membership: | ||
- | alias sdfhelp 'SDF membership < | ||
- | |||
- | ## set alt. editor(s) and pager; these will override | ||
- | ## user's EDITOR, VISUAL, PAGER shell env. vars: | ||
- | # default is PAGER: | ||
- | #set PAGER=more | ||
- | # default is EDITOR: | ||
- | #set EDITOR=nano | ||
- | # default is VISUAL: | ||
- | #set VISUAL=$HOME/ | ||
- | |||
- | ## enable piping output of mailx cmds. In example, | ||
- | ## typing '|wc -m' gives word count for curr. msg: | ||
- | set enable-pipes | ||
- | |||
- | # Set things to prompt for before sending: | ||
- | set append ask autoprint | ||
- | |||
- | ## Set indent prefix (for Replys); use with ' | ||
- | set indentprefix="> | ||
- | |||
- | ## pipe html/text type messages thru lynx(1), the text | ||
- | ## web browser. | ||
- | set mime-decode-header mime-decode-message mime-decode-quote | ||
- | set mime-body-text-html=" | ||
- | |||
- | </ | ||
- | |||
- | ===== Basic Use ===== | ||
- | |||
- | The //mail(1)// manpage will explain basic usage; once //mail(1)// is running you can type '' | ||
- | |||
- | |||
- | |||