[Dovecot] Error "make install" of dovecot 1.0b3
I just downloaded dovecot 1.0b3 and running "make install" gives me an error This seems like a fairly simple bug in the Makefile ... but I'm not sure if maybe its a symptom of something more complex. I've tried "make uninstall" , "make install" and removing the entire /usr/local/lib/dovecot tree and same thing. dovecot does run ... but for other reasons I'm having problems getting it to work so thinking maybe this error could explain things
System: Linux
[root@lee dovecot-1.0.beta3]# uname -a Linux lee.calldei.com 2.6.11-1.27_FC3 #1 Tue May 17 20:27:37 EDT 2005 i686 athlon i386 GNU/Linux
CPU: x86 Filesystem: standard linux fs.
FYI: the "other problem" is I had to modify main.c to listen on alternate ports because I cant shut down my current UofW IMAP server to test this one ...
mkdir -p -- /usr/local/lib/dovecot/imap /usr/local/lib/dovecot/pop3 /usr/local/lib/dovecot/lda
for d in imap pop3 lda; do
rm -f /usr/local/lib/dovecot/$d/lib02_trash_plugin.so;
ln -s ../lib01_convert_plugin.so /usr/local/lib/dovecot/$d;
done
ln: /usr/local/lib/dovecot/imap/lib01_convert_plugin.so': File exists ln:
/usr/local/lib/dovecot/pop3/lib01_convert_plugin.so': File exists
ln: /usr/local/lib/dovecot/lda/lib01_convert_plugin.so': File exists make[4]: *** [install-exec-local] Error 1 make[4]: Leaving directory
/home/dave/src/dovecot/dovecot-1.0.beta3/src/plugins/convert'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory /home/dave/src/dovecot/dovecot-1.0.beta3/src/plugins/convert' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory
/home/dave/src/dovecot/dovecot-1.0.beta3/src/plugins'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory /home/dave/src/dovecot/dovecot-1.0.beta3/src' make: *** [install-recursive] Error 1 [root@lee dovecot-1.0.beta3]# ln:
/usr/local/lib/dovecot/imap/lib01_convert_plugin.so': File exists
On 2006-02-27 17:55:46 -0500, David A. Lee wrote:
FYI: the "other problem" is I had to modify main.c to listen on alternate ports because I cant shut down my current UofW IMAP server to test this one ...
you can change the ports in the config. iirc.
ln:
/usr/local/lib/dovecot/imap/lib01_convert_plugin.so': File exists ln:
/usr/local/lib/dovecot/pop3/lib01_convert_plugin.so': File exists ln: `/usr/local/lib/dovecot/lda/lib01_convert_plugin.so': File exists
can you change that to ln -sf timo?
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Maybe you could tell me where in the config ? I looked everwhere and could not find it. I also looked on the Wiki documentation page where changing ports was considered a "feature request" ...
Where can it be changed in the config file ? I'd LOVE to know !
On 2006-02-27 17:55:46 -0500, David A. Lee wrote:
FYI: the "other problem" is I had to modify main.c to listen on alternate ports because I cant shut down my current UofW IMAP server to test this one ...
you can change the ports in the config. iirc.
ln:
/usr/local/lib/dovecot/imap/lib01_convert_plugin.so': File exists ln:
/usr/local/lib/dovecot/pop3/lib01_convert_plugin.so': File exists ln: `/usr/local/lib/dovecot/lda/lib01_convert_plugin.so': File existscan you change that to ln -sf timo?
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
David A. Lee wrote:
Maybe you could tell me where in the config ? I looked everwhere and could not find it. I also looked on the Wiki documentation page where changing ports was considered a "feature request" ...
Where can it be changed in the config file ? I'd LOVE to know !
A quick glance at the Wiki documentation, and we find:
IP or host address where to listen in for connections. It's not currently possible to specify multiple addresses. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6 interfaces, but may also listen in all IPv4 interfaces depending on the operating system. If you want to specify ports for each service, you will need to configure these settings inside the protocol imap/pop3 { ... } section, so you can specify different ports for IMAP/POP3.
... so, that's the "where"... but you're right, it doesn't actually specify clearly anywhere the name of the parameter for specifying the port. A search through the mailing list logs turns up that it's listen and ssl_listen, like:
protocol imap { listen = *:10143 ssl_listen = *:10993 }
Timo: does this mean I could (in theory) leave out the global listen directive, so long as I specified a listen directive for _every_ protocol section?
-- Curtis Maloney cmaloney@cardgate.net
A quick glance at the Wiki documentation, and we find:
IP or host address where to listen in for connections. It's not currently possible to specify multiple addresses. "*" listens in all IPv4 interfaces. "[::]" listens in all IPv6 interfaces, but may also listen in all IPv4 interfaces depending on the operating system. If you want to specify ports for each service, you will need to configure these settings inside the protocol imap/pop3 { ... } section, so you can specify different ports for IMAP/POP3.
Saw that, was happy.
... so, that's the "where"... but you're right, it doesn't actually specify clearly anywhere the name of the parameter for specifying the port. A search
Saw that ... was sad ...
through the mailing list logs turns up that it's listen and ssl_listen, like:
protocol imap { listen = *:10143 ssl_listen = *:10993 }
Timo: does this mean I could (in theory) leave out the global listen directive, so long as I specified a listen directive for _every_ protocol section?
This works !!!
Thanks !
Now if only I could get it to authenticate ...
David A. Lee dlee@calldei.com http://www.calldei.com
Thanks all ! Its finally working ! Tomorrow I'll pound on it.
FYI: here were the problems.
the 1.0b3 out of the box doesnt "make install" without errors. Thanks to Ignacio for sending me a different src RPM that DOES work.
Had to add non-documented listen clauses to the imap protocol to test side-by-side a working UofW installation
I had to create a "dovecot" service in my /etc/pam.d/ directory
had to add "mail" as an extra group to get write access to /var/mail
Now seems to work great ! Thanks everyone ...
Who would I send these notes to hopefully get these issues either fixed or documented ?
Thanks again ! I cant wait to see if this solves some of my nagging IMAP problems ... the first is already solved, no need to set "Root Folder" which is not available on my PPC IMAP as an option ... Next I'd like to see if it behaves nicely with OUtlook Express ... UofW works "ok" but I so often get server errors trying to move files its very annoying ... (I think its in the middle of refreshing a folder and doesnt like having things moved from under it)
-David Lee
On Mon, 2006-02-27 at 22:08 -0500, David A. Lee wrote:
- I had to create a "dovecot" service in my /etc/pam.d/ directory
I'm quite surprised by this.
$ rpm -ql dovecot | grep pam\\.d /etc/pam.d/dovecot
-- Ignacio Vazquez-Abrams ivazquez@ivazquez.net http://fedora.ivazquez.net/
gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
On Mon, 2006-02-27 at 22:08 -0500, David A. Lee wrote:
I had to create a "dovecot" service in my /etc/pam.d/ directory
had to add "mail" as an extra group to get write access to /var/mail .. Who would I send these notes to hopefully get these issues either fixed or documented ?
I don't know how I could anything about these. They're both site-specific settings, not everyone wants them. I could add a reminder about /etc/pam.d/dovecot to config file I suppose..
- -- that was prety obvious, the log file told me what was going on. Its also somehwat documented. However 3) was a total mystery to me. All the debug log said even with full debugging was "Authentication Failed"
I had never used pam before (even after 25 years of unix programming ... ) and had absolutely no clue what to do. After looking through the source code for about an hour I found the function call it was using (pam_authenticate) and then about another hour looking through the worthless pam man pages and trying about a dozen things I finally guessed right and it worked.
I think a comment in the config or install notes would really really help out a beginner.
On Mon, 2006-02-27 at 22:08 -0500, David A. Lee wrote:
I had to create a "dovecot" service in my /etc/pam.d/ directory
had to add "mail" as an extra group to get write access to /var/mail .. Who would I send these notes to hopefully get these issues either fixed or documented ?
I don't know how I could anything about these. They're both site-specific settings, not everyone wants them. I could add a reminder about /etc/pam.d/dovecot to config file I suppose..
On Mon, 2006-02-27 at 17:55 -0500, David A. Lee wrote:
[root@lee dovecot-1.0.beta3]# uname -a Linux lee.calldei.com 2.6.11-1.27_FC3 #1 Tue May 17 20:27:37 EDT 2005 i686 athlon i386 GNU/Linux
Grab and rebuild this:
http://fedora.ivazquez.net/yum/4/i386/SRPMS.alternatives/dovecot-1.0-0.iva.4...
-- Ignacio Vazquez-Abrams ivazquez@ivazquez.net http://fedora.ivazquez.net/
gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
Thanks ! This compiles nicely ...
http://fedora.ivazquez.net/yum/4/i386/SRPMS.alternatives/dovecot-1.0-0.iva.4...
and installs without error ...
but I'm still getting a roadblock with "Authentication Fails" ... I've turned on all the debugging I could find, I'm sending my username fine. I tried telnet to the IMAP program and doing
a0001 LOGIN user pass
and get a AUTH failure ... I've enabled plain text authentication. I'm running RedHat linux with very few mods ... basic passwd authentication ... Somewhat frustrating ... I was attracted to dovecot with the "Very little you have to do to migrate" philosophy ... but cant get even basic authentication !
Any suggestions on how to debug this ?? I even tried setting /bin/true as the authentication program but no go :(
Thanks !
David A. Lee dlee@calldei.com http://www.calldei.com
On Mon, 2006-02-27 at 20:18 -0500, David A. Lee wrote:
but I'm still getting a roadblock with "Authentication Fails" ... I've turned on all the debugging I could find, I'm sending my username fine. I tried telnet to the IMAP program and doing
I would recommend using PAM authentication. Use the default config file in the package and make only the modifications absolutely required.
-- Ignacio Vazquez-Abrams ivazquez@ivazquez.net http://fedora.ivazquez.net/
gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
participants (5)
-
Curtis Maloney
-
David A. Lee
-
Ignacio Vazquez-Abrams
-
Marcus Rueckert
-
Timo Sirainen