Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r18470: minor fix:

Committer: gariev
minor fix:
1) this should be managed by sysban
2) return code must be NO_SUPPORTED_RCPT, otherwithe job is re-scheduled, not dropped
U   trunk/cgi-bin/LJ/DoSendEmail.pm
Modified: trunk/cgi-bin/LJ/DoSendEmail.pm
===================================================================
--- trunk/cgi-bin/LJ/DoSendEmail.pm	2011-03-03 13:43:48 UTC (rev 18469)
+++ trunk/cgi-bin/LJ/DoSendEmail.pm	2011-03-03 13:46:18 UTC (rev 18470)
@@ -81,10 +81,6 @@
     my $class = shift;
     my ($rcpt, $opts) = @_;
 
-    ## temp hack, I Gariev, 17.01.2011
-    return CONNECTION_FAILED if $rcpt =~ /xrock\.co\.cc$/;
-    return CONNECTION_FAILED if $rcpt =~ /egor\.mail\.ua$/;
-
     ## do not issuing banned emails
     return NO_SUPPORTED_RCPT if LJ::sysban_check('email_domain', $rcpt);
 

Tags: gariev, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments