Skip to content

Commit

Permalink
Merge pull request #14 from nelfer/master
Browse files Browse the repository at this point in the history
Updated documentation for forward all emails
  • Loading branch information
dimitrovs authored Oct 28, 2016
2 parents f529888 + 1308ebd commit fba52bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion install/main.dist.cf
Original file line number Diff line number Diff line change
Expand Up @@ -737,5 +737,5 @@ smtpd_tls_exclude_ciphers =
# openssl dhparam -2 -out dh_1024.pem 1024
#smtpd_tls_dh512_param_file = ${config_directory}/cert/dh_512.pem
#smtpd_tls_dh1024_param_file = ${config_directory}/cert/dh_1024.pem

smtp_tls_security_level = may
message_size_limit = 40960000

0 comments on commit fba52bf

Please sign in to comment.