Spamassassin, Razor and Dcc, firewall ports question

Hi All,
What ports tcp/udp/in/out do I need to be open in the firewall for all items.
Kind regards,
Nico

Hi nico

None as far as I remember but a fully answer is on your last post I posted

Many thanks

John

Hi, I’m just testing being able to respond to this thread. Disregard me! :slight_smile:

Hi @d2d4j , @IWorx-Jenna

Glad it works again.

Here is my document so far, still working on finding out how to add DCC to this list.

Spamassassin install required modules:
yum -y install perl-ExtUtils-MakeMaker perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-IO-Zlib perl-Digest-SHA perl-Mail-SPF
perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-Mail-DKIM perl-DBI perl-Encode-Detect perl-HTML-Parser
perl-HTML-Tagset perl-Time-HiRes perl-libwww-perl perl-Sys-Syslog perl-DB_File perl-Razor-Agent pyzor
yum -y install perl-Digest-SHA1 perl-Geo-IP perl-Net-CIDR-Lite perl-Net-Patricia perl-Net-DNS perl-Net-DNS-Nameserver perl-BSD-Resource

Any missing modules?
spamassassin -D --lint 2>&1 | grep -i failed

location of configuration files.

/var/lib/spamassassin/3.004002/updates_spamassassin_org/25_razor2.cf
/var/lib/spamassassin/3.004002/updates_spamassassin_org/25_dcc.cf
/var/lib/spamassassin/3.004002/updates_spamassassin_org/25_pyzor.cf

ifplugin Mail::SpamAssassin::Plugin::Razor2
ifplugin Mail::SpamAssassin::Plugin::DCC
ifplugin Mail::SpamAssassin::Plugin::Pyzor

Create in /tmp/spam file add some odd words in it and test with:
spamassassin -t -D razor2 < /tmp/spam

Is Pyzor installed and used?
echo “test” | spamassassin -D pyzor 2>&1 | less

John told me that I also needed to create a cron job as root user to update the SA [ Spamassassin rules]

05 23 * * * sa-update -D

SA uses port 783 on localhost, but! razor, dcc and pyzor do need open ports in the firewall, just search to have it confirmed…

DCC UDP IN/OUT 6277
RAZOR2 TCP_OUT 7, 2703
PYZOR TCP/UDP IN/OUT 24441

Kind regards,
Nico