## ~sdfuser/.s-nailrc file - use with /usr/pkg/bin/s-nail # hold mail in system Inbox (default): set hold # see s-nail(1) for details: set v15-compat=yes # set EDITOR if different than default: #set EDITOR=vi # allow "dot" EOF; reverse 'r'/'R'; print next msg: set bsdcompat dot flip autoprint ## Mbox settings: set from='SDF User ' set reply-to='SDF User ' # redundant is set in ~/.mailrc: set folder=mail # '+' prefix => relative to ~/mail/: set MBOX=+Save set record=+Sent shortcut saved +Save shortcut sent +Sent ## automatic MIME type processing: # pipe all webified msgs thru lynx(1): set pipe-text/html='?* lynx -stdin -dump -force_html' ## command aliases: # use to return from remote accts: commandalias home 'account null' # match mail(1) cmd: commandalias inc 'newmail' # quiet the 'set' cmd: commandalias set '\ignerr set' # thread/unthread cmds: commandalias thrd 'sort thread' commandalias uthr 'unsort' ## email address aliases: alias snail-list "S-Mailx List " # group aliases - note: cc/bcc mailings need to have # at least one To: entry #alias hop-list hoppy@mud.bog \ # mrwarts@mud.bog \ # "Kermit " ## SMTP stuff: # wait until MTA finishes when sending mail. # => allows seeing any errors: set sendwait ### IMAP accounts section: ### # Another SDF user account: account sdfuser2 { set hold # just because.. set ssl-verify-mx.sdf.org=ignore set MBOX=+Saved set folder=imaps://sdfuser2@mx.sdf.org/ set inbox=imaps://sdfuser2@mx.sdf.org/ set password-sdfuser2@mx.sdf.org="********" set from='SDF User2 ' set record=+Sent shortcut saved +Saved shortcut sent +Sent } ### note: due to 2022 Gmail policy change this no longer works ### # Typical Gmail IMAP/SMTP w/ SSL setup (enable IMAP on your acct first); # note use of "URL percent encoded" chars in some settings, i.e. '%40' = '@' : account gmail { set hold set folder="imaps://gmail.user%40gmail.com@imap.gmail.com/INBOX" set inbox="imaps://gmail.user%40gmail.com@imap.gmail.com/INBOX" set password-gmail.user%40gmail.com@imap.gmail.com='********' set shortcut sent="imaps://gmail.user%40gmail.com@imap.gmail.com/[Gmail]/Sent Mail" set shortcut trash="imaps://gmail.user%40gmail.com@imap.gmail.com/[Gmail]/Trash" set from='Gmail User ' set reply-to='Gmail User ' set record=+Sent shortcut saved +Saved shortcut sent +Sent ### Gmail SMTP stuff ### # => reserved chars in SMTP pwd need to be URL percent encoded <= set mta="smtps://gmail.user%40gmail.com:*********@smtp.gmail.com }