DKIM milter wont start

The folowing occurs when trying to start dkim-milter

/etc/rc.d/init.d/dkim-milter start
Starting DomainKeys Identified Mail Milter (dkim-filter): dkim-filter: /etc/mail/dkim-milter/dkim-filter.conf: configuration error at line 152: unrecognized parameter
                                                           [FAILED]
Status: 
Closed (fixed)

Comments

What is on line 152 of /etc/mail/dkim-milter/dkim-filter.conf ?

pixel_paul's picture
Submitted by pixel_paul on Tue, 01/25/2011 - 03:58 Pro Licensee

Sorry - kind of useless report without that. Line 151 starts 'Domain' then each domain name followed by a comma. the last domain has no termination. Its the line after this. and says
##      default (none)

The issue here is that the DKIM milter cannot handle really long config file lines.

Virtualmin 3.83 and later fix this, but not if a Domain line already exists.

To force a fix, do the following :

  1. Remove that Domain line manually.
  2. Disable DKIM in Virtualmin.
  3. Re-enabling DKIM in Virtualmin.
pixel_paul's picture
Submitted by pixel_paul on Wed, 01/26/2011 - 04:38 Pro Licensee

Yes that has fixed the problem.

Thanks.

Automatically closed -- issue fixed for 2 weeks with no activity.