Re: [Dovecot] auth: Error: LDAP: Connection lost to LDAP server, reconnecting

2011-08-29 Thread Angel L. Mateo
El 30/08/11 05:13, Timo Sirainen escribió: On Mon, 2011-08-29 at 11:44 +0200, Angel L. Mateo wrote: Is there any way to configure ldap connection with a keepalive, so I don't need a reconnection? Nope. But you could configure your LDAP server to idle-disconnect after some amount of tim

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-29 Thread Stanislav Klinkov
> Your principial in keytab should look like this - > imap/mail.example@example.com > Make sure your realm name are all CAPS, otherwise it won't work. Thank you, Captain Obvious.

Re: [Dovecot] auth: Error: LDAP: Connection lost to LDAP server, reconnecting

2011-08-29 Thread Timo Sirainen
On Mon, 2011-08-29 at 11:44 +0200, Angel L. Mateo wrote: > >>Is there any way to configure ldap connection with a keepalive, so I > >> don't need a reconnection? > > > > Nope. But you could configure your LDAP server to idle-disconnect after > > some amount of time. > > > I know it, but c

Re: [Dovecot] File Permissions and delivery

2011-08-29 Thread Timo Sirainen
On Mon, 2011-08-29 at 11:14 -0400, Simon Brereton wrote: > Aug 29 15:59:14 mail dovecot: deliver(si...@lydiard.net): > stat(/var/spool/mail/virtual/domain.net/simon/tmp) failed: Permission denied > (euid=999(mailsystem) egid=115(mailsystem) missing +x perm: > /var/spool/mail/virtual) > > Even i

Re: [Dovecot] dovecot w/ libwrap on fbsd

2011-08-29 Thread Timo Sirainen
On Mon, 2011-08-29 at 13:26 -0700, Gelu Lupas wrote: > Aug 29 22:48:38 dodo dovecot: pop3-login: Error: connect(tcpwrap) failed: > Permission denied Service permissions are set wrong. > service imap-login { > user = dovecot > } > service pop3-login { > user = dovecot > } You have explicitly

[Dovecot] dovecot w/ libwrap on fbsd

2011-08-29 Thread Gelu Lupas
Dovecot with libwrap doesn't work on FreeBSD for some reason or another. I have these lines in my /etc/hosts.allow: ALL: LOCAL 127.0.0.1: allow pop3: ALL: allow ALL: ALL: deny Yet when you try to telnet to localhost, port 110 this is what happens: Aug 29 22:48:38 dodo dovecot: pop3-login: Error

Re: [Dovecot] : error while loading shared libraries: libdovecot.so.0 (arm cross compile)

2011-08-29 Thread Stephen Feyrer
Hi. Thanks, I'll give that a try. -- Kind regards Stephen Feyrer. On Mon, 29 Aug 2011 09:04:01 +0100, Joseph Tam wrote: "Stephen Feyrer" writes: I've made a new attempt at build Dovecot. The build and then install processes appeared to work find. Then when I try to run Dovecot it re

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-29 Thread Nikolay Shopik
On 29.08.2011 17:39, Stanislav Klinkov wrote: So, according to source code, Dovecot tries to find in krb5.keytab a principal named "imap@hostname". However wiki says to create the principal named "imap/hostname@REALM". Please, clarify where is the error: in source code, in wiki, or I have misund

Re: [Dovecot] : error while loading shared libraries: libdovecot.so.0 (arm cross compile)

2011-08-29 Thread Stephen Feyrer
Hi, Firstly I tried building 2.0.14 with my fingers crossed. Sadly that didn't help. However, using configure --without-shared-libs is used make fails: /Projects/nslu2/nas/tsx09/staging/opt/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith

Re: [Dovecot] File Permissions and delivery

2011-08-29 Thread Simon Brereton
> -Original Message- > From: Timo Sirainen [mailto:t...@iki.fi] > Sent: Sunday, August 28, 2011 11:25 PM > On Fri, 2011-08-26 at 13:10 -0400, Simon Brereton wrote: > > mail:~# ls /var/spool/mail/virtual/domain.net/simon/new/ > > -rwxrwx--- 1 postfix mailsystem 2.5K Aug 26 03:33 > > 131432

Re: [Dovecot] File Permissions and delivery

2011-08-29 Thread Simon Brereton
> -Original Message- > From: dovecot-boun...@dovecot.org [mailto:dovecot- > boun...@dovecot.org] On Behalf Of Patrick Domack > Just adding that won't make dovecot use it though, you would have to > include the postconf -n output. Normally something like > virtual_transport=dovecot Crap. I

Re: [Dovecot] limiting number of incorrect logins per connection

2011-08-29 Thread Ed W
Slightly advanced, but note that you CAN block in progress connections using iptables What is happening is that the usual top (ish) rule in your iptable script says something like "continue if connection established", this can be seen as a performance optimisation to avoid running your full ruleba

[Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-29 Thread Stanislav Klinkov
Hello, ALL. I am trying to organize a transparent single sign-on concept for my Active Directory users into Dovecot via IMAP. On the user's desktop I use Thunderbird 6.0 as a mail client (MUA), Windows XP as an operating system. Domain is controlled by Windows 2008 Server SP2 with Active Directory

Re: [Dovecot] Catch22: user needs space to fix out of space condition

2011-08-29 Thread Duane Hill
Monday, August 29, 2011, 4:32:55 AM, Joseph wrote: > On Mon, 29 Aug 2011, Timo Sirainen wrote: >>> Actually, this gives me pause that maybe I should not enirely remove >>> the dotlocking method >>> >>> >>> http://mailman2.u.washington.edu/pipermail/alpine-info/2008-July/000996.html >>> >>>

Re: [Dovecot] auth: Error: LDAP: Connection lost to LDAP server, reconnecting

2011-08-29 Thread Angel L. Mateo
El 29/08/11 05:26, Timo Sirainen escribió: On Fri, 2011-08-26 at 13:01 +0200, Angel L. Mateo wrote: El 25/08/11 12:10, Timo Sirainen escribió: On 25.8.2011, at 13.04, Angel L. Mateo wrote: Aug 24 23:07:32 myotis28 dovecot: auth-worker(default): LDAP: Connection lost to LDAP server, reconnect

Re: [Dovecot] Catch22: user needs space to fix out of space condition

2011-08-29 Thread Joseph Tam
On Mon, 29 Aug 2011, Timo Sirainen wrote: Actually, this gives me pause that maybe I should not enirely remove the dotlocking method http://mailman2.u.washington.edu/pipermail/alpine-info/2008-July/000996.html Any comments on the (sole) use of POSIX fcntl() type locking? As long as

Re: [Dovecot] : error while loading shared libraries: libdovecot.so.0 (arm cross compile)

2011-08-29 Thread Joseph Tam
"Stephen Feyrer" writes: I've made a new attempt at build Dovecot. The build and then install processes appeared to work find. Then when I try to run Dovecot it reports the error: /share/MD0_DATA/optware/opt/sbin/dovecot: error while loading shared libraries: libdovecot.so.0: cannot open sha