Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM

Edgar Pettijohn edgar at pettijohn-web.com
Sun Aug 16 00:46:24 UTC 2015


/etc/ssl $ sudo doveconf -n
# 2.2.15: /etc/dovecot/dovecot.conf
# OS: OpenBSD 5.7 amd64  ffs
auth_mechanisms = plain login
default_client_limit = 500
disable_plaintext_auth = no
first_valid_uid = 1000
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
mail_location = maildir:/var/vmail/%d/%n/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave duplicate
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
     special_use = \Drafts
   }
   mailbox Junk {
     special_use = \Junk
   }
   mailbox Sent {
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Trash {
     special_use = \Trash
   }
   prefix =
}
passdb {
   args = scheme=BLF-CRYPT username_format=%n /etc/mail/users
   driver = passwd-file
}
plugin {
   sieve = file:~/sieve;active=~/.dovecot.sieve
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
postmaster_address = postmaster@%d
protocols = imap pop3 lmtp sieve sieve
service auth {
   unix_listener auth-userdb {
     group = _smtpd
     mode = 0666
     user = _smtpd
   }
}
service imap-login {
   inet_listener imap {
     port = 143
   }
   inet_listener imaps {
     port = 993
     ssl = yes
   }
}
service lmtp {
   unix_listener lmtp {
     mode = 0666
   }
}
service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
   inet_listener sieve_deprecated {
     port = 2000
   }
}
service pop3-login {
   inet_listener pop3 {
     port = 110
   }
   inet_listener pop3s {
     port = 995
     ssl = yes
   }
}
ssl_cert = </etc/ssl/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   args = username_format=%n /etc/mail/users
   default_fields = quota_rule=*:storage=1G
   driver = passwd-file
}
protocol lmtp {
   mail_plugins =
}
protocol imap {
   mail_max_userip_connections = 10
   mail_plugins =
}
protocol lda {
   mail_plugins =
}
local_name mail.ineedgeography.com {
   ssl_cert = </etc/ssl/mail.ineedgeography.com.crt
   ssl_key = </etc/ssl/private/mail.ineedgeography.com.key
}
local_name mail.pettijohn-web.com {
   ssl_cert = </etc/ssl/mail.pettijohn-web.com.crt
   ssl_key = </etc/ssl/private/mail.pettijohn-web.com.key
}

The above works as expected.

On 08/15/15 02:06, dravion.smith at gmx.net wrote:
>
>
> Am 15.08.2015 um 09:04 schrieb Christian Kivalo:
>> provide your multi ssl doveconf -n output. - c 
>
> No. I leave this shit alone and running dovecot in multiinstance mode 
> and now its works.



More information about the dovecot mailing list