[exim-dev] [Bug 2597] New: LDAP lookup in smtp_accept_max_pe…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: admin
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 2597] New: LDAP lookup in smtp_accept_max_per_host does not close file descriptor
https://bugs.exim.org/show_bug.cgi?id=2597

            Bug ID: 2597
           Summary: LDAP lookup in smtp_accept_max_per_host does not close
                    file descriptor
           Product: Exim
           Version: 4.92
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Lookups
          Assignee: unallocated@???
          Reporter: pcernko@???
                CC: exim-dev@???


Hello,

if I use an ldap lookup in smtp_accept_max_per_host, exim's main process does
not close the resulting network connection. Obviously after a while, exim dies
with:

Cannot open main log file "/var/log/exim4/mainlog": Too many open files:
euid=204 egid=209

Here's the relevant parts of my exim config:

ldap_default_servers = 127.0.0.1::636 : ldap-c.mpi-klsb.mpg.de::636 :
ldap-a.mpi-klsb.mpg.de::636 : ldap-b.mpi-klsb.mpg.de::636 :
ldap-d.mpi-klsb.mpg.de::636 : ldap0.mpi-klsb.mpg.de::636
LDAP_URL_PREFIX = ldaps:///dc=mpi-klsb,dc=mpg,dc=de

smtp_accept_max_per_host = ${if def:sender_host_address { \
    ${lookup ldap \


{LDAP_URL_PREFIX?ipHostNumber?sub?(&(istIsMemberOfNetgroup=ex-icinga-ph)(ipHostNumber=${quote_ldap:sender_host_address}))}
\
        {40} \
        {15} \
    } \
}}


I'm running exim 4.92 from Debian Buster.

Feel free to contact me, if you need further information or if I should do some
tests for you.

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