diff --git a/README.md b/README.md index a08337c..6844038 100644 --- a/README.md +++ b/README.md @@ -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 testi@testo.com to test@test.com. +If you want to forward all emails sent to domain testo.com to all@test.com, set it like so: +```bash +$ export SMF_CONFIG='@testo.com:all@test.com' +``` + See? There is nothing easier. Quick Test @@ -99,6 +104,11 @@ Forward all emails received by testi@testo.com to test@test.com: ```bash $ export SMF_CONFIG='testi@testo.com:test@test.com' ``` + +Forward all emails received by any email address in domain testo.com to all@test.com: +```bash +$ export SMF_CONFIG='@testo.com:all@test.com' +``` > 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 diff --git a/install/main.dist.cf b/install/main.dist.cf index ac266d8..b39b6ad 100644 --- a/install/main.dist.cf +++ b/install/main.dist.cf @@ -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