Hi Guys
I have yet another dovecot error as shown below.
Its come about after I restarted the box following some updates.
I have had the issue before and have posted in other threads.
The error message and the relevant lines are shown below. I’m posting this now before trying any fixes, but will try commenting out various bits to see what happens.
One point: Is that may have some bearing is that its possible that this dovecot conf has been copied over from a previous box, after reinstalling os and using vmin backups to reinstate. I dont actually know know if thats true or significant or not. Anyway I’m grateful for any input as to why this is happening.
doveconf: Warning: /etc/dovecot/dovecot.conf line 297: Global setting ssl_cert won’t change the setting inside an earlier filter at /etc/dovecot/dovecot.conf line 143 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/dovecot.conf line 143)
doveconf: Warning: /etc/dovecot/dovecot.conf line 298: Global setting ssl_key won’t change the setting inside an earlier filter at /etc/dovecot/dovecot.conf line 144 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/dovecot.conf line 144)
doveconf: Warning: /etc/dovecot/dovecot.conf line 299: Global setting ssl_key won’t change the setting inside an earlier filter at /etc/dovecot/dovecot.conf line 144 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/dovecot.conf line 144)
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 301: Unexpected ‘}’
143: local_name domain1.com {
144: ssl_cert = </home/domain1.com/ssl.cert
145: ssl_key = </home/domain1.com/ssl.key
146: }
287: local_name domain2.com {
288: ssl_cert = </home/domain2com/ssl.combined
289: ssl_key = </home/domain2com/ssl.key
290: #ssl_ca = </home/domain2com/ssl.ca
291: }
292: local_name www.domain2.com {
293: ssl_cert = </home/domain2com/ssl.combined
294: # ssl_ca = </home/domain2com/ssl.ca
295: ssl_key = </home/domain2com/ssl.key
296: }
297: ssl_cert = </home/domain2com/ssl.combined
298: ssl_key = </home/domain2com/ssl.key
299: ssl_key = </home/domain2com/ssl.key
300: #ssl_ca = </home/domain2com/ssl.ca
301: }
302: ssl_cert = </home/domain2com/ssl.combined
303: ssl_key = </home/domain2com/ssl.key
304: ssl_key = </home/domain2com/ssl.key
305: #ssl_ca = </home/domain2com/ssl.ca
306: }
307:
308: ssl_cert = </home/domain2com/ssl.combined
309: ssl_key = </home/domain2com/ssl.key
310: ssl_key = </home/domain2com/ssl.key
311: #ssl_ca = </home/domain2com/ssl.ca
312: }