I have email setup for my sites through webfaction. I have some number of mailboxes and some number of users, and a few users share the same mailboxes.
For a long time I used either a direct webmail or forwarded my site email to a different account, but I'm moving towards more email self-reliance.
A few minutes of searching didn't tell me how to set up mutt on webfaction. Here is a minimal configuration for what I did.
I will assume that we are configuring email for
firstname.lastname@example.org with mailbox
MAILBOX, and where the password for that mailbox is
MAILBOXPASSWORD. I will also assume that the user, mailbox, and password have already been set up. The missing step is to connect it to mutt.
.muttrc looks like
set realname = "FIRST LAST" set from = "email@example.com" set use_from = yes set edit_headers = yes set imap_user = 'MAILBOX' set imap_pass = 'MAILBOXPASSWORD' set folder = "imaps://mail.webfaction.com:993" set spoolfile = "+INBOX" set record = "+sent" set postponed = "+postponed" set smtp_url = "smtp://MAILBOX@smtp.webfaction.com:587/" set smtp_pass = "MAILBOXPASSWORD" # optional caching and ensure security set header_cache = "~/.mutt/cache/headers" set message_cachedir = "~/.mutt/cache/bodies" set certificate_file = "~/.mutt/certificates" set ssl_starttls=yes set ssl_force_tls=yes
It's not particularly complicated, but it wasn't obvious to me at first either.
Leave a comment
Info on how to comment
To make a comment, please send an email using the button below. Your email address won't be shared (unless you include it in the body of your comment). If you don't want your real name to be used next to your comment, please specify the name you would like to use. If you want your name to link to a particular url, include that as well.
bold, italics, and plain text are allowed in
comments. A reasonable subset of markdown is supported, including lists,
links, and fenced code blocks. In addition, math can be formatted using
$(inline math)$ or
$$(your display equation)$$.
Please use plaintext email when commenting. See Plaintext Email and Comments on this site for more. Note also that comments are expected to be open, considerate, and respectful.
Comment via email