Hello everybody, I've just migrate my opensmtpd configuration to a new server with a fresh openbsd 5.5 install (binpatched with openup) and i encountered a strange problem.
# /etc/rc.d/smtpd start
smtpd(ok)
# tail -f /var/log/maillog
Sep 1 19:31:45 lea smtpd[16606]: info: startup
Sep 1 19:31:45 lea smtpd[21299]: fatal: smtp_setup_events:
ssl_setup failure: No such file or directory
Sep 1 19:31:45 lea smtpd[16606]: warn: parent -> smtp: pipe
closed
Sep 1 19:31:45 lea smtpd[21175]: warn: mfa -> smtp: pipe closed
Sep 1 19:31:45 lea smtpd[2208]: warn: lka -> smtp: pipe closed
Sep 1 19:31:45 lea smtpd[3501]: warn: queue -> smtp: pipe closed
Sep 1 19:31:45 lea smtpd[24581]: warn: control -> smtp: pipe
closed
Sep 1 19:31:45 lea smtpd[14104]: warn: mta -> lka: pipe closed
Sep 1 19:31:45 lea smtpd[31332]: warn: scheduler -> queue: pipe
closed
Sep 1 19:31:45 lea smtpd[31686]: warn: mda -> lka: pipe closed
# cat /etc/mail/smtpd.conf
pki lea.tristanpilat.com certificate
"/etc/mail/certs/lea.tristanpilat.com.crt"
pki lea.tristanpilat.com key
"/etc/mail/certs/lea.tristanpilat.com.key"
listen on lo0
listen on em0 smtps pki lea.tristanpilat.com auth hostname
lea.tristanpilat.com
listen on em0 tls pki lea.tristanpilat.com hostname
lea.tristanpilat.com
table aliases { admin = contact, postmaster = contact, root =
contact, abuse = contact }
accept for local alias <aliases> deliver to maildir
accept from any for domain tristanpilat.com alias <aliases>
deliver to maildir
accept from local for any relay
# ls -la /etc/mail/certs/
total 20
drwxr-xr-x 2 root wheel 512 Sep 1 13:55 .
drwxr-xr-x 3 root wheel 1024 Sep 1 13:55 ..
-rw------- 1 root wheel 1720 Aug 31 23:44
lea.tristanpilat.com.crt
-rw------- 1 root wheel 3272 Aug 31 23:44
lea.tristanpilat.com.key
What is wrong with my configuration ? Any idea ?
Thanks for your help.
--
Tristan Pilat
pgpRH408ynJG4.pgp
Description: PGP signature
