I just got through updating my /etc/mail/access file, adding about 20 more IP's that are sending spam/junk mail. During the process, I noticed I had some partial IP's in there, like 64.12.233 which is what I wanted to block. The IP did NOT however get blocked. From what I see, as long as I have a full ip address, they are blocked, but the partial (16) is not. Should it not work anyhow? Never had this problem before, and yes, I run a make on the file after editing.
Sam
_____
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Sam Drinkard Sent: Monday, February 13, 2006 10:56 PM To: CentOS@centos.org Subject: [CentOS] mail access list
I just got through updating my /etc/mail/access file, adding about 20 more IP's that are sending spam/junk mail. During the process, I noticed I had some partial IP's in there, like 64.12.233 which is what I wanted to block. The IP did NOT however get blocked. From what I see, as long as I have a full ip address, they are blocked, but the partial (16) is not. Should it not work anyhow? Never had this problem before, and yes, I run a make on the file after editing.
Sam
Don't know, but is 64.12.233 a typo? Should it be 64.12.233.
On Mon, 2006-02-13 at 23:04 -0500, Thomas E Dukes wrote:
______________________________________________________________ From: centos-bounces@centos.org [mailto:centos- bounces@centos.org] On Behalf Of Sam Drinkard Sent: Monday, February 13, 2006 10:56 PM To: CentOS@centos.org Subject: [CentOS] mail access list I just got through updating my /etc/mail/access file, adding about 20 more IP's that are sending spam/junk mail. During the process, I noticed I had some partial IP's in there, like 64.12.233 which is what I wanted to block. The IP did NOT however get blocked. From what I see, as long as I have a full ip address, they are blocked, but the partial (16) is not. Should it not work anyhow? Never had this problem before, and yes, I run a make on the file after editing. Sam Don't know, but is 64.12.233 a typo? Should it be 64.12.233.
Yes, I was a bit bumble fingered. Actually, that IP was just numbers pulled out of the air. I've got everything from a /8 to a /24 blocked and inbetween.
Thomas E Dukes wrote:
------------------------------------------------------------------------ *From:* centos-bounces@centos.org [mailto:centos-bounces@centos.org] *On Behalf Of *Sam Drinkard *Sent:* Monday, February 13, 2006 10:56 PM *To:* CentOS@centos.org *Subject:* [CentOS] mail access list I just got through updating my /etc/mail/access file, adding about 20 more IP's that are sending spam/junk mail. During the process, I noticed I had some partial IP's in there, like 64.12.233 which is what I wanted to block. The IP did NOT however get blocked. From what I see, as long as I have a full ip address, they are blocked, but the partial (16) is not. Should it not work anyhow? Never had this problem before, and yes, I run a make on the file after editing. Sam Don't know, but is 64.12.233 a typo? Should it be 64.12.233.
Just now looked close at your entry.. did not see the dot at the end. No, as far as I know and as long as I've been using the access list to help block spam and junk, I've never had to use the dot at the end before. Perhaps that has changed from previous versions of sendmail? Guess its time to read a bit.
Sam
Am Di, den 14.02.2006 schrieb Sam Drinkard um 4:55:
I just got through updating my /etc/mail/access file, adding about 20 more IP's that are sending spam/junk mail. During the process, I noticed I had some partial IP's in there, like 64.12.233 which is what I wanted to block. The IP did NOT however get blocked. From what I see, as long as I have a full ip address, they are blocked, but the partial (16) is not. Should it not work anyhow? Never had this problem before, and yes, I run a make on the file after editing.
Sam
Connect:64.12.233 ERROR:5.7.1:550 no SPAM accepted
http://www.sendmail.org/m4/anti_spam.html
Alexander
Alexander Dalloz wrote:
Am Di, den 14.02.2006 schrieb Sam Drinkard um 4:55:
I just got through updating my /etc/mail/access file, adding about 20 more IP's that are sending spam/junk mail. During the process, I noticed I had some partial IP's in there, like 64.12.233 which is what I wanted to block. The IP did NOT however get blocked. From what I see, as long as I have a full ip address, they are blocked, but the partial (16) is not. Should it not work anyhow? Never had this problem before, and yes, I run a make on the file after editing.
Sam
Connect:64.12.233 ERROR:5.7.1:550 no SPAM accepted
http://www.sendmail.org/m4/anti_spam.html
Alexander
Looked over that link, but did not see anything I'm not already using or doing, and it appears the dot at the end of the IP address is not needed. Wonder why those were not blocked if the ip's were in there... hmmmmm...
Thanks for the link Alexander.