hosts_allow plugin

2015-06-09 Thread Chris Dallimore
Hi, I'm still a novice and learning, but I'm playing with 0.95 and have come across an issue with the hosts_allow plugin. Specifically this part in sub in_hosts_allow: $const = Qpsmtpd::Constants::return_code($const) || DECLINED; if ($const =~ /deny/i) {

helo plugin fails to match badhelo

2015-12-17 Thread Chris Dallimore
The helo plugin fails to match any entries in badhelo, as the is_regex_match sub returns after the first (usually unsuccessful) test. This works for me: --- a/plugins/helo +++ b/plugins/helo @@ -301,40 +301,27 @@ sub is_in_badhelo { my ($self, $host) = @_; - -my $error = "I do not be

uribl plugin issues

2015-12-19 Thread Chris Dallimore
I had some problems with the uribl plugin: - Always returning "pass, No URIs found in mail" - URLs split over lines causing lookups to truncated domains - Whitelist not being actioned ( for the second "while ($l =~ m{" loop ) I've made some changes that work for me, but it likely needs reviewing