myOS email configuration (Aqeel)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.local/bin
Mail
.gitingore
.mbsyncrc
.msmtprc
.notmuch-config
README.org

README.org

myOS email (Aqeel)

myOS /etc/skel for email.

Software

This repository has configuration for the following:

TaskSoftware
Receivingmsmtp
Sendingisync a.k.a mbsync
Organisingnotmuch

Utilized by

The following utilizes the above and is setup independently.

TaskSoftware
Viewing / Composingemacs
Encryption / Signinggpg

Installation

  1. Clone this repository somewhere
  2. Edit files in Mail/config
  3. Rename Mail folder mv Mail/aqeel.akber@gmail.com Mail/myemail@example.com
  4. Copy contents into /etc/skel or directly into $HOME

Usage

Download email:

mbsync -Va

Tag emails:

notmuch new

Enqueue email for sending:

$HOME/.local/bin/msmtp-enqueue.sh <just_like_sendmail>

The above sends emails immediately if it can ping Google’s DNS server: 8.8.8.8.

Check outbox queue:

$HOME/.local/bin/msmtp-listqueue.sh

Try send mail now:

$HOME/.local/bin/msmtp-runqueue.sh

Structure

.
├── .local
│   └── bin
│       ├── msmtp-enqueue.sh -> ../../Mail/config/bin/msmtp-enqueue.sh
│       ├── msmtp-listqueue.sh -> ../../Mail/config/bin/msmtp-listqueue.sh
│       └── msmtp-runqueue.sh -> ../../Mail/config/bin/msmtp-runqueue.sh
├── Mail
│   ├── aqeel.akber@gmail.com
│   ├── config
│   │   ├── bin
│   │   │   ├── msmtp-enqueue.sh
│   │   │   ├── msmtp-listqueue.sh
│   │   │   └── msmtp-runqueue.sh
│   │   ├── credentials.gpg
│   │   ├── mbsyncrc
│   │   ├── msmtprc
│   │   └── notmuch-config
│   ├── .msmtpqueue
│   └── .notmuch
├── .mbsyncrc -> Mail/config/mbsyncrc
├── .msmtprc -> Mail/config/msmtprc
├── .notmuch-config -> Mail/config/notmuch-config

Acknowledgments / Contributions

  • msmtpqueue scripts are from the msmtp project