mail/access revisited

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



Lamar Owen wrote:
> On Saturday 11 March 2006 23:31, Sam Drinkard wrote:
>   
>> have listed to pass thru.  I also thought perhaps there might be some
>> "upper limit" to the number of entries sendmail could handle.  What do
>> the sendmail guru's think about that idea?  I may reduce the number of
>> entries from the current 275 +/- down to just the most offensive TLD's
>> and see what happens.  Short of that, are there any other thoughts ya'll
>> might have as to why it still passes the stuff I want blocked?
>>     
>
> On the upper limit issue, here's some output from a machine I help with (I am 
> not the mail admin on this machine, though, and I don't necessarily agree 
> with doing anti-spam with REJECT lines in access....):
> [root@www mail]# ls -l access
> -rw-r--r--  1 root root 1120618 Feb 22 06:36 access
> [root@www mail]# pwd
> /etc/mail
> [root@www mail]# wc -l access
> 38628 access
> [root@www mail]# grep DISCARD access|wc -l
> 3121
> [root@www mail]# grep REJECT access|wc -l
> 35480
> [root@www mail]# grep RELAY access|wc -l
> 4
> [root@www mail]# cat /etc/redhat-release
> CentOS release 4.2 (Final)
> [root@www mail]# rpm -q sendmail
> sendmail-8.13.1-2
> [root@www mail]#  
> Yes, thirty-eight thousand six hundred twenty-eight lines.  Works fine.  I 
> don't think 275 entries hits any upper limit.
>   
Just out of curiosity, does the access file have a combination of 
hostnames and IP's or is it strictly one or the other?  I've got both.   
I was mistaken about the linecount too.. there are 625 lines instead of 
275, but that apparently is not an issue.

Sam



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux