Add email service #526

Merged
raucao merged 30 commits from feature/email into master 2024-01-10 12:09:22 +00:00
2 changed files with 0 additions and 20 deletions
Showing only changes of commit ce00852bba - Show all commits

View File

@ -124,19 +124,6 @@ template "/etc/postfix/ldap-aliases.cf" do
notifies :restart, "service[postfix]", :delayed
end
# template "/etc/postfix/ldap-virtual-mailboxes.cf" do
# source "ldap-virtual-mailboxes.cf.erb"
# mode 0600
# variables server_host: "ldap.kosmos.local",
# bind_dn: credentials['ldap_dn'],
# bind_pw: credentials['ldap_dnpass'],
# search_base: "ou=kosmos.org,cn=users,dc=kosmos,dc=org",
# query_filter: "maildrop=%s",
# result_attribute: "mailhome",
# result_format: "%s/mail/"
# notifies :restart, "service[postfix]", :delayed
# end
include_recipe 'postfix::server'
service "postfix" do

View File

@ -1,7 +0,0 @@
server_host = <%= @server_host %>
bind_dn = <%= @bind_dn %>
bind_pw = <%= @bind_pw %>
query_filter = <%= @query_filter %>
result_attribute = <%= @result_attribute %>
result_format = <%= @result_format %>