[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Followup on Which RBL is best



On Tuesday 20 January 2004 20:27, Franklin S Werren wrote:
> Hi All;
>
> Now here is a good question....
> Remember to answer it so a Windows Geek (I am not a Linux Geek)
> can figure it out...
>
> I have 3 Different OS's on 5 different servers
> Raq 2, Raq 4 and a Raq 550
> Note: So far the Raq 2 does not get that much spam... (Thank God!!)
>
> I have MC (Midnight Commander) on the 4 and 550
> I have SSH on all boxes and use Putty (Telnet is a accident waiting to
> happen!)
> OK now here is the Question???
>
> How do you install RBL on these boxes ?
> Copy and paste is best for me (grin)
> No rebuild of the Kernal... PLEASE or makefile (I hope)
> I do use pico if need be.... usually on the Raq 2 or if MC is not the best
> way.
> And nothing that cannot be reversed....
>
> So far any instructions I have seen does not Match the files
> No Features Area ????? is one.
> There are several other things I have seen....or not seen as well..
>

Hmmm, I do this with hesitation, but at 	
	ftp://ftp.ecsis.net/pub/cobalt/rblcode.txt
is a text file with the RBL entries that I use for njabl (dnsbl and dynablock)
At least on RAQ4 this is inserted at the _end_ of the Local_check_relay 
function and just before the Local_check_mail function.

Easiest way (YES, make a backup copy of sendmail.cf first!!!) is to open 
sendmail.cf with vi:
	cd /etc/mail
	cp sendmail.cf sendmail.cf.40120
	vi sendmail.cf

search for Local_check_mail (
	/Local_check_mail 
(that is slash Local_check_mail and press enter)

either cursor up five lines or enter :-5 (colon minus 5) to back up
past the comment lines preced the Local_check_mail function

then add the rblcode here

	:r rblcode.txt 
(colon R and the filename or full path depending upon
where you stored it - you did copy it to this server right ??)

:wq (colon letter W letter Q to write and quit)

restart mail and see how it works.  You should have "refused by" lines in your 
maillog if it is working within a short time.  If not, or problems, copy the 
sendmail.cf.40120 file back to sendmail.cf, restart mail again.

To make this "permanent", you need to copy sendmail.cf (the new one) to 
filename sendmail.cf.master in the /etc/mail directory.

NO Warrenty of any sort... it works for me, but....

-- 
Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx