Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:email:emailrelay [2022/05/14 18:17] – stokito | docs:guide-user:services:email:emailrelay [2023/01/28 18:36] – stokito | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| | '' | | '' | ||
| | '' | | '' | ||
| - | | '' | + | | '' |
| | '' | | '' | ||
| | '' | | '' | ||
| | '' | | '' | ||
| + | | '' | ||
| ==== Server ==== | ==== Server ==== | ||
| Line 69: | Line 69: | ||
| option mode ' | option mode ' | ||
| # specify all arguments that should be passed to emailrelay here | # specify all arguments that should be passed to emailrelay here | ||
| - | # see https:// | + | # see http:// |
| option extra_cmdline ' | option extra_cmdline ' | ||
| </ | </ | ||
| ===== Useful options ==== | ===== Useful options ==== | ||
| + | ==== Configure TLS ==== | ||
| + | |||
| + | [[: | ||
| + | Then configure '' | ||
| ==== Mails storage location ==== | ==== Mails storage location ==== | ||
| By default mails are stored into ''/ | By default mails are stored into ''/ | ||
| Line 90: | Line 94: | ||
| Add to ''/ | Add to ''/ | ||
| < | < | ||
| - | config rule | + | config rule |
| - | option name ' | + | option name 'Allow-WAN-SMTP' |
| - | option target ' | + | option target ' |
| - | option src ' | + | option src ' |
| - | option proto ' | + | option proto ' |
| - | option dest_port ' | + | option dest_port ' |
| - | option | + | config rule |
| - | + | option | |
| - | config rule | + | |
| - | option name ' | + | option src ' |
| - | option target ' | + | option proto ' |
| - | option src ' | + | option dest_port ' |
| - | option proto ' | + | config rule |
| - | option dest_port ' | + | option name 'Allow-WAN-POP' |
| - | option enabled ' | + | option target ' |
| + | option src ' | ||
| + | option proto ' | ||
| + | option dest_port ' | ||
| </ | </ | ||
| + | You can add these rules with command line: | ||
| + | |||
| + | < | ||
| + | uci add firewall rule | ||
| + | uci set firewall.wan_https_turris_rule=rule | ||
| + | uci set firewall.wan_https_turris_rule.name=' | ||
| + | uci set firewall.wan_https_turris_rule.src=' | ||
| + | uci set firewall.wan_https_turris_rule.proto=' | ||
| + | uci set firewall.wan_https_turris_rule.dest_port=' | ||
| + | uci set firewall.wan_https_turris_rule.target=' | ||
| + | |||
| + | uci add firewall rule | ||
| + | uci set firewall.wan_https_turris_rule=rule | ||
| + | uci set firewall.wan_https_turris_rule.name=' | ||
| + | uci set firewall.wan_https_turris_rule.src=' | ||
| + | uci set firewall.wan_https_turris_rule.proto=' | ||
| + | uci set firewall.wan_https_turris_rule.dest_port=' | ||
| + | uci set firewall.wan_https_turris_rule.target=' | ||
| + | |||
| + | |||
| + | uci add firewall rule | ||
| + | uci set firewall.wan_https_turris_rule=rule | ||
| + | uci set firewall.wan_https_turris_rule.name=' | ||
| + | uci set firewall.wan_https_turris_rule.src=' | ||
| + | uci set firewall.wan_https_turris_rule.proto=' | ||
| + | uci set firewall.wan_https_turris_rule.dest_port=' | ||
| + | uci set firewall.wan_https_turris_rule.target=' | ||
| + | |||
| + | uci commit firewall | ||
| + | service firewall restart | ||
| + | </ | ||