[BlueOnyx:06506] Re: OWM and Spam

Ken - Precision Web Hosting, Inc kenlists at precisionweb.net
Tue Feb 15 15:53:05 -05 2011


----- Original Message ----- 
From: "Darrell D. Mobley" <dmobley at uhostme.com>


>> -----Original Message-----
>>
>> Also, an easy way to block a lot of spam with very little overhead,  is
>> blacklists in the sendmail.cf    It should work to:
>> 1.  select the delay checks from the GUI
>> 2. Find  the line below in the sendmail.cf
>> ### check_relay -- check hostname/address on SMTP startup
>> 3. Then at the bottom of that section add the balcklists:
>
> Ken, I have bl and zen, but no others.  Do any of the ones you recommend 
> block dynamic IP addresses, such as my assigned cable IP from sending 
> mail?  I know with authentication, the server will take the mail, but some 
> of the RBLs that block dynamic IPs wouldn't accept the mail based on that.
>
> It also looks like you are hacking sendmail.cf directly.  I thought we 
> were supposed to make changes in sendmail.mc and remake the file?  Won't 
> the hand changes get lost?
>
>

zen includes dynamic IPs.

It's good to block dynamic IP addresses as that will get rid of a lot of 
spam.
One easy way to allow your users to send is to enable the poprelay, then 
edit the sendmail.cf

And change
######################################################################
###  check_relay -- check hostname/address on SMTP startup
######################################################################
SLocal_check_relay
Scheck_relay


to



######################################################################
###  check_relay -- check hostname/address on SMTP startup
######################################################################
SLocal_check_relay

# Put address in cannonical form -  7 lines below, no spaces only tabs
R$*                             $: $>Parse0 03 $1
R$* < $* > $*           $: $1 < $2 . > $3
R$* < $* . . > $*               $1 < $2 . > $3
# Test against pop-before-relay hash
R$*                             $: < $&{client_addr} >
R< $* >                 $(popauth $1 $)
R$* < MATCH >           $#OK
#end ken changes -  7 lines above

Scheck_relay


I'm sure there is a better way to do it using the sendmail.mc.
If you figure it out, let me know.

----
Ken M
Precision Web Hosting, Inc.
http://www.precisionweb.net








More information about the Blueonyx mailing list