Install SpamAssassin on CentOS/RHEL/Oracle Linux
sudo dnf install spamassassin
The binary installed by the spamassassin package is called spamd, which will be listening on TCP port 783 on the local host.
The binary installed by the spamassassin package is called spamd, which will be listening on TCP port 783 on the local host.
By default, the spamassassin systemd service is disabled, you can enable auto start at boot time with:
sudo systemctl enable spamassassin
sudo systemctl enable spamassassin
Then start SpamAssassin.
sudo systemctl start spamassassin
[ec2-user@ip-172-31-5-206 ~]$ sudo ss -ant | grep 783
LISTEN 0 128 127.0.0.1:783 0.0.0.0:*
LISTEN 0 128 [::1]:783 [::]:*
[ec2-user@ip-172-31-5-206 ~]$ sudo -i lsof -i TCP:783
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
/usr/bin/ 7556 root 5u IPv4 44647 0t0 TCP localhost:783 (LISTEN)
/usr/bin/ 7556 root 6u IPv6 44649 0t0 TCP localhost6:783 (LISTEN)
spamd 7558 root 5u IPv4 44647 0t0 TCP localhost:783 (LISTEN)
spamd 7558 root 6u IPv6 44649 0t0 TCP localhost6:783 (LISTEN)
spamd 7559 root 5u IPv4 44647 0t0 TCP localhost:783 (LISTEN)
spamd 7559 root 6u IPv6 44649 0t0 TCP localhost6:783 (LISTEN)
sudo systemctl start spamassassin
[ec2-user@ip-172-31-5-206 ~]$ sudo ss -ant | grep 783
LISTEN 0 128 127.0.0.1:783 0.0.0.0:*
LISTEN 0 128 [::1]:783 [::]:*
[ec2-user@ip-172-31-5-206 ~]$ sudo -i lsof -i TCP:783
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
/usr/bin/ 7556 root 5u IPv4 44647 0t0 TCP localhost:783 (LISTEN)
/usr/bin/ 7556 root 6u IPv6 44649 0t0 TCP localhost6:783 (LISTEN)
spamd 7558 root 5u IPv4 44647 0t0 TCP localhost:783 (LISTEN)
spamd 7558 root 6u IPv6 44649 0t0 TCP localhost6:783 (LISTEN)
spamd 7559 root 5u IPv4 44647 0t0 TCP localhost:783 (LISTEN)
spamd 7559 root 6u IPv6 44649 0t0 TCP localhost6:783 (LISTEN)
Comments
Post a Comment