Skip to content

Jim-JMCD/mutt_protonmail-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mutt_protonmail-bridge

Guide for installing, configuring and using the Mutt mail client with Proton Mail Bridge on Linux Server and Linux Desktop.

Full Guide : Mutt_Proton_Mail-Bridge_Guide (Mutt_Proton_Mail_Bridge_Guide.pdf in repo file list

System, security and application administrators use command line mail tools like sendmail, postfix, mailx and mutt to mail out reports alerts and other material to people that presumably care. This guide describes how setup up command line mail service using Proton Mail Bridge combined with the Mutt mail client.

On Linux Desktop, Thunderbird is supported by Proton and may be a better option for sending emails from the command line.

If the requirement is only to send mail from a Linux computer, using postfix and Proton Mail as a send only SMTP server may be an alternative option. To use Proton Mail as a SMTP server requires a functioning custom domain in the mail account.

Scope limitations

  • This guide only covers the basics of how to configure and use mutt. The goal is to have a workable solution that can be enhanced and tailored further for your individual requirements.
  • Setting up protonmail-bridge as a daemon-like process in this guide for Linux Server is limited to the basics, full systemd implementation is out of scope. Deamonizng on Linux Desktop not covered in this guide
  • These installation and configuration notes use the defaults, further modifications to permissions and security features may be required for a more secure environment.
  • Software installation is out of scope. Software package management varies between Linux flavours

At time of writing:

  • Proton Mail Bridge is not supported ARM devices other than M-series Macs.
  • The only Proton supported mail client for the Linux Proton Mail Bridge is Thunderbird.

Summary of steps

  • Create user account for this installation and usage of mutt and protonmail-bridge. [Optional]
  • All the following to done in the designated user account. All software installations to be done as root.
  1. Install protonmail-bridge.
  2. Install the password manager, pass.
  3. Initialise the password manager (pass) with a gpg password.
  4. Start protonmail-bridge interactively to initialise and sync protonmail-bridge. The protonmail-bridge is configured only for the designated Linux user account and creates a database within the home directory of that user. The sync process may take hours with large accounts that contain 10,000+ emails resulting in taking up GiBs of disk space within the users home directory.
  5. Install w3m. Used by mutt to convert html text into easy human readable text.
  6. Create the w3m configuration file in the user’s home directory.
  7. Create the mutt default configuration file in the user’s home directory.
  8. Install mutt
  9. Start protonmail-bridge in the background, alternatively start it another window using the designated

A similar guide for using the Postfix mail client with Proton SMTP Server in Lunix Server is in development

About

A guide for installing, configuring and using the Mutt mail client with the Proton Mail Bridge on Linux Server and Linux Desktop. On the Linux command line, Mutt mail can be used interively using its TUI console or by its script friendly command line options to send mail messages with attachments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors