==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    https://bugs.contribs.org/show_bug.cgi?id=9605

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

            Bug ID: 9605
           Summary: Make qpsmtpd badhelo work like Whitelisthosts for
                    subnets
    Classification: Contribs
           Product: SME Contribs
           Version: 8.2
          Hardware: ---
                OS: ---
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-wbl
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

A lot of spammers use a block or complete subnet of IP addresses.
We want to block the entire subnet or range of addresses.

With the assistance and great suggestion from Stephane de Labrusse, changing
the test in /usr/share/qpsmtpd/plugins/check_spamhelo from

if ($host eq lc $bad)
to
if ($host eq lc $bad || $host =~ /^\Q$bad\E/)

accomplishes the same job as the Whitelisthosts for handling of subnets or
groups of IP Addresses but now "blacklists" them.

I hope this can be made standard in, and added to future versions of
check_spamhelo in smeserver-wbl.

Regards,
Selwyn

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to