Dovecot configuration in new Ubuntu 6.10 install.

I am having the worst time getting Dovecot configured to work with virtualmin on Ubuntu 6.10.

It does not work out of the box!

And while dovecot is supposed to be the coolest thing in linux servers it’s the worst one to configure in my case. Maybe I don’t know what I’m doing but it’s the only server that won’t start in virtualmin after installing.
I installed Dovecot with apt-get and it would not start.
So I removed it and compiled the source.gz package. And it still would not start.
Then the config file is actually in “/usr/local/etc” instead of what virtualmin and webmin expect in “/etc/dovecot/dovecot.conf”
And the executable is in “/usr/local/sbin/dovecot” instead of “/usr/sbin/dovecot”.
It’s a total non standard new install with new directories that are not compatible with the old ones.

I have to dig through the forums and "HOWTOs / Examples / Tutorials"
from the Dovecot website to try to figure it out.

I also got this in the mail log:

Nov 23 22:34:57 sp4160b dovecot: Dovecot v1.0.7 starting up
Nov 23 22:34:57 sp4160b dovecot: Auth process died too early - shutting down
Nov 23 22:34:57 sp4160b dovecot: auth(default): Unknown passdb driver ‘pam’ (typo, or Dovecot was built without support for it? Check with dovecot --build-options)

It’s just the worst nightmare of configurations and makes me want to go play in World of Warcraft instead!

ok, that’s it.
This is just too complicated. Postfix and Dovecot is just for unix gurus, freaks and nerded out goofballs. lol
I want my click button thing! That’s why people buy windows.
I’m going to install ravencore and see if that’ll fix the mail server.
That why my last version of virtualmin was so outdated. I didn’t use it because the GPL version is too complicated to configure with the mail servers.
Either that or I’ll use Xmail and make my own control panel that isn’t so freaking complicated.
See ya next time. :slight_smile:

That why my last version of virtualmin was so outdated. I didn't use it because the GPL version is too complicated to configure with the mail servers.

That’s why we offer the install.sh automated installer–it does all of the mail server configuration for you.

Good luck with whatever control panel you choose.

Thanks.
I gave it one more try with the install.sh.
But since I didn’t have a freshly installed OS it didn’t work too.
Here’s what I got:

root@sp4160b:/usr/local/work/virtualmin# wget http://software.virtualmin.com/gpl/scripts/install.sh
–17:53:11-- http://software.virtualmin.com/gpl/scripts/install.sh
=> `install.sh’
Resolving software.virtualmin.com… 70.86.4.226
Connecting to software.virtualmin.com|70.86.4.226|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 30,123 (29K) [application/x-sh]

100%[===================================================================================================================================================================>] 30,123 --.–K/s

17:53:12 (230.41 KB/s) - `install.sh’ saved [30123/30123]

root@sp4160b:/usr/local/work/virtualmin# sh install.sh

Welcome to the Virtualmin GPL installer, version EA4.2

WARNING: This is an Early Adopter release.

The installation is quite stable and functional when run on a freshly
installed supported Operating System, but upgrades from existing .wbm-
based systems, or systems that already have Apache VirtualHost
directives or mail users, will very likely run into numerous problems.
Please read the Virtualmin and Early Adopter FAQs before proceeding if
your system is not a freshly installed and supported OS.

This script is not intended to update your system. It should only be
used to install Virtualmin Professional, or to upgrade a Virtualmin
GPL system that was installed manually via .wbm packages. If you have
previously installed Virtualmin via this script or the GPL version of
this script, upgrades and updates should be handled within Virtualmin
only.

The systems currently supported by our install.sh are:
CentOS 5 on i386 and x86_64
Debian 4.0 on i386 and amd64

If your OS is not listed above, this script will fail and attempting
to run it on an unsupported OS is not recommended, or supported. The
recommended operating systems for Virtualmin Professional, and more
details about them, can be found here:

http://www.virtualmin.com/os-support.html

Continue? (y/n) y
Checking for curl or wget…found /usr/bin/wget -nv
Checking for perl…found /usr/bin/perl
17:54:01 URL:http://software.virtualmin.com/lib/spinner [182/182] -> “spinner” [1]
Loading log4sh logging library…
17:54:01 URL:http://software.virtualmin.com/lib/log4sh [21395/21395] -> “log4sh” [1]
INFO - Started installation log in virtualmin-install.log
INFO - Checking for fully qualified hostname…
INFO - Hostname OK: fully qualified as sp4160b.serverpronto.com
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
17:54:01 URL:http://software.virtualmin.com/lib/oschooser.pl [4448/4448] -> “oschooser.pl” [1]
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list…
17:54:02 URL:http://software.virtualmin.com/lib/os_list.txt [3473/3473] -> “os_list.txt” [1]
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name: Ubuntu Linux
INFO - Operating system version: 6.10
INFO - Installing virtualmin-release package for Ubuntu Linux 6.10…
INFO - Enabling universe repositories, if not already available…
Get:1 http://us.archive.ubuntu.com edgy Release.gpg [191B]
Get:2 http://us.archive.ubuntu.com edgy-updates Release.gpg [191B]
Get:3 http://security.ubuntu.com edgy-security Release.gpg [191B]
Get:4 http://us.archive.ubuntu.com edgy-backports Release.gpg [191B]
Hit http://us.archive.ubuntu.com edgy Release
Hit http://security.ubuntu.com edgy-security Release
Hit http://us.archive.ubuntu.com edgy-updates Release
Hit http://security.ubuntu.com edgy-security/main Packages
Hit http://us.archive.ubuntu.com edgy-backports Release
Hit http://security.ubuntu.com edgy-security/restricted Packages
Hit http://security.ubuntu.com edgy-security/main Sources
Hit http://us.archive.ubuntu.com edgy/main Packages
Hit http://us.archive.ubuntu.com edgy/restricted Packages
Hit http://us.archive.ubuntu.com edgy/main Sources
Hit http://us.archive.ubuntu.com edgy/restricted Sources
Hit http://us.archive.ubuntu.com edgy/universe Packages
Hit http://us.archive.ubuntu.com edgy/universe Sources
Hit http://us.archive.ubuntu.com edgy-updates/main Packages
Hit http://security.ubuntu.com edgy-security/restricted Sources
Hit http://security.ubuntu.com edgy-security/universe Packages
Hit http://security.ubuntu.com edgy-security/universe Sources
Hit http://us.archive.ubuntu.com edgy-updates/restricted Packages
Hit http://us.archive.ubuntu.com edgy-updates/main Sources
Hit http://us.archive.ubuntu.com edgy-updates/restricted Sources
Hit http://us.archive.ubuntu.com edgy-backports/main Packages
Hit http://us.archive.ubuntu.com edgy-backports/restricted Packages
Hit http://us.archive.ubuntu.com edgy-backports/universe Packages
Hit http://us.archive.ubuntu.com edgy-backports/multiverse Packages
Hit http://us.archive.ubuntu.com edgy-backports/main Sources
Hit http://us.archive.ubuntu.com edgy-backports/restricted Sources
Hit http://us.archive.ubuntu.com edgy-backports/universe Sources
Hit http://us.archive.ubuntu.com edgy-backports/multiverse Sources
Fetched 4B in 1s (3B/s)
Reading package lists… Done
INFO - Cleaning up apt headers and packages, so we can start fresh…
INFO -
17:54:04 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> “apt.conf.noninteractive” [1]
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Disabling any CD-based apt repositories so the process can run without assistance
INFO - Installing Webmin and Virtualmin package signing keys…
17:54:05 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> “RPM-GPG-KEY-virtualmin” [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
17:54:05 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> “RPM-GPG-KEY-webmin” [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-dapper/main/binary-i386/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
INFO - Ign
INFO - Removing Debian standard Webmin package, if they exist (because they’re broken)…
INFO - Removing Debian apache packages…
invoke-rc.d: unknown initscript, /etc/init.d/postgresql not found.
dpkg: error processing gforge-db-postgresql (–configure):
subprocess post-installation script returned error exit status 100
dpkg: dependency problems prevent configuration of gforge-ldap-openldap:
gforge-ldap-openldap depends on gforge-db-postgresql | gforge-db; however:
Package gforge-db-postgresql is not configured yet.
Package gforge-db is not installed.
Package gforge-db-postgresql which provides gforge-db is not configured yet.
dpkg: error processing gforge-ldap-openldap (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gforge-db-postgresql
gforge-ldap-openldap
E: Sub-process /usr/bin/dpkg returned an error code (1)
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl
INFO - …in progress, please wait…
/tmp/.virtualmin-8508/files/spinner: 11: Syntax error: Bad substitution
E: Couldn’t find package usermin
…in progress, please wait… failed. Error (if any): 0

Displaying the last 15 lines of the install.log to help troubleshoot this problem:
INFO - 2007-11-25 17:54:05 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2007-11-25 17:54:05 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2007-11-25 17:54:05 - OK
INFO - 2007-11-25 17:54:05 - OK
INFO - 2007-11-25 17:54:06 - Ign
INFO - 2007-11-25 17:54:06 - Removing Debian standard Webmin package, if they exist (because they’re broken)…
INFO - 2007-11-25 17:54:06 - Removing Debian apache packages…
DEBUG - 2007-11-25 17:54:08 - Reading
INFO - 2007-11-25 17:54:08 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl
INFO - 2007-11-25 17:54:08 - …in progress, please wait…
Reading package lists…
Building dependency tree…
Reading state information…
postfix is already the newest version.
webmin is already the newest version.

FATAL - Fatal Error Occurred: Something went wrong during installation: 1
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log.
root@sp4160b:/usr/local/work/virtualmin#

Ok, I’ll take back some of what I said.
I finally figured it out at 5am with an all night coffee session!
So now I guess I’m either nerded out too or becoming a guru. lol

Well it took some time but I got it to finally work.
https://help.ubuntu.com/community/Dovecot
is the reference for it.
Although I deleted the “init.d/dovecot” file and it wasn’t replaced with
apt-get dovecot-common dovecot-imapd dovecot-pop3d.