|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I'm running sendmail 8.13.8 in linux 2.4.32.
I get connections from spammers that sit in the DATA state for too long. I figure I want to block them. for example 219.64.113.63.chn.bb-static.vsnl.net.in. So I edit my access.db/txt file and add: vsnl.net.in REJECT I re-makemap or whatever and wait. I still get the connections. This REJECT does nothing at all. Does anyone know what I have to do to selectively block specific domains/networks like vsnl.net.in with sendmail? Thanks kenw232@yahoo.com |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Oct 25, 1:55 am, "kenw232" wrote: > I'm running sendmail 8.13.8 in linux 2.4.32. > > I get connections from spammers that sit in the DATA state for too > long. I figure I want to block them. for example > 219.64.113.63.chn.bb-static.vsnl.net.in. So I edit my access.db/txt > file and add: > > vsnl.net.in REJECT That notation is deprecated, use : Connect:vsnl.net.in REJECT > I re-makemap or whatever and wait. I still get the connections. This > REJECT does nothing at all. Does anyone know what I have to do to > selectively block specific domains/networks like vsnl.net.in with > sendmail? There is one additional problem with the above rule, by using "Connect" sendmail looks at the reverse name of the IP that does the connection, and in the case of "vsnl.net.in" it may find "mta3.vsnl.net" or one of the other 2 servers for that domain. Notice that there is no ".in" in the name, so there will be no match; you'll need to add more rules to cover this case, perhaps using IP addresses in other cases with no reverse. HTH -- René Berber |
|
![]() |
| Outils de la discussion | |
|
|