On Aug 26, 2007, at 5:31 PM, Dada Mail ((Justin Simoni)) wrote:
I wanna say that you should - just that regex's wouldn't (perhaps)
work - blocking, hotmial com should indeed work I'll add some
tests and see if they fail If they do, I'll open up a bug and get
to a'fixin' and try to give you some sort of patch
It's probably these lines in the DADA/MailingList/Subscribes pm file:
[snip] foreach my $check_this_address(@$new_addresses) {
my $errors = {};
my $status = 1;
$errors->{invalid_email} = 1 if
DADA::App::Guts::check_for_valid_email($check_this_address) == 1;
if($args{-Type} ne 'black_list' || $args{-Type} ne
'moderators'){ if($li->{use_subscription_quota} == 1){ if(($num_subscribers + 1) >= $li-> {subscription_quota}){ $errors->{over_subscription_quota} = 1; } } } [/snip]
You could probably change them to:
[snip] foreach my $check_this_address(@$new_addresses) {
my $errors = {};
my $status = 1;
if($args{-Type} ne 'black_list'){
$errors->{invalid_email} = 1 if
DADA::App::Guts::check_for_valid_email($check_this_address) == 1; }
if($args{-Type} ne 'black_list' || $args{-Type} ne
'moderators'){ if($li->{use_subscription_quota} == 1){ if(($num_subscribers + 1) >= $li-> {subscription_quota}){ $errors->{over_subscription_quota} = 1; } } } [/snip]
And you should at least get over the problem of not being able to
validate a string that's not actually an email address, in the
blacklist
And get a little speedup, too
On Aug 26, 2007, at 5:31 PM, Dada Mail ((Justin Simoni)) wrote:
> > >
On Aug 26, 2007, at 5:22 PM, Mariano Absatz wrote:
>
On 8/25/07, Dada Mail (Justin Simoni) dada@PROTECTED wrote: >
On Aug 23, 2007, at 2:08 PM, Mariano Absatz wrote:
What am I doing wrong?
Is there a way to use full perl regexes in the blacklist? what
is the syntax for it?You can probably use Perl regex's (or you used to), but I do have tentative plans to remove that ability, since it posses a security threat - in the SQL backend, there's chance of an injection If you're using the SQL backend at the moment, there's a good chance that regex's won't work Yes, I am using the SQL backend so my only option is to block by full address I can't block a complete domain?
I wanna say that you should - just that regex's wouldn't (perhaps)
work - blocking, hotmial com should indeed work I'll add some
tests and see if they fail If they do, I'll open up a bug and get
to a'fixin' and try to give you some sort of patch-- Justin Simoni
Dada Mail - Write Once: Distribute Everywhere Software url: http://mojo skazat com
> >
-- Mariano Absatz - El Baby el (dot) baby (AT) gmail (dot) com el (punto) baby (ARROBA:@) gmail (punto) com
--
Post: dadadev@PROTECTED
Unsubscribe: http://mojo skazat com/cgi-bin/dada/mail cgi/u/dadadev/
List Information: http://mojo skazat com/cgi-bin/dada/mail cgi/list/dadadev
Archive:
Mailing List Powered by Dada Mail http://mojo skazat com/cgi-bin/dada/mail cgi/what_is_dada_mail/
--
Post: dadadev@PROTECTED
Unsubscribe: http://mojo skazat com/cgi-bin/dada/mail cgi/u/dadadev/
List Information:
Archive:
Mailing List Powered by Dada Mail http://mojo skazat com/cgi-bin/dada/mail cgi/what_is_dada_mail/
Start a new thread, email: dadadev@dadamailproject.com
This is the developer discussion mailing list for Dada Mail.
If you are just looking for support Dada Mail, consult the message boards at:
https://forum.dadamailproject.com
Documentation for Dada Mail:
Specifically, see the Error FAQ:
https://dadamailproject.com/d/FAQ-errors.pod.html
To post to this list, send a message to:
mailto:dadadev@dadamailproject.com
All subscribers of this list may post to the list itself.
Topics that are welcome:
Dada Mail is on Github:
https://github.com/justingit/dada-mail/
If you would like to fork, branch, send over PRs, open up issues, etc.
This Privacy Policy is for this mailing list, and this mailing list only.
Email addresses collection through this mailing list are used explicitly to work within this email discussion list.
We only collect email addresses through our Closed-Loop Opt-In system.
We don't use your email address for any other purpose.
We won't be sharing your email address with any other entity.
Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.
All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.
All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.