yum install epel-release
yum repolist
yum remove postfix
yum install sendmail sendmail-milter sendmail-cf
yum install mimedefang
echo "INPUT_MAIL_FILTER(\`mimedefang',
\`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')" >> /etc/mail/sendmail.mc
make -C /etc/mail
postconf -e “smtpd_milters = unix:/var/spool/MIMEDefang/mimedefang.sock”
postconf -e “non_smtpd_milters = $smtpd_milters”
LOG_FILTER_TIME=yes
MX_RELAY_CHECK=yes
MX_HELO_CHECK=yes
MX_SENDER_CHECK=yes
MX_RECIPIENT_CHECK=yes
MX_TICK_REQUEST=60
MX_TICK_PARALLEL=3
systemctl enable mimedefang
systemctl start mimedefang
systemctl enable sendmail
systemctl restart sendmail
systemctl enable postfix
systemctl restart postfix
mimedefang.pl -test
md-mx-ctrl reread
setenforce 0
tail -f /var/log/maillog
telnet localhost 25
helo test.com
mail from: kevin@test.com
rcpt to: root
data
Subject: This is a test
Date: jasjdkasjdksajd
This is a message
.
yum install telnet
Our mission is to help make the world a safer place free of scams and spam that cause issues every day. By helping people avoid spam, identify scams and cover privacy in today's electronic world.
Copyright © 2018 to 2024, The McGrail Foundation. All rights reserved.
Designed by iSpark IT Services.