Files
chef/site-cookbooks/kosmos_email/recipes/firewall.rb
T
raucao 451903f663 Enable Sieve and ManageSieve for Dovecot
Enables both sieve and managesieved, and adds a global rule that moves
detected spam to a user's Junk folder automatically
2026-08-15 17:29:41 -06:00

41 lines
528 B
Ruby

#
# Cookbook:: kosmos_email
# Recipe:: firewall
#
firewall_rule "SMTP" do
command :allow
port 25
protocol :tcp
end
firewall_rule "SMTPS" do
command :allow
port 465
protocol :tcp
end
firewall_rule "SMTPS" do
command :allow
port 587
protocol :tcp
end
firewall_rule "IMAP" do
command :allow
port 143
protocol :tcp
end
firewall_rule "IMAPS" do
command :allow
port 993
protocol :tcp
end
firewall_rule "ManageSieve" do
command :allow
port 4190
protocol :tcp
end