################################################################################ #### Global configuration ###################################################### ################################################################################ # Default display name for all accounts # # The display-name is used to build the full email address of an # account: "Example" # display-name = "Example" # Default signature for all accounts # # The signature is put at the bottom of all messages. It can be a path # or a string. Supports TOML multilines. # # signature = "/path/to/signature/file" # signature = """ # Thanks you, # Regards # """ signature = "Regards,\n" # Default signature delimiter for all accounts # # The signature delimiter delimits the end of the message body from # the signature. Defaults to "-- \n". # signature-delim = "-- \n" # Default downloads directory path for all accounts # # The downloads directory is mostly used for downloading # attachments. Defaults to "/tmp". downloads-dir = "~/downloads" # Account listing table preset # # Customizes the charset used to build the table. Defaults to markdown # table style. # # See . # account.list.table.preset = "|| |-||| " # Account listing table name column # # Customizes the color of the NAME column of the account listing # table. # account.list.table.name-color = "green" # Account listing table backends column # # Customizes the color of the BACKENDS column of the account listing # table. # account.list.table.backends-color = "blue" # Account listing table default column # # Customizes the color of the DEFAULT column of the account listing # table. # account.list.table.default-color = "reset" ################################################################################ #### Account configuration ##################################################### ################################################################################ [accounts.example] # Defaultness of the account # # The current account will be used by default in all commands. # default = true # Email of the account # # The email address associated to the current account. # email = "example@localhost" # Display name # # The display-name and the email are used to build the full email # address: "Example" # display-name = "Example" # Signature # # The signature is put at the bottom of all messages. It can be a path # or a string. Supports TOML multilines. # # signature = "/path/to/signature/file" # signature = """ # Thanks you, # Regards # """ signature = "Regards,\n" # Signature delimiter # # The signature delimiter delimits the end of the message body from # the signature. Defaults to "-- \n". # signature-delim = "-- \n" # Downloads directory path # # The downloads directory is mostly used for downloading # attachments. Defaults to "/tmp". downloads-dir = "~/downloads" # Default backend # # Backend used by default for all the features like adding folders, # listing envelopes or copying messages. # # backend = "notmuch" # requires the notmuch cargo feature and the libnotmuch installed # backend = "maildir" backend = "imap" # Folder aliases # # Defines aliases for your mailboxes. There are 4 special aliases used # by the tool: inbox, sent, drafts and trash. Other aliases can be # defined as well. # folder.alias.inbox = "INBOX" folder.alias.sent = "Sent" folder.alias.drafts = "Drafts" folder.alias.trash = "Trash" folder.alias.a23 = "Archives/2023" # Folder listing page size # # Customizes the number of folders to show by page. Defaults to 10. # folder.list.page-size = 10 # Folder listing table preset # # Customizes the charset used to build the table. Defaults to markdown # table style. # # See . # folder.list.table.preset = "|| |-||| " # Folder listing table name column # # Customizes the color of the NAME column of the folder listing table. # folder.list.table.name-color = "blue" # Folder listing table desc column # # Customizes the color of the DESC column of the folder listing table. # folder.list.table.desc-color = "green" # TODO: need to improve the following # Envelope listing page size # # Customizes the number of envelopes to show by page. Defaults to 10. # envelope.list.page-size = 10 envelope.list.datetime-fmt = "%F %R%:z" # Date are converted to the user's local timezone. envelope.list.datetime-local-tz = true # Override the backend used for sending messages. message.send.backend = "smtp" # Save a copy of sent messages to the sent folder. message.send.save-copy = false # IMAP config imap.host = "localhost" imap.port = 3143 imap.login = "example@localhost" # Encryption can be either "tls" (or true), "start-tls" or "none" (or false). imap.encryption = "none" # Get password from a raw string (not safe) imap.passwd.raw = "password" # Get password from a shell command # imap.passwd.cmd = "echo password" # Get password from your global system keyring using secret service # Keyring secrets can be (re)set with the command `account configure example` # imap.passwd.keyring = "example-imap-password" # SMTP config smtp.host = "localhost" smtp.port = 3025 smtp.login = "example@localhost" smtp.encryption = false smtp.passwd.raw = "password" # PGP needs to be enabled with one of those cargo feature: # pgp-commands, pgp-gpg or pgp-native # pgp.backend = "gpg"