Am Freitag, dem 09.01.2026 um 12:30 +0200 schrieb Aki Tuomi via dovecot:
> 
> > On 09/01/2026 12:22 EET Matthias Bodenbinder via dovecot 
> > <[email protected]> wrote:
> > 
> >  
> > Hi,
> > 
> > I have a self signed certificate for dovecot:
> > 
> > > [root@rakete] /etc/dovecot
> > > # ll
> > > insgesamt 12K
> > > -rwxr-xr-x 1 root root 1,7K 2026-01-09@09:56 dovecot.conf
> > > -rw-r----- 1 root root 1,4K 2026-01-09@09:54 dovecot.crt
> > > -rw-r----- 1 root root 1,7K 2026-01-09@09:54 dovecot.key
> > 
> > in dovecot.conf I have:
> > 
> > ssl_server {
> >   cert_file = /etc/dovecot/dovecot.crt
> >   key_file = /etc/dovecot/dovecot.key
> > }
> > 
> 
> !try_include ssl.conf
> 
> ssl.conf
> ========
> ssl_server {
>   cert_file = /etc/dovecot/dovecot.crt
>   key_file = /etc/dovecot/dovecot.key
> }
> 
> chmod 0600 ssl.conf
> 
> Aki
> 
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]


Thank your for the quick reply.
That did not work with !try_include ssl.conf:

dovecot[2102389]: doveconf: Fatal: Error in configuration file 
/etc/dovecot/dovecot.conf
line 50: Expecting '{'

and line 50 is "!try_include ssl.conf"

But when I put ssl.conf in subdir conf.d and remove the try_include line it 
works.

Thank you.
Matthias
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to