1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

mtaをsendmailからpostfixに切り替える

Last updated at Posted at 2015-02-22

CentOS5.11 にて確認。

確認
# ls -l /etc/alternatives/|grep mta
lrwxrwxrwx 1 root root 27  2月 20 10:45 mta -> /usr/sbin/sendmail.sendmail
lrwxrwxrwx 1 root root 41  2月 20 10:45 mta-aliasesman -> /usr/share/man/man5/aliases.sendmail.5.gz
lrwxrwxrwx 1 root root 23  2月 20 10:45 mta-mailq -> /usr/bin/mailq.sendmail
lrwxrwxrwx 1 root root 39  2月 20 10:45 mta-mailqman -> /usr/share/man/man1/mailq.sendmail.1.gz
lrwxrwxrwx 1 root root 28  2月 20 10:45 mta-newaliases -> /usr/bin/newaliases.sendmail
lrwxrwxrwx 1 root root 44  2月 20 10:45 mta-newaliasesman -> /usr/share/man/man1/newaliases.sendmail.1.gz
lrwxrwxrwx 1 root root 24  2月 20 10:45 mta-pam -> /etc/pam.d/smtp.sendmail
lrwxrwxrwx 1 root root 23  2月 20 10:45 mta-rmail -> /usr/bin/rmail.sendmail
lrwxrwxrwx 1 root root 26  2月 20 10:45 mta-sendmail -> /usr/lib/sendmail.sendmail
lrwxrwxrwx 1 root root 42  2月 20 10:45 mta-sendmailman -> /usr/share/man/man8/sendmail.sendmail.8.gz
切り替え
# /usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix
確認
# ls -l /etc/alternatives/|grep mta
lrwxrwxrwx 1 root root 26  2月 23 06:15 mta -> /usr/sbin/sendmail.postfix
lrwxrwxrwx 1 root root 40  2月 23 06:15 mta-aliasesman -> /usr/share/man/man5/aliases.postfix.5.gz
lrwxrwxrwx 1 root root 22  2月 23 06:15 mta-mailq -> /usr/bin/mailq.postfix
lrwxrwxrwx 1 root root 38  2月 23 06:15 mta-mailqman -> /usr/share/man/man1/mailq.postfix.1.gz
lrwxrwxrwx 1 root root 27  2月 23 06:15 mta-newaliases -> /usr/bin/newaliases.postfix
lrwxrwxrwx 1 root root 43  2月 23 06:15 mta-newaliasesman -> /usr/share/man/man1/newaliases.postfix.1.gz
lrwxrwxrwx 1 root root 23  2月 23 06:15 mta-pam -> /etc/pam.d/smtp.postfix
lrwxrwxrwx 1 root root 22  2月 23 06:15 mta-rmail -> /usr/bin/rmail.postfix
lrwxrwxrwx 1 root root 25  2月 23 06:15 mta-sendmail -> /usr/lib/sendmail.postfix
lrwxrwxrwx 1 root root 41  2月 23 06:15 mta-sendmailman -> /usr/share/man/man1/sendmail.postfix.1.gz
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?