After a fresh install of dovecot in Ubuntu 15.10, which was done after having purged the old conf, I still have a non empty doveconf -n output, but the man says that it should only output what is different from the default. So, I conclude that the default used to compute the output does not match with the actual default installation of dovecot in Ubuntu 15.10. If that is the case, is there a way to update the default used in doveconf so that it matches with the actual default configuration? Any other way to get the list of parameter definitions that are different from those of the original installation in the same format as doveconf -n, not just a mere diff, is what I am looking for.
Below is the output of doveconf -n
after a fresh installation. Note that I have no issue with Ubuntu default. I just want to be able to obtain in an automated manner what else is added to this Ubuntu default in the current installation in the same format as with doveconf -n
.
mail_location = mbox:~/mail:INBOX=/var/mail/%u
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 {
driver = pam
}
protocols = " imap pop3"
ssl = no
userdb {
driver = passwd
}
doveconf -n
uses the default that is hardcoded in the original package, but Ubuntu creates its own default by modifying some parameter definitions in the configuration files, which is whatdoveconf -n
outputs immediately after a fresh installation. This is not the answer I searched. I wanted a way to compare with the default Ubuntu installation or with any other original configuration, just as in a diff, but with thedoveconf -n
output format. However, I don't think I will get that answer, so I would accept yours. – Dominic108 Mar 14 '16 at 23:41