Как настроить PowerMTA в качестве mta по умолчанию

Я не могу настроить Centos7 PowerMTA как MTA по умолчанию. Когда я печатаю:

alternatives --display mta

Я получаю этот вывод

 mta - status is manual.
  link currently points to /usr/sbin/sendmail.postfix
  /usr/sbin/sendmail.postfix - priority 30
   slave mta-mailq: /usr/bin/mailq.postfix
   slave mta-newaliases: /usr/bin/newaliases.postfix
   slave mta-pam: /etc/pam.d/smtp.postfix
   slave mta-rmail: /usr/bin/rmail.postfix
   slave mta-sendmail: /usr/lib/sendmail.postfix
   slave mta-mailqman: /usr/share/man/man1/mailq.postfix.1.gz
   slave mta-newaliasesman: /usr/share/man/man1/newaliases.postfix.1.gz
   slave mta-sendmailman: /usr/share/man/man1/sendmail.postfix.1.gz
   slave mta-aliasesman: /usr/share/man/man5/aliases.postfix.5.gz
  Current `best' version is /usr/sbin/sendmail.postfix.

Когда я печатаю:

  alternatives --config mta

Я получаю только это

  *+ 1           /usr/sbin/sendmail.postfix

Поэтому я попытался настроить powerMTA по умолчанию, используя - update-alternatives --set mta /usr/sbin/pmta. Но я получаю это:

 /usr/sbin/pmta has not been configured as an alternative for mta

Может кто-то может помочь с этим?

0 ответов

Другие вопросы по тегам