I think this is more of what I'd prefer (moving a few executables, vs. trying to bring everything over from the original build environment...which I was only doing because I assumed that....if make install installed it, most of it must be necessary). But some questions:
- will dovecot look for dovecot.conf always in /etc? That is, if I run configure with:
--eprefix=/usr/local/dovecot-bld/<timestamp> --prefix=/usr/local/dovecot-bld/<timestamp>
will the executables look to
/usr/local/dovecot-bld/<timestamp>/etc/dovecot.conf
or to /etc/dovecot.conf?
Similarly, will ssl_build_param refer to the IBM OPenSSL idiosyncratic locations passed through CPPFLAGS and LDFLAGS or will it have dovecot looking for stuff in /usr/local/dovecot-bld/<timestamp>
Is the location and packaging of dovecot pretty much stable at this point? By this I mean, will the things I have to update as Dovecot updates pretty much be constrained to just the files you mentioned?
My thanks for everyone's patience and help.... S.
Chris Wakelin wrote:
I believe so. I routinely just copy the imap, imap-login (and optionally pop3, pop3-login) dovecot-auth and dovecot binaries (all but the last in the libexec directory, the last in the sbin directory) and dovecot.conf (in the etc directory).
You'll also need ssl_build_param (hardcoded to be in the libexec directory, I think, all the other paths can be specified in the conf file) if you use SSL/TLS.
Dovecot is probably better run as a standalone daemon rather than under inetd (the latter has been broken in the past, but I think I remember seeing somewhere that it has been fixed in the latest betas).
Best Wishes, Chris
Stewart Dean wrote:
Hmmm, hadn't thought of RPM. But I would like a direct answer to my question, which was: Can I just tar up everything in a dovecot-only prefix directory (defined in the invocation of configure) when the make and make install is done, and then untar/extract it in a directory of the same name over on another machine with the same OS, patches and OpenSSL? Are there Dovecot dependencies outside prefix directory.
--
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
sdean@bard.edu voice: 845-758-7475, fax: 845-758-7035