[exim-dev] [Bug 1297] New: Invalid entry in whitelist file c…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Paul Welsh
日付:  
To: exim-dev
題目: [exim-dev] [Bug 1297] New: Invalid entry in whitelist file causes rest of file to be ignored
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1297
           Summary: Invalid entry in whitelist file causes rest of file to
                    be ignored
           Product: Exim
           Version: 4.76
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Filters
        AssignedTo: nigel@???
        ReportedBy: paul@???
                CC: exim-dev@???



I am using exim 4.76 with greylistd 0.8.7 which uses a whitelist-hosts file
referenced as follows in exim.conf:

defer
-- snip --
!hosts = : +relay_hosts : \
${if exists {/etc/greylistd/whitelist-hosts}\
{/etc/greylistd/whitelist-hosts}{}}

Exim doesn't seem to support the use of 1, 2 or 3 octet entries in the
whitelist-hosts file.

For example, suppose the whitelist-hosts file contained this:
10.
*.welshfamily.com
192.168
212.159.106

In exim 4.6 all except *.welshfamily.com would be ignored and mail from the
host fw.welshfamily.com would be whitelisted, ie, not subject to the "defer"
statement in the exim.conf file.

In exim 4.76, however, fw.welshfamily.com would not be whitelisted.

What appears to be happening is that as soon as exim 4.76 encounters an invalid
entry such as a 1, 2 or 3 octet entry then it stops reading the rest of the
file.

The workaround is not to use invalid entries. For example:
10.
could be changed to:
10.0.0.0/8
in the whitelist-hosts file.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email