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.
Log in to post a comment.