Skip to content

Commit 08f9955

Browse files
committed
build: initial commit
1 parent 6e15450 commit 08f9955

5 files changed

Lines changed: 40 additions & 19 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
If you have found a bug, want to request an enhancement or simply ask
66
a question, feel free to open an
7-
[issue](https://github.com/leplusorg/docker-md/issues/new/choose).
7+
[issue](https://github.com/leplusorg/docker-mail/issues/new/choose).
88

99
For security-related issues, please see our [security policy](/SECURITY.md).
1010

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
# Mailbox
22

3-
Multi-platform Docker container with utilities to process Mailbox files (`formail`, `mail-parser`, `mutt`, `pymbox`...).
3+
Multi-platform Docker container with utilities to process Mailbox files and Maildir directories (`mail`, `mail-parser`, `mutt`...).
44

5-
[![Dockerfile](https://img.shields.io/badge/GitHub-Dockerfile-blue)](mbox/Dockerfile)
6-
[![Docker Build](https://github.com/leplusorg/docker-mbox/workflows/Docker/badge.svg)](https://github.com/leplusorg/docker-mbox/actions?query=workflow:"Docker")
7-
[![Docker Stars](https://img.shields.io/docker/stars/leplusorg/mbox)](https://hub.docker.com/r/leplusorg/mbox)
8-
[![Docker Pulls](https://img.shields.io/docker/pulls/leplusorg/mbox)](https://hub.docker.com/r/leplusorg/mbox)
9-
[![Docker Version](https://img.shields.io/docker/v/leplusorg/mbox?sort=semver)](https://hub.docker.com/r/leplusorg/mbox)
5+
[![Dockerfile](https://img.shields.io/badge/GitHub-Dockerfile-blue)](mail/Dockerfile)
6+
[![Docker Build](https://github.com/leplusorg/docker-mail/workflows/Docker/badge.svg)](https://github.com/leplusorg/docker-mail/actions?query=workflow:"Docker")
7+
[![Docker Stars](https://img.shields.io/docker/stars/leplusorg/mail)](https://hub.docker.com/r/leplusorg/mail)
8+
[![Docker Pulls](https://img.shields.io/docker/pulls/leplusorg/mail)](https://hub.docker.com/r/leplusorg/mail)
9+
[![Docker Version](https://img.shields.io/docker/v/leplusorg/mail?sort=semver)](https://hub.docker.com/r/leplusorg/mail)
1010
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/10081/badge)](https://bestpractices.coreinfrastructure.org/projects/10081)
11-
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/leplusorg/docker-mbox/badge)](https://securityscorecards.dev/viewer/?uri=github.com/leplusorg/docker-mbox)
11+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/leplusorg/docker-mail/badge)](https://securityscorecards.dev/viewer/?uri=github.com/leplusorg/docker-mail)
1212

1313
## Example without using the filesystem
1414

15-
Let's say that you want to convert an Mailbox file intput.mbox in your current working directory to HTML:
15+
Let's say that you want to convert an Mailbox file intput.mail in your current working directory to HTML:
1616

1717
**Mac/Linux**
1818

1919
```bash
20-
cat intput.mbox | docker run --rm -i --net=none leplusorg/mbox asciidoc -o - > output.html
20+
cat intput.mail | docker run --rm -i --net=none leplusorg/mail asciidoc -o - > output.html
2121
```
2222

2323
**Windows**
2424

2525
```batch
26-
type intput.mbox | docker run --rm -i --net=none leplusorg/mbox asciidoc -o - > output.html
26+
type intput.mail | docker run --rm -i --net=none leplusorg/mail asciidoc -o - > output.html
2727
```
2828

2929
## Example using the filesystem
3030

31-
Same thing, assuming that you want to convert an Mailbox file intput.mbox in your current working directory to HTML:
31+
Same thing, assuming that you want to convert an Mailbox file intput.mail in your current working directory to HTML:
3232

3333
**Mac/Linux**
3434

3535
```bash
36-
docker run --rm -t --user="$(id -u):$(id -g)" --net=none -v "$(pwd):/tmp" leplusorg/mbox asciidoc -o output.html intput.mbox
36+
docker run --rm -t --user="$(id -u):$(id -g)" --net=none -v "$(pwd):/tmp" leplusorg/mail asciidoc -o output.html intput.mail
3737
```
3838

3939
**Windows**
4040

4141
In `cmd`:
4242

4343
```batch
44-
docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/mbox asciidoc -o output.html intput.mbox
44+
docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/mail asciidoc -o output.html intput.mail
4545
```
4646

4747
In PowerShell:
4848

4949
```pwsh
50-
docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/mbox asciidoc -o output.html intput.mbox
50+
docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/mail asciidoc -o output.html intput.mail
5151
```
5252

5353
## Software Bill of Materials (SBOM)
@@ -56,7 +56,7 @@ To get the SBOM for the latest image (in SPDX JSON format), use the
5656
following command:
5757

5858
```bash
59-
docker buildx imagetools inspect leplusorg/mbox --format '{{ json (index .SBOM "linux/amd64").SPDX }}'
59+
docker buildx imagetools inspect leplusorg/mail --format '{{ json (index .SBOM "linux/amd64").SPDX }}'
6060
```
6161

6262
Replace `linux/amd64` by the desired platform (`linux/amd64`, `linux/arm64` etc.).
@@ -75,7 +75,7 @@ You can use the following command to verify the latest image using its
7575
sigstore signature attestation:
7676

7777
```bash
78-
cosign verify leplusorg/mbox --certificate-identity-regexp 'https://github\.com/leplusorg/docker-mbox/\.github/workflows/.+' --certificate-oidc-issuer 'https://token.actions.githubusercontent.com'
78+
cosign verify leplusorg/mail --certificate-identity-regexp 'https://github\.com/leplusorg/docker-mail/\.github/workflows/.+' --certificate-oidc-issuer 'https://token.actions.githubusercontent.com'
7979
```
8080

8181
The output should look something like this:
@@ -94,4 +94,4 @@ For instructions on how to install `cosign`, please read this [documentation](ht
9494

9595
## Request new tool
9696

97-
Please use [this link](https://github.com/leplusorg/docker-mbox/issues/new?assignees=thomasleplus&labels=enhancement&template=feature_request.md&title=%5BFEAT%5D) (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.
97+
Please use [this link](https://github.com/leplusorg/docker-mail/issues/new?assignees=thomasleplus&labels=enhancement&template=feature_request.md&title=%5BFEAT%5D) (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ being supported with security updates.
1111

1212
## Reporting a Vulnerability
1313

14-
For responsible disclosure, please use [this link](https://github.com/leplusorg/docker-md/security/advisories/new) (GitHub account required) to report an issue privatly. Otherwise you can also contact me using the info on my [profile page](https://github.com/thomasleplus).
14+
For responsible disclosure, please use [this link](https://github.com/leplusorg/docker-mail/security/advisories/new) (GitHub account required) to report an issue privatly. Otherwise you can also contact me using the info on my [profile page](https://github.com/thomasleplus).

mbox/Dockerfile renamed to mail/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,29 @@ SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
1313

1414
RUN apk upgrade --no-cache \
1515
&& apk add --no-cache \
16+
aspell=0.60.8.1-r0 \
17+
aspell-de=20161207.7.0-r0 \
18+
aspell-en=2020.12.07-r0 \
19+
aspell-fr=0.50.3-r0 \
20+
aspell-ru=0.99_p7-r2 \
21+
aspell-uk=1.4.0-r3 \
1622
coreutils=9.7-r1 \
1723
curl=8.14.1-r1 \
1824
git=2.49.1-r0 \
25+
mailutils=3.19-r0 \
26+
mutt=2.2.14-r0 \
27+
neomutt=20250510-r0 \
28+
notmuch=0.38.3-r1 \
29+
pipx=1.7.1-r0 \
1930
py3-pip=25.1.1-r0 \
2031
python3=3.12.11-r0 \
2132
&& apk cache --no-cache clean \
2233
&& rm -rf /var/cache/apk/*
2334

35+
RUN pipx ensurepath --global \
36+
&& pipx install --global \
37+
mail-parser==4.1.4
38+
2439
RUN adduser \
2540
--home "${USER_HOME}" \
2641
--uid "${USER_ID}" \
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ services:
1111
if [ $$(id -u) -ne 1000 ]; then
1212
exit 1
1313
fi
14+
aspell --version # aspell
1415
base64 --version # coreutils
1516
curl --version # curl
17+
decodemail --version # mailutils
1618
git --version # git
19+
mail-parser --version # mail-parser
20+
mutt -v # mutt
21+
neomutt -v # neomutt
22+
notmuch --version # notmuch
1723
pip --version # py3-pip
1824
python --version # python3
1925
'

0 commit comments

Comments
 (0)