-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from nelfer/master
Updated documentation for forward all emails
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,11 @@ $ docker run -e SMF_CONFIG="$SMF_CONFIG" -p 25:25 zixia/simple-mail-forwarder | |
This will forward all emails received by [email protected] to [email protected]. | ||
|
||
If you want to forward all emails sent to domain testo.com to [email protected], set it like so: | ||
```bash | ||
$ export SMF_CONFIG='@testo.com:[email protected]' | ||
``` | ||
|
||
See? There is nothing easier. | ||
|
||
Quick Test | ||
|
@@ -99,6 +104,11 @@ Forward all emails received by [email protected] to [email protected]: | |
```bash | ||
$ export SMF_CONFIG='[email protected]:[email protected]' | ||
``` | ||
|
||
Forward all emails received by any email address in domain testo.com to [email protected]: | ||
```bash | ||
$ export SMF_CONFIG='@testo.com:[email protected]' | ||
``` | ||
> You could get the ESMTP AUTH password for you on your docker log. It's randomly generated if you do not provide one. | ||
#### 2. Advanced | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters