Quote:
The following is the steps that I have used on RH7.3 with PSA 5.0.5
Step 1. Install rblsmtpd
First we are going to turn MAPS On from within the PSA Admin Control Panel.
1. Log into admin control panel
2. Click on Server
3. Click on Mail
4. Place a tick in the box beside "Enable MAPS spam protection"
5. In the box directly below labeled "MAPS server" type the following: relays.ordb.org
6. Click on Set
7. Log Out.
Now back to the shell screen.
# cd /usr/src/
# wget http://ns.at.com.au/rblsmtpd-with-log.tar.gz
# tar xzf rblsmtpd-with-log.tar.gz
# cp /usr/sbin/rblsmtpd ~/rblsmtpd.bak
# cp rblsmtpd /usr/sbin
You will be prompted to overwrite. Answer "y" and press enter
# touch /var/log/rblsmtpd.log
# chown qmaild:qmail /var/log/rblsmtpd.log
# chmod 600 /var/log/rblsmtpd.log
# cp /etc/xinetd.d/smtp_psa /etc/xinetd.d/smtp_psa.2003
# pico /etc/xinetd.d/smtp_psa
Add the following to the server_args line AFTER -r relays.ordb.org
/usr/sbin/rblsmtpd -r bl.spamcop.net /usr/sbin/rblsmtpd -r relays.visi.com
So the original would have looked like:
server_args = /usr/sbin/rblsmtpd -r relays.ordb.org /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
Now it should look like:
server_args = /usr/sbin/rblsmtpd -r relays.ordb.org /usr/sbin/rblsmtpd -r bl.spamcop.net /usr/sbin/rblsmtpd -r relays.visi.com /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
****NOTE****
WHEN USING PICO, IT WILL TRY TO WRAP THIS TO SEVERAL LINES.
DO NOT LET IT. THIS CODE MUST BE ALL ON ONE LINE.
to save and exit in pico press CTRL+X then Y
Now you need to tell xinetd to load the new settings and test sending and receiving emails.
service xinetd reload
|
These instructions were obtained in the following thread at some other forum:
PSA 5.0 Troubleshooting and Problems>MAPS/Spam Filter Not Working
Additionally, I have a modified version of rblsmtpd that allows logging of the messages bounced (RBL that caused the bounce, IP, HostID and HostInfo) via the syslog function (i.e. the log entries go to the same file as your other mail related log entries as configured in your syslog.conf file). You can download the binary and source at:
http://www.tjsi.com/rblsmtpd
Hope this helps.