Skip to content

Commit

Permalink
Additional documentation about ALLOW_EMPTY_SENDER_DOMAINS
Browse files Browse the repository at this point in the history
Updated `README.md` to make it more clear how to use `ALLOW_EMPTY_SENDER_DOMAINS`.
  • Loading branch information
bokysan authored Oct 20, 2019
1 parent 8fda5d9 commit 0f4bd83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ Example:
docker run --rm --name postfix -e "ALLOWED_SENDER_DOMAINS=example.com example.org" -p 1587:587 boky/postfix
```

If you want to set the restrictions on the recipient and not on the sender (anyone can send mails but just to a single domain for instance), set `ALLOW_EMPTY_SENDER_DOMAINS` to a non-empty value (e.g. `true`) and `ALLOWED_SENDER_DOMAINS` to an empty string. Then extend this image through custom scripts to configure Postfix further.

### `INBOUND_DEBUGGING`

Enable additional debugging for any connection comming from `MYNETWORKS`. Set to a non-empty string (usually "1" or "yes") to
Expand Down

0 comments on commit 0f4bd83

Please sign in to comment.