Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Blocking email traffic with the access database
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Harold Johanssen  
View profile  
 More options Aug 8 2012, 10:27 am
Newsgroups: comp.mail.sendmail
From: Harold Johanssen <noem...@please.net>
Date: Wed, 8 Aug 2012 14:27:49 +0000 (UTC)
Local: Wed, Aug 8 2012 10:27 am
Subject: Blocking email traffic with the access database
        In /etc/mail/access, entries like

        biz REJECT
        spammersareus@ REJECT

will result in connection attempts from the biz domain and from user name
spammersareus, at any domain, to be rejected immediately.

        Would it be possible to use regular expressions instead of fixed
names? For example, I could have another line like

        spammersinc@ REJECT

in addition to the spammersareus@ REJECT line above, but it would be
simpler and more powerful if I could replace those two lines with

        spammer.*@ REJECT

I have tried that, but it does not seem to work in my environment. Is
this an intrinsic limitation, or do I have to pre-configure sendmail
differently?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike A  
View profile  
 More options Aug 8 2012, 10:53 am
Newsgroups: comp.mail.sendmail
From: Mike A <mi...@mikea.ath.cx>
Date: Wed, 8 Aug 2012 09:53:20 -0500
Local: Wed, Aug 8 2012 10:53 am
Subject: Re: Blocking email traffic with the access database
Harold Johanssen <noem...@please.net> wrote in <jvtt15$fb...@news.albasani.net>:

As of sendmail 8.14.5, the access mechanism does not support regexes; I
don't know about later releases. There are milters that do support regexes,
and I use one of them to very good effect. Please feel free to write me
offline, unless other readers here would like to see the conversation.

--
Mike Andrews, W5EGO
mi...@mikea.ath.cx
Tired old sysadmin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Harold Johanssen  
View profile  
 More options Aug 8 2012, 11:52 am
Newsgroups: comp.mail.sendmail
From: Harold Johanssen <noem...@please.net>
Date: Wed, 8 Aug 2012 15:52:57 +0000 (UTC)
Local: Wed, Aug 8 2012 11:52 am
Subject: Re: Blocking email traffic with the access database

        Any info that you can provide about such filtering mechanisms
will be much appreciated.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike A  
View profile  
 More options Aug 8 2012, 12:11 pm
Newsgroups: comp.mail.sendmail
From: Mike A <mi...@mikea.ath.cx>
Date: Wed, 8 Aug 2012 11:11:31 -0500
Local: Wed, Aug 8 2012 12:11 pm
Subject: Re: Blocking email traffic with the access database
Harold Johanssen <noem...@please.net> wrote in <jvu20o$ps...@news.albasani.net>:

I'd rather have taken this to E-mail, since it isn't directly related to
sendmail and hence is off-topic for this newsgroup, but I don't see a
usable E-mail address.

I use Daniel Hartmeier's milter-regex code, available at
<http://www.benzedrine.cx/milter-regex.html>. I found it useful to hack
on it slightly, increasing the max number of rule categories from 16 to
256, and inserting code to stop the body scan after a configurable
number of bytes (something like 50K is what I use).

Unless others want to see more here, I'd really prefer to take this to
E-mail to avoid the ire frequently provoked by off-topic posts.

--
Mike Andrews, W5EGO
mi...@mikea.ath.cx
Tired old sysadmin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Scott  
View profile  
 More options Aug 8 2012, 3:28 pm
Newsgroups: comp.mail.sendmail
From: Mike Scott <usenet...@scottsonline.org.uk.invalid>
Date: Wed, 08 Aug 2012 20:28:21 +0100
Local: Wed, Aug 8 2012 3:28 pm
Subject: Re: Blocking email traffic with the access database
On 08/08/12 17:11, Mike A wrote:
...

> I use Daniel Hartmeier's milter-regex code, available at
> <http://www.benzedrine.cx/milter-regex.html>. I found it useful to hack
> on it slightly, increasing the max number of rule categories from 16 to
> 256, and inserting code to stop the body scan after a configurable
> number of bytes (something like 50K is what I use).

A useful piece of code, if prone to causing obscure operator errors -
but I've altered mine to use pcre rather than the standard regex library
- much more flexible, and a trivial change.

--
Mike Scott (unet2 <at> [deletethis] scottsonline.org.uk)
Harlow Essex England


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Harold Johanssen  
View profile  
 More options Aug 8 2012, 10:16 pm
Newsgroups: comp.mail.sendmail
From: Harold Johanssen <noem...@please.net>
Date: Thu, 9 Aug 2012 02:16:41 +0000 (UTC)
Local: Wed, Aug 8 2012 10:16 pm
Subject: Re: Blocking email traffic with the access database

                Thanks. This oretty much does what I need.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
terryc  
View profile  
 More options Aug 8 2012, 10:42 pm
Newsgroups: comp.mail.sendmail
From: terryc <newsninespam-s...@woa.com.au>
Date: Thu, 09 Aug 2012 12:42:48 +1000
Local: Wed, Aug 8 2012 10:42 pm
Subject: Re: Blocking email traffic with the access database
On 09/08/12 00:53, Mike A wrote:

> As of sendmail 8.14.5, the access mechanism does not support regexes;

Thank you, that answers a query.

Anoter
Is biz or .biz preferrable, or identical?
    i.e would  biz  REJECT  stop anythign with biz in the ident?
    where     .biz  REJECT  stops only those idents ending in  .biz ?

T.I.A.

> There are milters that do support regexes,

Just as a comment, my personal preference is to not rely on milters as
that means I have to receive and then process the emails. This would
result in my email data going from 1Gb/month to about 20Gb/month. Thank
diety for spamhaus.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kees Theunissen  
View profile  
 More options Aug 9 2012, 6:47 am
Newsgroups: comp.mail.sendmail
From: Kees Theunissen <theun...@rijnh.nl>
Date: Thu, 09 Aug 2012 12:47:23 +0200
Local: Thurs, Aug 9 2012 6:47 am
Subject: Re: Blocking email traffic with the access database

terryc wrote:
> Just as a comment, my personal preference is to not rely on milters as
> that means I have to receive and then process the emails. This would
> result in my email data going from 1Gb/month to about 20Gb/month. Thank
> diety for spamhaus.

Either you're using a different implementation of the milter API than
the rest of the world does, or you don't understand how milters work.
;-)

Regartds,

Kees.

--
Kees Theunissen.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
terryc  
View profile  
 More options Aug 9 2012, 8:36 am
Newsgroups: comp.mail.sendmail
From: terryc <newsninespam-s...@woa.com.au>
Date: Thu, 09 Aug 2012 22:36:24 +1000
Local: Thurs, Aug 9 2012 8:36 am
Subject: Re: Blocking email traffic with the access database
On 09/08/12 20:47, Kees Theunissen wrote:

> terryc wrote:
>> Just as a comment, my personal preference is to not rely on milters as
>> that means I have to receive and then process the emails. This would
>> result in my email data going from 1Gb/month to about 20Gb/month. Thank
>> diety for spamhaus.

> Either you're using a different implementation of the milter API than
> the rest of the world does, or you don't understand how milters work.
> ;-)

Possibly.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »