Re: [exim] SpamHaus DWL config

Góra strony
Delete this message
Reply to this message
Autor: Graeme Fowler
Data:  
Dla: exim-users
Temat: Re: [exim] SpamHaus DWL config
On Tue, 2010-09-28 at 12:47 +0100, Graeme Fowler wrote:
> Please try that and let us know if it works.


Of course it would be so much better if I got the patch the right way
round. Duh. Here's the right one:

--- verify.c.orig    2010-09-28 12:45:50.000000000 +0100
+++ verify.c    2010-09-28 12:46:24.000000000 +0100
@@ -3036,7 +3036,7 @@


   for (s = domain; *s != 0; s++)
     {
-    if (!isalnum(*s) && *s != '-' && *s != '.')
+    if (!isalnum(*s) && *s != '-' && *s != '.' && *s != '_')
       {
       log_write(0, LOG_MAIN, "dnslists domain \"%s\" contains "
         "strange characters - is this right?", domain);
@@ -3048,7 +3048,7 @@


   if (domain_txt != domain) for (s = domain_txt; *s != 0; s++)
     {
-    if (!isalnum(*s) && *s != '-' && *s != '.')
+    if (!isalnum(*s) && *s != '-' && *s != '.' && *s != '_')
       {
       log_write(0, LOG_MAIN, "dnslists domain \"%s\" contains "
         "strange characters - is this right?", domain_txt);