You can subscribe to this list here.
| 2004 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct (10) | Nov (37) | Dec (66) | 
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 | Jan (52) | Feb (136) | Mar (65) | Apr (38) | May (46) | Jun (143) | Jul (60) | Aug (33) | Sep (79) | Oct (29) | Nov (13) | Dec (14) | 
| 2006 | Jan (25) | Feb (26) | Mar (4) | Apr (9) | May (29) | Jun | Jul (9) | Aug (11) | Sep (10) | Oct (9) | Nov (45) | Dec (8) | 
| 2007 | Jan (82) | Feb (61) | Mar (39) | Apr (7) | May (9) | Jun (16) | Jul (2) | Aug (22) | Sep (2) | Oct | Nov (4) | Dec (5) | 
| 2008 | Jan | Feb | Mar (5) | Apr (2) | May (8) | Jun | Jul (10) | Aug | Sep | Oct | Nov | Dec | 
| 2009 | Jan | Feb | Mar | Apr (32) | May | Jun (7) | Jul | Aug (38) | Sep (3) | Oct | Nov (4) | Dec | 
| 2010 | Jan (36) | Feb (32) | Mar (2) | Apr (19) | May | Jun (1) | Jul | Aug | Sep | Oct (6) | Nov (8) | Dec | 
| 2011 | Jan (3) | Feb | Mar (5) | Apr | May (2) | Jun (1) | Jul | Aug (3) | Sep | Oct | Nov | Dec (6) | 
| 2012 | Jan | Feb | Mar (2) | Apr | May | Jun | Jul | Aug | Sep (2) | Oct | Nov | Dec | 
| 2013 | Jan | Feb | Mar | Apr | May (1) | Jun | Jul | Aug (1) | Sep (1) | Oct | Nov (6) | Dec (10) | 
| 2014 | Jan (8) | Feb | Mar | Apr | May | Jun (3) | Jul (34) | Aug (6) | Sep | Oct (1) | Nov | Dec | 
| 2015 | Jan | Feb | Mar | Apr | May | Jun (18) | Jul (13) | Aug (30) | Sep (4) | Oct (1) | Nov | Dec (4) | 
| 2016 | Jan (2) | Feb (10) | Mar (3) | Apr | May | Jun (11) | Jul | Aug | Sep (2) | Oct | Nov | Dec | 
| 2017 | Jan (1) | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 
| 2018 | Jan | Feb | Mar (2) | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 
| 2019 | Jan | Feb (1) | Mar | Apr | May | Jun (1) | Jul | Aug | Sep | Oct | Nov | Dec | 
| 
      
      
      From: Steve H. <st...@th...> - 2005-09-27 13:36:05
      
     | 
| On Tue, 2005-09-27 at 14:30, Lionel Bouton wrote: > > Which user do you use to start SQLgrey? init scripts usually suppose you > are root. > > Yes, we're running the init script by hand as root -- thorNET Internet Services, Consultancy & Training www.thornet.co.uk | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-27 13:30:23
      
     | 
| Steve Heaven wrote the following on 27.09.2005 15:22 : > Trying to setup the second server like the first but we get this: > > Sep 27 14:18:43 balder1 sqlgrey: Process Backgrounded > Sep 27 14:18:43 balder1 sqlgrey: 2005/09/27-14:18:43 sqlgrey (type > Net::Server::Multiplex) starting! pid(18324) > Sep 27 14:18:43 balder1 sqlgrey: Binding to TCP port 2501 on host > localhost > Sep 27 14:18:43 balder1 sqlgrey: Setting gid to "522 522" > Sep 27 14:18:43 balder1 sqlgrey: 2005/09/27-14:18:43 Couldn't become > gid "522": at line 486 in file > /usr/lib/perl5/site_perl/5.8.0/Net/Server.pm > Sep 27 14:18:43 balder1 sqlgrey: 2005/09/27-14:18:43 Server closing! > > > # grep sqlgrey /etc/group /etc/passwd > /etc/group:sqlgrey:x:522: > /etc/passwd:sqlgrey:x:522:522::/home/sqlgrey:/bin/false Which user do you use to start SQLgrey? init scripts usually suppose you are root. | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-27 13:23:21
      
     | 
| Who Knows wrote the following on 27.09.2005 15:03 : > Steve Heaven wrote: > >> >> We have successfully setup sqlgrey on one of our incoming mail >> servers. We now need to do the same for our other server. >> We accept mail for ~250 domains. For most of these the two servers >> are equal MX priority, so they load share and provide backup for each >> other. >> >> When setting up sqlgrey on the second server should we create a new >> Postgres database or have them share the existing one? >> >> We thought that sharing would be the best option, but dont know if >> this will work. >> >> Thanks >> >> Steve >> >> >> -- >> thorNET >> Internet Services, Consultancy & Training >> www.thornet.co.uk >> > This is not a recommendation, but rather a comment based on my > experience. While I beleive that it would be best to have both servers > access the same sqlgrey, as I initially configured my 3 mail servers, > I have subsequently reconfigured them to use their own due to a > production issue. > > Recently my main mail server had a problem which in turn caused the > sqlgrey database it served to also become unavailable, and allthough > the two other mailservers should have picked up the mail handling > duties they failed to accept any inbound mail returning soft error 450 > due to their inability to access the sqlgrey database. > Just to clarify: If you have one SQLgrey sitting on each server running a MX server and all of them configured to use the same database you don't have any single point of failure. If one MX fails, the other(s) handle the trafic. If the database server fails, all SQLgrey processes switch to passthrough automatically (and warn the email address configured in sqlgrey.conf) -> your MX are unaffected but the greylisting stops. If you have one single SQLgrey process and the server it is sitting on fails, all "incoming" mail trafic stops (Postfix answers requests with "service temporary unavailable" errors). Lionel. | 
| 
      
      
      From: Steve H. <st...@th...> - 2005-09-27 13:22:14
      
     | 
| Trying to setup the second server like the first but we get this: Sep 27 14:18:43 balder1 sqlgrey: Process Backgrounded Sep 27 14:18:43 balder1 sqlgrey: 2005/09/27-14:18:43 sqlgrey (type Net::Server::Multiplex) starting! pid(18324) Sep 27 14:18:43 balder1 sqlgrey: Binding to TCP port 2501 on host localhost Sep 27 14:18:43 balder1 sqlgrey: Setting gid to "522 522" Sep 27 14:18:43 balder1 sqlgrey: 2005/09/27-14:18:43 Couldn't become gid "522": at line 486 in file /usr/lib/perl5/site_perl/5.8.0/Net/Server.pm Sep 27 14:18:43 balder1 sqlgrey: 2005/09/27-14:18:43 Server closing! # grep sqlgrey /etc/group /etc/passwd /etc/group:sqlgrey:x:522: /etc/passwd:sqlgrey:x:522:522::/home/sqlgrey:/bin/false | 
| 
      
      
      From: Who K. <qui...@me...> - 2005-09-27 13:04:24
      
     | 
| Steve Heaven wrote: > > We have successfully setup sqlgrey on one of our incoming mail > servers. We now need to do the same for our other server. > We accept mail for ~250 domains. For most of these the two servers are > equal MX priority, so they load share and provide backup for each other. > > When setting up sqlgrey on the second server should we create a new > Postgres database or have them share the existing one? > > We thought that sharing would be the best option, but dont know if > this will work. > > Thanks > > Steve > > >-- >thorNET >Internet Services, Consultancy & Training >www.thornet.co.uk > This is not a recommendation, but rather a comment based on my experience. While I beleive that it would be best to have both servers access the same sqlgrey, as I initially configured my 3 mail servers, I have subsequently reconfigured them to use their own due to a production issue. Recently my main mail server had a problem which in turn caused the sqlgrey database it served to also become unavailable, and allthough the two other mailservers should have picked up the mail handling duties they failed to accept any inbound mail returning soft error 450 due to their inability to access the sqlgrey database. Regards, Jim | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-27 12:30:00
      
     | 
| Steve Heaven wrote the following on 27.09.2005 14:19 : > On Tue, 2005-09-27 at 13:06, Lionel Bouton wrote: > >>/Sharing the database is the way to go. / >> > We thought that was best. > We have already seen connections greylisted on smtp1 and then being > retried on smtp2 (which currently isnt running sqlgrey), so without > shared access to the db this would start another 5 mins wait. > >>/ Be sure to use SQLgrey 1.6.6/ >> > Were running 1.7.1 Less tested development branch. There's at least a cosmetic bug in it. Lionel | 
| 
      
      
      From: Steve H. <st...@th...> - 2005-09-27 12:19:17
      
     | 
| On Tue, 2005-09-27 at 13:06, Lionel Bouton wrote: > Sharing the database is the way to go. We thought that was best. We have already seen connections greylisted on smtp1 and then being retried on smtp2 (which currently isnt running sqlgrey), so without shared access to the db this would start another 5 mins wait. > Be sure to use SQLgrey 1.6.6 Were running 1.7.1 -- thorNET Internet Services, Consultancy & Training www.thornet.co.uk | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-27 12:06:52
      
     | 
| Steve Heaven wrote the following on 27.09.2005 13:51 : > > We have successfully setup sqlgrey on one of our incoming mail servers. Yes, saw you on postfix-users :-) > We now need to do the same for our other server. > We accept mail for ~250 domains. For most of these the two servers are > equal MX priority, so they load share and provide backup for each other. > > When setting up sqlgrey on the second server should we create a new > Postgres database or have them share the existing one? > > We thought that sharing would be the best option, but dont know if > this will work. > Sharing the database is the way to go. It was designed to work this way (using several databases would only make the greylisting process slower: the messages could be greylisted more than once). Be sure to use SQLgrey 1.6.6 (there was a rare race condition in the earliest 1.6.x releases in multiple SQLgrey instances cases). Lionel. | 
| 
      
      
      From: Steve H. <st...@th...> - 2005-09-27 11:51:23
      
     | 
| We have successfully setup sqlgrey on one of our incoming mail servers. We now need to do the same for our other server. We accept mail for ~250 domains. For most of these the two servers are equal MX priority, so they load share and provide backup for each other. When setting up sqlgrey on the second server should we create a new Postgres database or have them share the existing one? We thought that sharing would be the best option, but dont know if this will work. Thanks Steve -- thorNET Internet Services, Consultancy & Training www.thornet.co.uk | 
| 
      
      
      From: Michael S. <Mic...@lr...> - 2005-09-27 11:18:52
      
     | 
| On Fri, 23 Sep 2005 py...@fi... wrote: > > I would not have added notice-reply or notice-return had they not appeared > in my from_awl. The point here is to try to match a variety of mixtures. > They appear in my tables, otherwise I would not have suggested them. If > they does not appear in yours, then there is little penalty for including > them. > The question for me was, how many of these entries do you see in your from_awl. If there are only a handful, than it is not worth to include them in a regex. To be able to match all onetime mailings I see in my from_awl would make the regex huge. On the other side if the regex matches hundreds of entries (without matching other addresses) than sure I would include such a regex. Michael Storz ------------------------------------------------- Leibniz-Rechenzentrum ! <mailto:St...@lr...> Barer Str. 21 ! Fax: +49 89 2809460 80333 Muenchen, Germany ! Tel: +49 89 289-28840 | 
| 
      
      
      From: Michael S. <Mic...@lr...> - 2005-09-27 11:13:46
      
     | 
| On Fri, 23 Sep 2005 py...@fi... wrote:
> I have rewriten the regexs a bit more, to do away with the loop.  If anyone
> is interested in testing this on their email mix, I would be happy to share
> it.
>
> Jeff
>
Sure, I would like to see, what you changed. Actually I use my own version
of deverp_user, which includes a patch about metachars for the first
version I send Lionel and which he included in 1.7.1. It does not include
the bo|bounce matching yet.
Michael Storz
-------------------------------------------------
Leibniz-Rechenzentrum   !   <mailto:St...@lr...>
Barer Str. 21           !   Fax: +49 89 2809460
80333 Muenchen, Germany !   Tel: +49 89 289-28840
-------------------------------------------------------------------------------
sub deverp_user {
    my ($user, $rcpt) = @_;
    ### Try to match single-use addresses
    # SRS (first and subsequent levels of forwarding)
    $user =~ s/^srs0=[^=]+=[^=]+=([^=]+)=([^=]+)$/srs0=#=#=$1=$2/;
    $user =~ s/^srs1=[^=]+=([^=]+)(=+)[^=]+=[^=]+=([^=]+)=([^=]+)$/srs1=#=$1$2#=#=$3=$4/;
    ### strip extension, used sometimes for mailing-list VERP
    $user =~ s/\+.*//;
    ### eliminate recipient put in originator
    my $dot_sep_re = '[\.\*-]+';
    my $at_sep_re = '[=\?\*~\.]+';
    my ($rcpt_lhs, $rcpt_rhs) = split /\@/, $rcpt, 2;
    # quote all pattern metacharacters and replace '.' with match of possible separators
    $rcpt_lhs = join $dot_sep_re, map { "\Q$_\E"}  split /\./, $rcpt_lhs;
    $rcpt_rhs = join $dot_sep_re, map { "\Q$_\E"}  split /\./, $rcpt_rhs;
    # build pattern with the 3 alternatives to match recipient in originator
    # BATV implementations use third or first alternative (first by abuse.net)
    my $pat = qr/$rcpt_lhs$at_sep_re$rcpt_rhs|$rcpt_rhs$at_sep_re$rcpt_lhs|$rcpt_lhs/;
    # replace address with capital RCPT to be save with deletes
    # (MySQL matches case insensitive unfortunately)
    $user =~ s/(?<=[\*=\.-])$pat|$pat(?=[\*=\.-])/RCPT/;
    ### strip hexadecimal sequences
    # at the beginning only if user will contain at least 4 consecutive alpha chars
    $user =~ s/^[0-9a-f]{2,}(?=[._\/=-].*[a-zA-Z]{4,})|(?<=[._\/=-])[0-9a-f]+(?=[._\/=-]|$)/#/g;
    #### big german list provider fagms.de, Falk eSolution
    $user =~ s/-emid[0-9a-z]+$/-emid/;
    return $user;
} # deverp_user
 | 
| 
      
      
      From: Michael S. <Mic...@lr...> - 2005-09-27 11:05:38
      
     | 
| On Fri, 23 Sep 2005 py...@fi... wrote: > > Your comment regarding this regex matching spam puzzles me. If it is in > your from_awl, then it already got through, hashes or not. Maybe I > misunderstood? If it is in the from_awl, we know the server will retry and > whether the regex matches or not seem irrelevent. This case seems to be a > case for filtering that greylisting cannot address. (RBLs?) > Hi Jeff, you are right. This means that spam was accepted by our relays. These spam mails are coming from MTAs operated by spammers. Most of the ip addresses can be identified by sbl.spamhaus.org. Unfortunately, in Germany you are not allowed to generally block MTAs. This has to be the decision of the end user. My comment was, we do not have to make the regex more complicated if all what we get is faster spam acceptance. Michael Storz ------------------------------------------------- Leibniz-Rechenzentrum ! <mailto:St...@lr...> Barer Str. 21 ! Fax: +49 89 2809460 80333 Muenchen, Germany ! Tel: +49 89 289-28840 | 
| 
      
      
      From: Momo <mo...@li...> - 2005-09-27 08:23:17
      
     | 
| > This is a bug introduced with the connect cleanup in 1.7.0. In fact > the CVS HEAD doesn't have this bug anymore because I cleaned up the > related methods and removed the bug without noticing it! > > 1.7.2 will correct this. > OK i'll wait for the next realease. Thanks for your answer Lionel, and thank you for this nice software. :=) Momo | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-26 15:29:46
      
     | 
| Jeff Rice wrote the following on 26.09.2005 16:55 : >Lionel Bouton wrote: > > >>Momo wrote the following on 26.09.2005 15:18 : >> >> >> >>>Hi Folks! >>> >>>I'm running SQLGrey v 1.7.2 >>> >>> >>1.7.2? >> >>Did you fetch that from CVS? If yes, revert to 1.7.1 or better use the >>1.6.6 version which is the latest stable release. >>Note: the current CVS HEAD (which is the futur 1.7.2 release) contains >>some code I have not yet tested. >> >> > >I believe that Momo might have mistyped the version number. I am having >the same error wih 1.7.1. I think it might be due to trying to extract >a non-existant substring to a variable during a s///. > > > This is a bug introduced with the connect cleanup in 1.7.0. In fact the CVS HEAD doesn't have this bug anymore because I cleaned up the related methods and removed the bug without noticing it! 1.7.2 will correct this. Lionel. | 
| 
      
      
      From: Momo <mo...@li...> - 2005-09-26 14:56:14
      
     | 
| >> >> I'm running SQLGrey v 1.7.2 > > 1.7.2? > Sorry for the typo, i installed v1.7.1 from sourceforge. Momo | 
| 
      
      
      From: Jeff R. <py...@fi...> - 2005-09-26 14:56:02
      
     | 
| Lionel Bouton wrote: > Momo wrote the following on 26.09.2005 15:18 : > >> Hi Folks! >> >> I'm running SQLGrey v 1.7.2 > > > 1.7.2? > > Did you fetch that from CVS? If yes, revert to 1.7.1 or better use the > 1.6.6 version which is the latest stable release. > Note: the current CVS HEAD (which is the futur 1.7.2 release) contains > some code I have not yet tested. I believe that Momo might have mistyped the version number. I am having the same error wih 1.7.1. I think it might be due to trying to extract a non-existant substring to a variable during a s///. Jeff | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-26 14:42:29
      
     | 
| Momo wrote the following on 26.09.2005 15:18 : >Hi Folks! > >I'm running SQLGrey v 1.7.2 > 1.7.2? Did you fetch that from CVS? If yes, revert to 1.7.1 or better use the 1.6.6 version which is the latest stable release. Note: the current CVS HEAD (which is the futur 1.7.2 release) contains some code I have not yet tested. Lionel | 
| 
      
      
      From: Momo <mo...@li...> - 2005-09-26 13:18:47
      
     | 
| Hi Folks! I'm running SQLGrey v 1.7.2 with mysql 4.1.11 on a Debian Sarge 3.1 SQLGrey is working well but i have the folowing entries in the logs each time a new sender is added in "from awl" : Sep 26 11:54:03 svrsmtp sqlgrey: grey: from awl: 84.14.78, vis...@vi... added Sep 26 11:54:03 svrsmtp sqlgrey: warning: Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 994. Sep 26 11:54:03 svrsmtp sqlgrey: warning: Use of uninitialized value in split at /usr/sbin/sqlgrey line 995. Sep 26 11:54:03 svrsmtp sqlgrey: warning: Use of uninitialized value in concatenation (.) or string at /usr/sbin/sqlgrey line 997. I'm don't have any developpement skills so i can't debug this.... If somebody could give advice / help .... I would appreciate. Thanks Momo | 
| 
      
      
      From: <py...@fi...> - 2005-09-24 06:02:46
      
     | 
| Michael Storz writes: > A change in deverp_user should be conservative. It should be carefully > crafted to only match onetime senders but not regular ones. The regex > above is too broad. It destroys the structure of a lot of bounce addresses > but will give you no advantage. It gives an advantage in my mix. Obviously, I cannot speak for yours. If it was catching regular emails in my tables, I would not be using it. >>From my the data in my from_awl (400 000 entries) the following regex > would indeed bring an advantage because emails form provider > cheetahmail.com (email domain b.ABCDEF.chtah.com and others) are not > matched at the moment: > > $user =~ s/^(bo|bounce)-[0-9a-z]+$/$1-#/g > > However it will also match a lot of spam mails. The rest of the regex will > bring nearly nothing in my case. I have no single entry of notice-reply in > any of the tables and only a handful of notice_return entries from > provider at network 65.160.234. I would not have added notice-reply or notice-return had they not appeared in my from_awl. The point here is to try to match a variety of mixtures. They appear in my tables, otherwise I would not have suggested them. If they does not appear in yours, then there is little penalty for including them. Your comment regarding this regex matching spam puzzles me. If it is in your from_awl, then it already got through, hashes or not. Maybe I misunderstood? If it is in the from_awl, we know the server will retry and whether the regex matches or not seem irrelevent. This case seems to be a case for filtering that greylisting cannot address. (RBLs?) I can only test a regex email I see at my server. This was the point in putting the regex up for discussion -- so that people could comment based on what they receive. Regardless, individual tweaks are simple, so I don't particularly care if these end up in the main branch. Had the changes not been beneficial for the emails I receive, I would not have put them forward or be using them on my server. I agree with your comment on the second email I sent -- it is far too broad and only seems to catch a small number of emails I see. I have rewriten the regexs a bit more, to do away with the loop. If anyone is interested in testing this on their email mix, I would be happy to share it. Jeff | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-23 12:46:02
      
     | 
| Michael Storz wrote the following on 23.09.2005 14:26 : > >>From my the data in my from_awl (400 000 entries) the following regex >would indeed bring an advantage because emails form provider >cheetahmail.com (email domain b.ABCDEF.chtah.com and others) are not >matched at the moment: > >$user =~ s/^(bo|bounce)-[0-9a-z]+$/$1-#/g > >However it will also match a lot of spam mails. The rest of the regex will >bring nearly nothing in my case. I have no single entry of notice-reply in >any of the tables and only a handful of notice_return entries from >provider at network 65.160.234. > > >You can check your database with > >select src,sender_domain,sender_name >from from_awl >where >sender_name rlike "((bo|bounce|notice-return|notice-reply)[._-])[0-9a-z_.-]+$" >and not >(sender_name rlike "^(bo|bounce)-[0-9a-z]+$") >order by src,sender_domain,sender_name; > > > >>> # strip hexadecimal sequences (doable in one regexp ?) >>> # don't strip a leading hex sequence though >>> my $tmp = ''; >>> while ($tmp ne $user) { >>> $tmp = $user; >>> $user =~ s/([._-])[0-9a-f]+([._-])/$1#$2/g; >>>- } >>>+ $user =~ s/([._-])[0-9a-z]{12,}([._-])/$1#$2/gi; # Added by JR >>> >>> >>> >>> >>12 is arbitrary but seems good to me. I'm not sure how this one will >>play out in the wild (this is why I prefer to put this code in the 1.7.x >>branch). >> >> >> >>>+ >>>+ } >>> $user =~ s/([._-])[0-9a-f]+$/$1#/g; >>>+ $user =~ s/([._-])[0-9a-z]{12,}$/$1#/gi; # Added by JR >>> >>> >>> >>> > >And I do not like this either. It matches much more other addresses than >onetime senders. Checking for hashes is better and not so error prone. > > > Thanks for the input. Having real-life data is the best. Jeff do you have any stats on your own trafic? | 
| 
      
      
      From: Michael S. <Mic...@lr...> - 2005-09-23 12:29:01
      
     | 
| On Wed, 21 Sep 2005, Jeff Rice wrote:
> Lionel Bouton wrote:
>  > Good, I believe this is useful. Note: the case insensitive match isn't
> > needed. All addresses are lowercased before being processed. I removed
> > it from all your substitution.
>
> Good to know.  The other VERP I am experimenting with deals with a
> number of emails I get that don't contain tell-tale signs (like -,_, or
> .) but are otherwise one-shot emails.  At the moment, I am assuming that
> if an email name contains more than 7 consecutive digits, the whole name
> should be masked.  I have never seen a normal email account with that
> many digits in a row.
>
> # mask long numeric sequences
> $user =~ s/.*[0-9]{7,}.*/#/g;
>
> This may be less-useful in the wild, but seems to function well enough
> for me.  The only drawback I can foresee is that this will probably mask
> emails that are sent by cellphones/pagers etc. since those are often use
> the phone number as the user name.
This matches definitely a lot of mobile phones which send SMS to
emailboxes, examples are in my from_table. I would not recommend to use
this regex.
>
> This and the other patch may very well need tweaking, so it would be
> useful if people could look at their from_awl tables and see how things
> are looking.
>
> Jeff
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Sqlgrey-users mailing list
> Sql...@li...
> https://lists.sourceforge.net/lists/listinfo/sqlgrey-users
>
Michael Storz
-------------------------------------------------
Leibniz-Rechenzentrum   !   <mailto:St...@lr...>
Barer Str. 21           !   Fax: +49 89 2809460
80333 Muenchen, Germany !   Tel: +49 89 289-28840
 | 
| 
      
      
      From: Michael S. <Mic...@lr...> - 2005-09-23 12:27:14
      
     | 
| On Wed, 21 Sep 2005, Lionel Bouton wrote: > Jeff Rice wrote the following on 21.09.2005 00:14 : > > >Hi, > >Just thought I would share a small patch that deals with a number of > >single-use email addresses that weren't being recognized by the existing > >regex in sqlgrey. These are the sort of bounce-return-12310123981, etc. > > This patch just tries to mask the parts that appear to be unique, so > >the database doesn't get filled with addresses that won't be used again. > > > >I somewhat arbitrarily decided that if an email name contained a > >delimiter such as "-","_", or "." along with a string of 12 or more > >alphanumeric characters, then those characters should be masked. That > >may or may not result in some emails being masked when they should not, > >or some not being masked when they should. I don't believe the result > >will be tragic in either case, and this can be adjusted to your liking. > > > >It might not work as well for other folks, but it seems to catch the > >major ones I see. I am sure there are other patterns that I didn't > >catch simply because they don't come up frequently in my email mix. > > > >Jeff > > > > > > Thanks, added in the 1.7.x branch, will be in 1.7.2. Comments below in > the patch. > > >--- sqlgrey 2005-09-03 01:09:21.000296554 +0000 > >+++ /usr/sbin/sqlgrey 2005-09-03 01:09:02.000989883 +0000 > >@@ -986,14 +986,21 @@ > > $user =~ s/^srs1=[^=]+=([^=]+)(=+)[^=]+=[^=]+=([^=]+)=([^=]+)$/srs1=#=$1$2#=#=$3=$4/; > > # strip extension, used sometimes for mailing-list VERP > > $user =~ s/\+.*//; > >+ > >+ # strip frequently used bounce/return masks > >+ $user =~ s/((bo|bounce|notice-return|notice-reply)[._-])[0-9a-z-_.]+$/$1#/gi; # Added by JR > >+ > > > > > > Good, I believe this is useful. Note: the case insensitive match isn't > needed. All addresses are lowercased before being processed. I removed > it from all your substitution. A change in deverp_user should be conservative. It should be carefully crafted to only match onetime senders but not regular ones. The regex above is too broad. It destroys the structure of a lot of bounce addresses but will give you no advantage. From my the data in my from_awl (400 000 entries) the following regex would indeed bring an advantage because emails form provider cheetahmail.com (email domain b.ABCDEF.chtah.com and others) are not matched at the moment: $user =~ s/^(bo|bounce)-[0-9a-z]+$/$1-#/g However it will also match a lot of spam mails. The rest of the regex will bring nearly nothing in my case. I have no single entry of notice-reply in any of the tables and only a handful of notice_return entries from provider at network 65.160.234. You can check your database with select src,sender_domain,sender_name from from_awl where sender_name rlike "((bo|bounce|notice-return|notice-reply)[._-])[0-9a-z_.-]+$" and not (sender_name rlike "^(bo|bounce)-[0-9a-z]+$") order by src,sender_domain,sender_name; > > > # strip hexadecimal sequences (doable in one regexp ?) > > # don't strip a leading hex sequence though > > my $tmp = ''; > > while ($tmp ne $user) { > > $tmp = $user; > > $user =~ s/([._-])[0-9a-f]+([._-])/$1#$2/g; > >- } > >+ $user =~ s/([._-])[0-9a-z]{12,}([._-])/$1#$2/gi; # Added by JR > > > > > > 12 is arbitrary but seems good to me. I'm not sure how this one will > play out in the wild (this is why I prefer to put this code in the 1.7.x > branch). > > >+ > >+ } > > $user =~ s/([._-])[0-9a-f]+$/$1#/g; > >+ $user =~ s/([._-])[0-9a-z]{12,}$/$1#/gi; # Added by JR > > > > > And I do not like this either. It matches much more other addresses than onetime senders. Checking for hashes is better and not so error prone. > OK > > Lionel. > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlgrey-users mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlgrey-users > Michael Storz ------------------------------------------------- Leibniz-Rechenzentrum ! <mailto:St...@lr...> Barer Str. 21 ! Fax: +49 89 2809460 80333 Muenchen, Germany ! Tel: +49 89 289-28840 | 
| 
      
      
      From: Evert M. <ev...@wi...> - 2005-09-22 07:02:04
      
     | 
| It was the only thing I got on stdout after starting sqlgrey with the supplied Gentoo-script. Regards, Evert Lionel Bouton wrote: > Evert Meulie wrote the following on 21.09.2005 14:41 : > >> Hi all! >> >> When I start version 1.6.6 of sqlgrey, I get the following error message: >> >> create_connect_table at /usr/sbin/sqlgrey line 176. >> >> This is after an upgrade from version 1.4.8 > > > > Is this the only thing you get in the logs? > > Does sqlgrey crash then or continue? > > If it crashes: > - what are the table definitions (for tables connect, from_awl and > domain_awl)? (you can use DESC tablename in MySQL or \d tablename for > PostgreSQL). > - what is the result of : "SELECT * from config ;" > > Lionel. > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php | 
| 
      
      
      From: Evert M. <ev...@wi...> - 2005-09-22 06:42:11
      
     | 
| MySQL. Lionel Bouton wrote: > Evert Meulie wrote the following on 21.09.2005 15:17 : > >> Dropping all the existing tables in my sqlgrey database solved the >> problem... 8-) > > > > Ouch ! Can you at least tell us which database you used so that I can > try to trigger the problem? > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php | 
| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-09-21 23:07:47
      
     | 
| Lionel Bouton wrote the following on 22.09.2005 00:43 :
> Jeff Rice wrote the following on 21.09.2005 18:58 :
>
>> Lionel Bouton wrote:
>> > Good, I believe this is useful. Note: the case insensitive match isn't
>>  
>>
>>> needed. All addresses are lowercased before being processed. I removed
>>> it from all your substitution.
>>>   
>>
>>
>> Good to know.  The other VERP I am experimenting with deals with a
>> number of emails I get that don't contain tell-tale signs (like -,_, or
>> .) but are otherwise one-shot emails.  At the moment, I am assuming that
>> if an email name contains more than 7 consecutive digits, the whole name
>> should be masked.  I have never seen a normal email account with that
>> many digits in a row.
>>
>> # mask long numeric sequences
>> $user =~ s/.*[0-9]{7,}.*/#/g;
>>  
>>
>
> Doesn't that simply replace any string with at least seven successive  
> numerical characters by a sharp?
>
> I would have used:
>
> $user =~ s/[0-9]{7,}/#/g;
Sorry, just understood that your regexp reflected your goal.
I've seen GSM related e-mail adresses too. I'm not sure what to do about 
that one.
 |