From 1af6da11497ffec1816beef2435e23d01ba8faf3 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Sat, 26 Jul 2025 14:14:42 -0400 Subject: [PATCH] Adjusting mailleur.conf file --- conf/mailleur.conf | 8 ++++---- support/addconfig.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/mailleur.conf b/conf/mailleur.conf index 10ccd0f..ee36bcb 100644 --- a/conf/mailleur.conf +++ b/conf/mailleur.conf @@ -33,24 +33,24 @@ SMTPPORTS="|||5,smtps||465|3,smtp||587|2" #SSL_SECURITY=2 #------------------------------------------------ #Defining SERVER mode Certificate data +CA_ROOT_SRV="/etc/pki/tls/make-ca/ca-bundle.crt" +CA_VERIFY_SRV=0 #to check PEER/client remote certificate #If certificate set via do_dns_tlsa.sh (letsencrypt) #CA_CERT_SRV="/etc/certbot/mailleur/mailleur-fullchain.pem" #CA_KEY_SRV="/etc/certbot/mailleur/mailleur-key.pem" #If certificate are self signed (default installation) CA_CERT_SRV="/etc/pki/mailleur/mailleur-cert.pem" CA_KEY_SRV="/etc/pki/mailleur/mailleur-key.pem" -CA_ROOT_SRV="/etc/pki/tls/make-ca/ca-bundle.crt" -CA_VERIFY_SRV=0 #to check PEER/client remote certificate #------------------------------------------------ #Defining CLIENT mode Certificate data +CA_ROOT_CLT="/etc/pki/tls/make-ca/ca-bundle.crt" +CA_VERIFY_CLT=0 #to check PEER/server remote certificate #If certificate set via do_dns_tlsa.sh (letsencrypt) #CA_CERT_CLT="/etc/certbot/mailleur/mailleur-fullchain.pem" #CA_KEY_CLT="/etc/certbot/mailleur/mailleur-key.pem" #If certificate are self signed (default installation) CA_CERT_CLT="/etc/pki/mailleur/mailleur-cert.pem" CA_KEY_CLT="/etc/pki/mailleur/mailleur-key.pem" -CA_ROOT_CLT="/etc/pki/tls/make-ca/ca-bundle.crt" -CA_VERIFY_CLT=0 #to check PEER/server remote certificate #------------------------------------------------ #Configured for Postgresql database #DB_TYPE can be either POSTGRESQL,MYSQL, default POSTGRESQL diff --git a/support/addconfig.sh b/support/addconfig.sh index ab6a7b0..22d1870 100755 --- a/support/addconfig.sh +++ b/support/addconfig.sh @@ -12,8 +12,8 @@ export SPOOLDIR=/var/spool/$APPNAME/mails #loading the variable value LOCDOM=`dnsdomainname` -sed -i \ - -e "s/^DFLTDOM.*$/DFLTDOMAIN=$LOCDOM/" \ +sed -i \ + -e "s/^DFLTDOM.*$/DFLTDOMAIN=\"$LOCDOM\"/" \ /etc/$APPNAME/$APPNAME.conf #----------------------------------------------------------------- -- 2.47.3