
CentOS7/AmazonLinux2에 Postfix3 시스템 설치
2022-10-03 last update
5 minutes reading postfix AmazonLinux2CentOS7/AmazonLinux2에 Postfix3계를 설치할 때의 순서입니다.
두 OS 모두 동일한 절차입니다.
기본적으로 두 시스템이 설치되어 있습니다.
두 OS 모두 동일한 절차입니다.
기본적으로 두 시스템이 설치되어 있습니다.
[[email protected] ~]# yum info postfix
Loaded plugins: dkms-build-requires, langpacks, priorities, update-motd
Installed Packages
Name : postfix
Arch : x86_64
Epoch : 2
Version : 2.10.1
Release : 6.amzn2.0.3
Size : 12 M
Repo : installed
Summary : Postfix Mail Transport Agent
URL : http://www.postfix.org
License : IBM and GPLv2+
Description : Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH
: (SASL), TLS
기존 postfix 제거
[[email protected] ~]# systemctl stop postfix.service
[[email protected] ~]# yum remove postfix
GhettoForge 리포지토리 추가
[[email protected] ~]# yum install http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm
GhettoForge 리포지토리 비활성화
/etc/yum.repos.d/gf.repo
enabled=1
↓
enabled=0
설치된 버전 확인
[[email protected] ~]# yum --enablerepo=gf-plus info postfix3
Loaded plugins: dkms-build-requires, langpacks, priorities, update-motd
gf-plus | 2.9 kB 00:00:00
gf-plus/x86_64/primary_db | 104 kB 00:00:01
65 packages excluded due to repository priority protections
Available Packages
Name : postfix3
Arch : x86_64
Epoch : 2
Version : 3.5.8
Release : 1.gf.el7
Size : 3.1 M
Repo : gf-plus/x86_64
Summary : Postfix Mail Transport Agent
URL : http://www.postfix.org
License : IBM
Description : Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH
: (SASL), TLS
설치
[[email protected] ~]# yum --enablerepo=gf-plus install postfix3
[[email protected] ~]# postconf | grep mail_version
mail_version = 3.5.8