Dovecot-common Install Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Binary package hint: dovecot-common
I am trying to install dovecot-imapd on a computer runming the following kernel: 2.6.32-305-ec2. I get the following errors:
root@xenmail:~# dpkg --configure dovecot-common
Setting up dovecot-common (1:1.2.
Creating generic self-signed certificate: /etc/ssl/
(replace with hand-crafted or authorized one if needed).
hostname: Name or service not known
dpkg: error processing dovecot-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dovecot-common
I have xenmail.
Running dpkg --reconfigure dovecot-common gives the same error.
After a bit of googling I found that I can install without errors if I first add the Dovecot security certificates to /etc/ssl/certs and /etc/private/ssl manually.
Ian.
Hello Ian!
The revealing message here is "hostname: Name or service not known" which means there is a DNS issue on your system.
"hostname -i" and "hostname -d" should get you going on debugging this. Also take a look at /etc/nsswitch.conf.
Of course the package installation shouldn't have barfed that badly, but you'll be running into trouble all the time if your mail server has DNS issues.
Cheers,
Antonio