Autor Subiect: Configurare sendmail cu autentificare utilizatori  (Citit de 656 ori)

Admin

  • Administrator
  • guru
  • *****
  • Mesaje postate: 53
  • Karma: +0/-0
Configurare sendmail cu autentificare utilizatori
« : Mai 27, 2019, 12:07:53 p.m. »
openssl
cyrus-sasl
sendmail

mkdir -p /etc/mail/certs
cd /etc/mail/certs
openssl req -new -x509 -keyout cakey.pem -out cacert.pem -days 365
openssl req -nodes -new -x509 -keyout sendmail.pem -out sendmail.pem -days 365
openssl x509 -noout -text -in sendmail.pem
chmod 600 ./sendmail.pem

sendmail.mc
define(`confCACERT_PATH', `/etc/mail/certs')dnl
define(`confCACERT', `/etc/mail/certs/cacert.pem')dnl
define(`confSERVER_CERT', `/etc/mail/certs/sendmail.pem')dnl
define(`confSERVER_KEY', `/etc/mail/certs/sendmail.pem')dnl

m4 && restart

Atentie la sendmail, saslauthd
in plus: yum install sendmail sendmail-cf sendmail-doc cyrus-sasl-{lib,plain}
« Ultima Modificare: Iunie 30, 2020, 11:00:43 a.m. de Admin »