DTMAIL(1)
π NAME π
okay so dtmail (user cmd) is literally the desktop mailer β your main character app for all things mail. it gives you an easy-to-use interface for viewing, filing, composing and sending electronic mail containers and mail messages. slay. π
π οΈ SYNOPSIS π οΈ
dtmail [-h] [-c] [-fmailfile] [-a file1 | ...fileN ]
β¨ DESCRIPTION β¨
The Dtmail program is a mailer for use on the desktop. It provides an easy-to-use interface for viewing, filing, composing and sending electronic mail containers and mail messages. bestie, it's giving "mail app that actually gets it." π
The Mailer provides a GUI-based interface for manipulating electronic mail messages that can have attachments. Use the interface to compose a message, view a message or a container holding messages, load new mail, copy or move messages from one container to another, delete messages, reply to messages, add and delete attachments to a message when composing, and view contents of attachments in a message. The Mailer also provides a mail-pervasive desktop environment by providing a public Tooltalk API. Other clients can use the Tooltalk API to compose and send messages. no cap, that's iconic. π
π OPTIONS π
-a file1 ... fileNβ Bring up a Compose window withfile1throughfileNas attachments. drop those files in, bestie. π-cβ Bring up an empty Compose window. blank canvas energy. β¨-f filenameβ This specifies the mail file to be loaded in at start up time. Ordinarily, the mailfile pointed to by the environment variableMAILis read in as the user's inbox. Use of this option overrides the use of theMAILvariable. π-hβ Display help for command line options. help is always a vibe. π«Ά
π RESOURCES π
The Mailer provides the following resources:
Dtmail*Message_List*doubleClickIntervalβ The double click time out (in milliseconds) for the scrolling message header list. Default is400milliseconds. β±οΈDtmail*Message_List*backgroundβ Color to use for the scrolling message header list background. Default is system dependent. π¨Dtmail*Message_List*foregroundβ Color to use for the scrolling message header list foreground. Default is system dependent. π¨Dtmail*Message_List*fontListβ The list of fonts to use in the scrolling message header list. The list must contain two fonts. The first must be tagged"plain"and is the font used to render the header text. The second must be tagged"attach"and is used to render the attachment indicator. Default is to use system dependent fixed width fonts. π€Dtmail*Work_Area*Text*backgroundβ Color to use for the View and Compose window text background. Default is system dependent. πDtmail*Work_Area*Text*foregroundβ Color to use for the View and Compose window text foreground. Default is system dependent. πDtmail*Work_Area*Text*fontListβ The list of fonts to use in the View and Compose windows. Font tag"plain". Default is to use a system dependent variable width font. π€
π MAIL VARIABLES π
In addition to the variables recognized by mailx(1), dtmail recognizes those listed below. They can be set by editing your .mailrc file; however, since most of the variables are accessible through the Mailer Options menu, we strongly recommend that you modify them there to reduce the chance of error. Unless otherwise noted, the default for the following variables is off. π«Ά
π‘ bestie, "off unless noted" is the vibe check here β don't forget the exceptions!
additionalfieldsβ A list of header fields to access via the Format menu. This variable can be accessed through theCustom Fields:,Header Field:, andDefault Value:portions of the Compose Window category in the Mail Options dialog. πbellβ The number of times to ring the bell when new mail arrives. This variable can be accessed through the Signal New Mail portion in the Message Header List category of the Mail Options dialog. The default is0. πcomposeintervalβ The interval in seconds for checkpointing todead.letter. Default is every600seconds (10minutes). β³dontlogmessagesβ This variable controls whether or not the Log Message item is selected in the File Menu in the Compose window. The default is to log messages. This variable can be accessed through the Log all sent messages item in the Message Filing category of the Mail Options dialog. πexpertβ Set expert mode in which minimal confirmations are requested. This variable can be accessed through the Show confirmation notices check box in the Advanced category of the Mail Options dialog. πfilemenu2β A list of files from which to initialize the Move, and Copy To menus. These can be absolute pathnames or pathnames relative to the directory specified in thefoldervariable. This variable can be accessed through the Move Menu and Copy To Menu: scrolling list in the Message Filing category of the Mail Options dialog. πfilemenusizeβ Specifies the maximum number of entries in the Move, and Copy To menus. The default is10. π’flashβ The number of times to flash the window or icon when new mail arrives. This variable can be accessed through the Signal New Mail portion of the Message Header List category of the Mail Options Dialog. The default is0. β¨folderβ The directory for saving mail files. This variable can be accessed through the Start Looking In item in the Mail Filing category of the Mail Options Dialog. πheaderlinesβ The number of lines to display at a time in the scrolling header list. This variable can be accessed through the Display item in the Message View category of the Mail Options dialog. The default is15. πhideattachmentsβ Hide the attachments pane in the Compose Message window by default. This variable can be accessed through the Show Attachment List item in the Compose Window category of the Mail Options dialog. The default is to show the attachment pane. πindentprefixβ Whenindentprefixis set, the string that it is set to is used to mark indented lines from included messages. The defaultindentprefixis"> ". This variable can be accessed through the Indent String item in the Compose Window category of the Mail Options dialog. π¬keepdeletedβ Don't purge the mailbox of deleted messages when closing (exiting)dtmail. Default is to ask the user if they would like to purge the mailbox on exit. This variable can be set in the Destroy Deleted Messages portion in the Message Header List category of the Mail Options dialog. Seequietdelete. ποΈquietdeleteβ Don't ask for confirmation when purging the mailbox of deleted messages when exitingdtmail. This variable can be set in the Destroy Deleted Messages portion in the Message Header List category of the Mail Options dialog. Seekeepdeleted. π€«recordβ The mail file in which to record outgoing messages. You can control recording of outgoing mail on a per message basis by the Log Message item in the Compose window's File menu. Thedontlogmessagesvariable controls whether or not this item is selected by default. Therecordvariable may be set through the Mailbox for Sent Messages: item in the Message Filing category of the Mail Options Dialog. Ifrecordis not set and the user chooses to log a message then the message will be saved in~/sent.mail. πretrieveintervalβ The interval in seconds to check for new mail. This variable can be accessed through the Check for New Mail Every: item in the Message Header List category of the Mail Options Dialog. The default is300seconds. π¬saveintervalβ The interval (in seconds) at which to checkpoint the state of the mail box to disk. Default is1800seconds (30minutes). This variable can be set using the Update Mailbox State item in the Advanced category of the Mail Options dialog. πΎshowmsgnumβ Show message numbers in the scrolling list of message headers. This variable can be set using the Display message numbers item in the Message Header List category of the Mail Options dialog. Default is to not show message numbers. π’showtoβ Show the"To"field of mail messages in the Header Window if the mail is from the same user that is reading mail (eg. you). This variable is accessed using the Show To: recipient when mail is item in the Message Header List category of the Mail Options dialog. πstrictmimeβ Use strict MIME character encoding for outgoing mail. In this case all lines longer than72characters are broken with a newline (and a trailing"="is appended to the line), and all trailing spaces are encoded (appearing as"=20"). Any time character encoding takes place all"="must be protected and are therefore encoded as"=3d". Note that8bit characters are always encoded, even ifstrictmimeis not specified. If you typically send mail to users of non MIME compliant readers you may want to consider not specifyingstrictmime. This variable can be set by selecting the Use strict MIME character encoding item in the Advanced category of the Mail Options dialog. The default is to use more relaxed character encoding (ie don't break long lines and don't protect trailing spaces). πtemplatesβ A list ofname:pathpairs to access via the Templates item in the Format menu of the Compose window.nameappears in the menu;pathis the file included whennameis selected. This variable can be accessed in the Template category of the Mail Options dialog. π§toolcolsβ Default width of the primary windows (in columns). This variable can be accessed through the item in the Message View category of the Mail Options dialog. π
π MAIL COMMANDS π
In addition to the commands recognized by mailx(1) in the .mailrc file, dtmail also recognizes the following commands.
ignore [header-field...]β Suppress displaying of the specified header fields. Examples of header fields to ignore areStatusandReceived. The fields are also ignored when the message is printed. This variable can be accessed through the Abbreviated Header item in the Message View category of the Mail Options dialog. π
π¨οΈ PRINTING π¨οΈ
okay so printing in dtmail has a few routes, and they all ate π
you can print messages with command invocation by selecting the message or messages you want and then activating the Print... command in the Message pulldown menu in the dtmail menu bar β or the Print... command in the Mailer - Messages popup menu that shows up on BMenu Down events in the message list β¨
- Print command button β thereβs one at the bottom of the message headers list, and it prints the currently selected messages. In this case the print job starts using the print setup context from the last print command without displaying any of the print setup dialogs π«Ά
- Drag and Drop invocation β yes bestie, thatβs also a whole option for printing messages π¦
Messages containing attachments are printed with summary lines in place of the attachment. You must print attachments individually in separate print job invocations β no sneaky bundling there, okay? π
You can choose to print multiple messages either as a single print job or as separate print jobs. If you print multiple messages in a single print job, you can choose to separate the messages using a blank line or a page break πΈ
To print a mailbox, use CDE Drag and Drop to drag the icon for the mailbox from the File Manager to the printer icon in the desktop π¨οΈβ¨
When you invoke printing β whether by command invocation or by drag and drop β dtmail displays a Print Setup window that lets you set a number of generic and printer-specific printing options. For example, you can send the output to a file or a printer. In the case of printed output, you can specify how many copies you want. You can also access another window to set options specific to the printer/spooler you are using. For example, you can select paper size, orientation, a banner page title, one- or two-sided printing, and email notification on completion of the print job π
π ENVIRONMENT VARIABLES π
The following are environment variables taken from the execution environment and are not alterable within dtmail β read-only vibes only, bestie π
HOME=directory β the userβs home directory.MAIL=filename β the name of the initial mailbox file to read (in lieu of the standard system mailbox). The default is system dependent. See the FILE section.MAILRC=filename β the name of the start-up file. Default is$HOME/.mailrc.
π FILES π
- System mailboxes:
/var/mail/*(Sun)/var/spool/mail/*(IBM)/usr/mail*(HP)
/etc/mail/mailx.rcβ system setup file that is read in before~/.mailrc.~/.mailrcβ start-up file formailanddtmail./nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtmailβ executable for the desktop Mailer./nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/app-defaults/&<LANG>/Dtmailβ application defaults for the desktop Mailer.
and thatβs the dtmail user-command manual, footer included β consider it acknowledged with a little curtsy, bestie πππ¦π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms