#134 Lines longer than 1024 characters cannot be parsed

closed-duplicate
nobody
5
2010-10-22
2010-10-21
Jamie Cameron
No

If the dkim-milter .conf file contains a "Domain" line with too many domains listed (more than 1024 characters), the milter will crash on startup with an error like :

dkim-filter: /etc/dkim-filter.conf: configuration error at line 11: unrecognized parameter

This happens because the code that parses the config file allocates a buffer of only 1024 bytes for each line.

Please either increase this to something much larger like 100k, or make it fully dynamic.

Thanks!

Discussion

  • Jamie Cameron
    Jamie Cameron
    2010-10-22

    • status: open --> closed-duplicate