Skip to content

Commit

Permalink
dovecot: escape
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Mar 27, 2024
1 parent 5e8f4d5 commit e60a417
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions provision/dovecot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -534,11 +534,11 @@ int_ip6 = "$(get_jail_ip6 dovecot)"
# to permit legacy users to access insecure POP3 & IMAP, add their IPs/masks
table <insecure_mua> persist file "$_pf_etc/insecure_mua"
rdr inet proto tcp from any to <ext_ip4> port { 993 995 } -> $int_ip4
rdr inet6 proto tcp from any to <ext_ip6> port { 993 995 } -> $int_ip6
rdr inet proto tcp from any to <ext_ip4> port { 993 995 } -> \$int_ip4
rdr inet6 proto tcp from any to <ext_ip6> port { 993 995 } -> \$int_ip6
rdr inet proto tcp from <insecure_mua> to <ext_ip4> port { 110 143 } -> $int_ip4
rdr inet6 proto tcp from <insecure_mua> to <ext_ip6> port { 110 143 } -> $int_ip6
rdr inet proto tcp from <insecure_mua> to <ext_ip4> port { 110 143 } -> \$int_ip4
rdr inet6 proto tcp from <insecure_mua> to <ext_ip6> port { 110 143 } -> \$int_ip6
EO_PF_RDR
store_config "$_pf_etc/allow.conf" <<EO_PF_ALLOW
Expand Down

0 comments on commit e60a417

Please sign in to comment.