public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 18:18     ` reader
@ 2006-06-27 12:06       ` Josh Helmer
  2006-06-27 22:51         ` reader
  2006-06-27 19:17       ` Neil Bothwick
  2006-06-27 19:32       ` Martins Steinbergs
  2 siblings, 1 reply; 17+ messages in thread
From: Josh Helmer @ 2006-06-27 12:06 UTC (permalink / raw
  To: gentoo-user

On Tuesday 27 June 2006 18:18, reader@newsguy.com wrote:
> reader@newsguy.com writes:
> > Neil Bothwick <neil@digimed.co.uk> writes:
> >> Did you emerge dovecot with the pop3d USE flag?
> >
> > Nope and Jean has explained a bit about that... sorry for the line noise
>
> Looks to be not the end of the troubles with dovecot.
> I get this when a connection is attempted:
>
> dovecot: Jun 27 13:07:52 Error: pop3-login: inotify_init() failed:
> Function not implemented

Just a guess, but:  check your kernel config.  See if CONFIG_INOTIFY is set.   
If not, recompile with that set and see if it behaves better.

Josh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Dovecot... is the bugzilla material?
@ 2006-06-27 17:24 reader
  2006-06-27 17:30 ` [gentoo-user] " reader
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: reader @ 2006-06-27 17:24 UTC (permalink / raw
  To: gentoo-user

Fishing around for a pop3 server I settled on dovecot.  After
installation and few changes in well commented config.   I get a show
stopping error when attempting startup.

/etc/init.d/dovecot start
 * Starting dovecot ...
  Error: Can't use mail executable /usr/libexec/dovecot/pop3: 
  No such file or directory 

equery files dovecot shows there is no `pop3' executable under any
path. The only hit on that exact name is a directory.

Apparently dovecot expects this executable to be available but the
ebuild doesn't think so.

The commented /etc/dovcot.conf indicates /usr/libexec/dovecot/pop3 is
a default.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 17:24 [gentoo-user] Dovecot... is the bugzilla material? reader
@ 2006-06-27 17:30 ` reader
  2006-06-27 17:46 ` [gentoo-user] " Neil Bothwick
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 17+ messages in thread
From: reader @ 2006-06-27 17:30 UTC (permalink / raw
  To: gentoo-user

reader@newsguy.com writes:

> Fishing around for a pop3 server I settled on dovecot.  After
> installation and few changes in well commented config.   I get a show
> stopping error when attempting startup.

( not really commentary just apologizing for the stupid subject which
was supposed to have been:
   Subject: Dovecot... is <this> bugzilla material?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Dovecot... is the bugzilla material?
  2006-06-27 17:24 [gentoo-user] Dovecot... is the bugzilla material? reader
  2006-06-27 17:30 ` [gentoo-user] " reader
@ 2006-06-27 17:46 ` Neil Bothwick
  2006-06-27 17:55   ` [gentoo-user] " reader
  2006-06-27 17:47 ` [gentoo-user] " Jean Magnan de Bornier
  2006-06-27 18:40 ` Alexander Skwar
  3 siblings, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2006-06-27 17:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

On Tue, 27 Jun 2006 12:24:37 -0500, reader@newsguy.com wrote:

> equery files dovecot shows there is no `pop3' executable under any
> path. The only hit on that exact name is a directory.

# equery files dovecot | grep pop3
/usr/lib/dovecot/pop3
/usr/lib/dovecot/pop3/lib01_convert_plugin.so
/usr/lib/dovecot/pop3/lib01_quota_plugin.so
/usr/libexec/dovecot/pop3
/usr/libexec/dovecot/pop3-login

> Apparently dovecot expects this executable to be available but the
> ebuild doesn't think so.

Did you emerge dovecot with the pop3d USE flag?

# emerge dovecot -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-mail/dovecot-1.0_beta9-r2  USE="-debug -doc -ipv6 -kerberos -ldap mbox -mysql -pam pop3d -postgres ssl -vpopmail" 0 kB


-- 
Neil Bothwick

Facts are stubborn little bastards, be careful with them.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Dovecot... is the bugzilla material?
  2006-06-27 17:24 [gentoo-user] Dovecot... is the bugzilla material? reader
  2006-06-27 17:30 ` [gentoo-user] " reader
  2006-06-27 17:46 ` [gentoo-user] " Neil Bothwick
@ 2006-06-27 17:47 ` Jean Magnan de Bornier
  2006-06-27 18:40 ` Alexander Skwar
  3 siblings, 0 replies; 17+ messages in thread
From: Jean Magnan de Bornier @ 2006-06-27 17:47 UTC (permalink / raw
  To: gentoo-user

Le 27 juin à 19:24:37 reader@newsguy.com écrit notamment:

| Fishing around for a pop3 server I settled on dovecot.  After
| installation and few changes in well commented config.   I get a show
| stopping error when attempting startup.
>
| /etc/init.d/dovecot start
|  * Starting dovecot ...
|   Error: Can't use mail executable /usr/libexec/dovecot/pop3: 
|   No such file or directory 
>
| equery files dovecot shows there is no `pop3' executable under any
| path. The only hit on that exact name is a directory.
>
| Apparently dovecot expects this executable to be available but the
| ebuild doesn't think so.
>
| The commented /etc/dovcot.conf indicates /usr/libexec/dovecot/pop3 is
| a default.

If you have pop3 and/or pop3s in the "protocols" line of /etc/dovcot.conf
you must add pop3d in your USE flags, system-wide or preferably just for
dovecot in /etc/portage/package.use.

regards
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 17:46 ` [gentoo-user] " Neil Bothwick
@ 2006-06-27 17:55   ` reader
  2006-06-27 18:18     ` reader
  0 siblings, 1 reply; 17+ messages in thread
From: reader @ 2006-06-27 17:55 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> Did you emerge dovecot with the pop3d USE flag?

Nope and Jean has explained a bit about that... sorry for the line noise

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 17:55   ` [gentoo-user] " reader
@ 2006-06-27 18:18     ` reader
  2006-06-27 12:06       ` Josh Helmer
                         ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: reader @ 2006-06-27 18:18 UTC (permalink / raw
  To: gentoo-user

reader@newsguy.com writes:

> Neil Bothwick <neil@digimed.co.uk> writes:
>
>> Did you emerge dovecot with the pop3d USE flag?
>
> Nope and Jean has explained a bit about that... sorry for the line noise

Looks to be not the end of the troubles with dovecot.
I get this when a connection is attempted:

dovecot: Jun 27 13:07:52 Error: pop3-login: inotify_init() failed:
Function not implemented

dovecot: Jun 27 13:07:57 Info: pop3-login: Disconnected:
rip=192.168.0.16, lip=192.168.0.4

dovecot: Jun 27 13:07:57 Error: pop3-login: inotify_init() failed:
Function not implemented

dovecot: Jun 27 13:08:02 Info: pop3-login: Disconnected:
rip=192.168.0.16, lip=192.168.0.4

dovecot: Jun 27 13:08:03 Error: pop3-login: inotify_init() failed:
Function not implemented

Apparently has something to do with glibc and how it is compiled
judging by the message on gmane:

(This line will probably wrap so be alerted if you want to use it)

http://article.gmane.org/gmane.mail.imap.dovecot/13106/match=failed+function+implemented

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Dovecot... is the bugzilla material?
  2006-06-27 17:24 [gentoo-user] Dovecot... is the bugzilla material? reader
                   ` (2 preceding siblings ...)
  2006-06-27 17:47 ` [gentoo-user] " Jean Magnan de Bornier
@ 2006-06-27 18:40 ` Alexander Skwar
  2006-06-27 19:03   ` [gentoo-user] " reader
  3 siblings, 1 reply; 17+ messages in thread
From: Alexander Skwar @ 2006-06-27 18:40 UTC (permalink / raw
  To: gentoo-user

reader@newsguy.com wrote:

> Apparently dovecot expects this executable to be available but the
> ebuild doesn't think so.

What USE flags did you use to compile dovecot?

> The commented /etc/dovcot.conf indicates /usr/libexec/dovecot/pop3 is
> a default.

No.

Alexander Skwar
-- 
On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS.
	-- Tarl Neustaedter
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 18:40 ` Alexander Skwar
@ 2006-06-27 19:03   ` reader
  0 siblings, 0 replies; 17+ messages in thread
From: reader @ 2006-06-27 19:03 UTC (permalink / raw
  To: gentoo-user

Alexander Skwar <listen@alexander.skwar.name> writes:

>> The commented /etc/dovcot.conf indicates /usr/libexec/dovecot/pop3 is
>> a default.
>
> No.

Yeah it does.  The commented file says the commented items in it with
values indicate defaults.

>From /etc/dovecot.conf:

  # Default values are shown after each value, it's not required to
  # uncomment any of the lines.

[...]
  # POP3 executable location
  #mail_executable = /usr/libexec/dovecot/pop3

My initial failure to use the write USE flags was answered already.
But thanks.

Please see the continuing thread with new error once dovecot is
running.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 18:18     ` reader
  2006-06-27 12:06       ` Josh Helmer
@ 2006-06-27 19:17       ` Neil Bothwick
  2006-06-27 22:57         ` reader
  2006-06-27 19:32       ` Martins Steinbergs
  2 siblings, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2006-06-27 19:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

On Tue, 27 Jun 2006 13:18:24 -0500, reader@newsguy.com wrote:

> Apparently has something to do with glibc and how it is compiled
> judging by the message on gmane:
> 
> (This line will probably wrap so be alerted if you want to use it)
> 
> http://article.gmane.org/gmane.mail.imap.dovecot/13106/match=failed+function+implemented

Reading that thread, it would appear that for this to happen you have to
have installed >=linux-headers-2.6.16 but not recompiled glibc. Check the
dates from 

genlop glibc
genlop linux-headers

If the former is earlier, re-emerge it.


-- 
Neil Bothwick

Man and mouse are alike, both end up in pussy :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 18:18     ` reader
  2006-06-27 12:06       ` Josh Helmer
  2006-06-27 19:17       ` Neil Bothwick
@ 2006-06-27 19:32       ` Martins Steinbergs
  2006-06-27 22:49         ` reader
  2 siblings, 1 reply; 17+ messages in thread
From: Martins Steinbergs @ 2006-06-27 19:32 UTC (permalink / raw
  To: gentoo-user

On Tuesday 27 June 2006 21:18, reader@newsguy.com wrote:
> reader@newsguy.com writes:
> > Neil Bothwick <neil@digimed.co.uk> writes:
> >> Did you emerge dovecot with the pop3d USE flag?
> >
> > Nope and Jean has explained a bit about that... sorry for the line noise
>
> Looks to be not the end of the troubles with dovecot.
> I get this when a connection is attempted:
>
> dovecot: Jun 27 13:07:52 Error: pop3-login: inotify_init() failed:
> Function not implemented
>
> dovecot: Jun 27 13:07:57 Info: pop3-login: Disconnected:
> rip=192.168.0.16, lip=192.168.0.4
>
> dovecot: Jun 27 13:07:57 Error: pop3-login: inotify_init() failed:
> Function not implemented
>
> dovecot: Jun 27 13:08:02 Info: pop3-login: Disconnected:
> rip=192.168.0.16, lip=192.168.0.4
>
> dovecot: Jun 27 13:08:03 Error: pop3-login: inotify_init() failed:
> Function not implemented
>
> Apparently has something to do with glibc and how it is compiled
> judging by the message on gmane:
>
> (This line will probably wrap so be alerted if you want to use it)
>
> http://article.gmane.org/gmane.mail.imap.dovecot/13106/match=failed+functio
>n+implemented

i got rid of it removing 'login' from authentications mechanisms 
in /etc/dovecot.conf section 

auth_default {
mechanism = plain


I have single user setup and I dont care much about security here, so maybe 
this isnt the best solution. I use dovecot with squirrelmail to read one 
filtered kmail maildir. 

martins
-- 
Linux 2.6.17-ck1 AMD Athlon(tm) 64 Processor 3200+
 22:20:30 up 13:47,  1 user,  load average: 0.49, 0.44, 0.49
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 19:32       ` Martins Steinbergs
@ 2006-06-27 22:49         ` reader
  2006-06-27 23:28           ` Martins Steinbergs
  2006-06-27 23:56           ` Neil Bothwick
  0 siblings, 2 replies; 17+ messages in thread
From: reader @ 2006-06-27 22:49 UTC (permalink / raw
  To: gentoo-user

Martins Steinbergs <mar@ml.lv> writes:

> i got rid of it removing 'login' from authentications mechanisms 
> in /etc/dovecot.conf section 
>
> auth_default {
> mechanism = plain
>
>
> I have single user setup and I dont care much about security here, so maybe 
> this isnt the best solution. I use dovecot with squirrelmail to read one 
> filtered kmail maildir. 

My setup is very similar ... no great need for security.

My setting is the same as what you posted but then the pam stuff is in
there too.  What does your whole auth_default {} look like?

 (Everthing between opening and closing brackets)

Here, the whole thing minus the comments is:

auth default {
  mechanisms = plain
  passdb pam {
    args = "*"
  }

 userdb passwd {
  }
  user = root
}

I don't know how much of that is needed.  I wouldn't care if pam was
bypassed too but not sure if it would work then.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 12:06       ` Josh Helmer
@ 2006-06-27 22:51         ` reader
  0 siblings, 0 replies; 17+ messages in thread
From: reader @ 2006-06-27 22:51 UTC (permalink / raw
  To: gentoo-user

Josh Helmer <joshhelmer@cox.net> writes:

> Just a guess, but: check your kernel config.  See if CONFIG_INOTIFY
> is set.  If not, recompile with that set and see if it behaves
> better.

Its set:
root # grep CONFIG_INOTIFY .config
CONFIG_INOTIFY=y


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 19:17       ` Neil Bothwick
@ 2006-06-27 22:57         ` reader
  0 siblings, 0 replies; 17+ messages in thread
From: reader @ 2006-06-27 22:57 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> Reading that thread, it would appear that for this to happen you have to
> have installed >=linux-headers-2.6.16 but not recompiled glibc. Check the
> dates from 
>
> genlop glibc
> genlop linux-headers
>
> If the former is earlier, re-emerge it.

Doesn't appear to hold here.

root # genlop glibc
 * sys-libs/glibc
     Wed Jun 14 16:27:01 2006 >>> sys-libs/glibc-2.4-r3

root # genlop linux-headers
 * sys-kernel/linux-headers
     Wed Jun 14 09:08:10 2006 >>> sys-kernel/linux-headers-2.6.11-r5

Apparently glibc was compiled a few hours after linux-headers.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 22:49         ` reader
@ 2006-06-27 23:28           ` Martins Steinbergs
  2006-06-27 23:56           ` Neil Bothwick
  1 sibling, 0 replies; 17+ messages in thread
From: Martins Steinbergs @ 2006-06-27 23:28 UTC (permalink / raw
  To: gentoo-user

On Wednesday 28 June 2006 01:49, reader@newsguy.com wrote:
>
> My setup is very similar ... no great need for security.
>
> My setting is the same as what you posted but then the pam stuff is in
> there too.  What does your whole auth_default {} look like?
>
>  (Everthing between opening and closing brackets)
>
> Here, the whole thing minus the comments is:
>
> auth default {
>   mechanisms = plain
>   passdb pam {
>     args = "*"
>   }
>
>  userdb passwd {
>   }
>   user = root
> }
>
> I don't know how much of that is needed.  I wouldn't care if pam was
> bypassed too but not sure if it would work then.

i have very the same lines


-- 
Linux 2.6.17-ck1 AMD Athlon(tm) 64 Processor 3200+
 02:17:47 up 17:45,  1 user,  load average: 0.10, 0.23, 0.19
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 22:49         ` reader
  2006-06-27 23:28           ` Martins Steinbergs
@ 2006-06-27 23:56           ` Neil Bothwick
  2006-06-28  7:32             ` Neil Bothwick
  1 sibling, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2006-06-27 23:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

On Tue, 27 Jun 2006 17:49:37 -0500, reader@newsguy.com wrote:

> I don't know how much of that is needed.  I wouldn't care if pam was
> bypassed too but not sure if it would work then.

I use it without PAM, I don't have PAM installed. Just use

  passdb passwd {
  }
  passdb shadow {
  }

to have it authenticate through /etc/passwd. I'm nit sure if both are
needed, I'll have to try with just one.


-- 
Neil Bothwick

"Did you sleep well?" "No, I made a couple of mistakes."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user]  Re: Dovecot... is the bugzilla material?
  2006-06-27 23:56           ` Neil Bothwick
@ 2006-06-28  7:32             ` Neil Bothwick
  0 siblings, 0 replies; 17+ messages in thread
From: Neil Bothwick @ 2006-06-28  7:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

On Wed, 28 Jun 2006 00:56:44 +0100, Neil Bothwick wrote:

> I use it without PAM, I don't have PAM installed. Just use
> 
>   passdb passwd {
>   }
>   passdb shadow {
>   }
> 
> to have it authenticate through /etc/passwd. I'm nit sure if both are
> needed, I'll have to try with just one.

I don't know why I had both enabled to start with, but you only need the
shadow entry.


-- 
Neil Bothwick

Growing old is mandatory; growing up is optional!!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-06-28  7:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 17:24 [gentoo-user] Dovecot... is the bugzilla material? reader
2006-06-27 17:30 ` [gentoo-user] " reader
2006-06-27 17:46 ` [gentoo-user] " Neil Bothwick
2006-06-27 17:55   ` [gentoo-user] " reader
2006-06-27 18:18     ` reader
2006-06-27 12:06       ` Josh Helmer
2006-06-27 22:51         ` reader
2006-06-27 19:17       ` Neil Bothwick
2006-06-27 22:57         ` reader
2006-06-27 19:32       ` Martins Steinbergs
2006-06-27 22:49         ` reader
2006-06-27 23:28           ` Martins Steinbergs
2006-06-27 23:56           ` Neil Bothwick
2006-06-28  7:32             ` Neil Bothwick
2006-06-27 17:47 ` [gentoo-user] " Jean Magnan de Bornier
2006-06-27 18:40 ` Alexander Skwar
2006-06-27 19:03   ` [gentoo-user] " reader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox