From d2597129205d077f3a297a855dba86de5bbd388b Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Sat, 28 Oct 2023 01:06:28 +0200 Subject: [PATCH] CentOS fixes --- postfix.cf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/postfix.cf b/postfix.cf index 99a7686..40d80e8 100644 --- a/postfix.cf +++ b/postfix.cf @@ -45,6 +45,29 @@ vars: "group" string => "postfix"; "mail_owner" string => "postfix"; "postmap_cmd" string => "/usr/sbin/postmap"; + + centos:: + "pkgs" slist => { + "postfix", + "postfix-mysql" + }; + "service_name" string => "postfix"; + "cfg_dir" string => "/etc/postfix"; + "master_cf" string => "/etc/postfix/master.cf"; + "main_cf" string => "/etc/postfix/main.cf"; + "mailer_conf" string => "/usr/local/etc/mail/mailer.conf"; + "mail_group" string => "postdrop"; + "daemon_dir" string => "/usr/libexec/postfix/"; + "bin_dir" string => "/usr/bin"; + "sbin_dir" string => "/usr/sbin"; + "queue_dir" string => "/var/spool/postfix"; + "db_dir" string => "/var/db"; + "user" string => "postfix"; + "group" string => "postfix"; + "mail_owner" string => "postfix"; + "postmap_cmd" string => "/usr/sbin/postmap"; + + any:: "data_dir" string => "$(db_dir)/postfix"; "maps_dir" string => "$(cfg_dir)/maps";