[exim-dev] [Bug 3057] New: invalid entry in addresslist caus…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Bugzilla
Data:  
Para: exim-dev
Asunto: [exim-dev] [Bug 3057] New: invalid entry in addresslist causes remaining entries not to match
https://bugs.exim.org/show_bug.cgi?id=3057

            Bug ID: 3057
           Summary: invalid entry in addresslist causes remaining entries
                    not to match
           Product: Exim
           Version: 4.95
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: List matching
          Assignee: unallocated@???
          Reporter: syzop@???
                CC: exim-dev@???


I have a simple:
hostlist relay_from_hosts = /etc/exim4/relay_hosts

And in that /etc/exim4/relay_hosts file I made a typo:
it had like 10 IP addresses, and then one invalid IPv6 address, like:
2a05:dddd:ccc:1234:5555:6666
followed by 5 other IP addresses

The problem is twofold:

1) I would expect Exim to skip an invalid IP address entry and continue with
checking the other lines, but it stopped. Removing that faulty IP address fixes
the problem. Moving the IP addresses from below to above the faulty entry fixes
the problem too.

2) There was no warning or anything in the /var/log/exim4/mainlog

The invalid IPv6 address was between other IPv6 addresses. Given the nature of
IPv6 addresses with some being compressed others uncompressed it doesn't really
stand out, or at least not for me (yet).

I think it would be really preferred if Exim would not stop processing (fixing
point 1), but if somehow that is difficult to do programmatically then I hope
at least a warning can be added upon encountering invalid entries (point 2).

If you need any further information, let me know.

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/