Changing smtp_tls_security_level to enable TLS between mail servers

It was some time ago last time i tried it, i cant remember were exactly were i saw it
I tied to recreated now, there are my results:

I added custom setting by creating this file:
nano

 /etc/e-smith/templates-custom/etc/postfix/main.cf/70extra_options

added line :

smtp_tls_security_level = yes may

Run

signal-event nethserver-mail-common-save

checked settings that “smtp_tls_security_leve = yes” is there with the following command

 cat /etc/postfix/main.cf | grep -v '^#' | sed -r '/^( |\t|$)/ d' | sort 

send mail but its stuck on Mail Queue

mail logs

mail postfix/master[18635]: warning: process /usr/libexec/postfix/smtp pid 18639 exit status 1
mail postfix/master[18635]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
mail postfix/smtp[18656]: fatal: Invalid TLS level "yes"
1 Like