Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# exim-relay
# exim-relay for gmail

Base from work of https://github.com/selim13/docker-exim-relay
This is a fork of [selim13/docker-exim-relay](https://github.com/selim13/docker-exim-relay), the goal is to have an exim docker configured with gmail by default.

This is a base Exim docker image configured to act as a relay with some basic
`main`, `acl` and `retry` defaults.
Expand All @@ -26,17 +26,22 @@ Sets `relay_from_hosts` host list which is used in acl checks.

Default value: `10.0.0.0/8 : 172.16.0.0/12 : 192.168.0.0/16`

### EXIM_GMAIL_LOGIN
Sets the gmail username (basically, your email address).

### EXIM_GMAIL_PASSWORD
Sets the gmail password.

#### Docker compose usage
```
```yaml
version: '2'

services:

mail:
build: ./docker/docker-exim-relay
ports:
- "25:25"
environment:
- EXIM_GMAIL_LOGIN=******@gmail.com
- EXIM_GMAIL_PASSWORD=**********
mail:
build: ./docker/docker-exim-relay
ports:
- 25:25
environment:
- EXIM_GMAIL_LOGIN=******@gmail.com
- EXIM_GMAIL_PASSWORD=**********
```