Re: [Dovecot] /etc/passwd authentication anomalies

2007-04-10 Thread Timo Sirainen
On 9.4.2007, at 22.21, Stewart Dean wrote: I am using the base AIX Unix authentication with NIS. There is a base /etc/password file (though the passwords are in a funny, IBM- peculiar file, /etc/security/passed) of just 18 lines...since NIS is in use, the last line is the standard for-anyth

Re: [Dovecot] rc31 -> "deferring operation: binding"

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 4.04, Ben Beuchler wrote: As I understand it, the new auth_bind code is extremely careful about flushing all pending operations before attempting to perform the authentication bind. If that's the case, any idea why OpenLDAP is deferring the binding operations so frequently? So

Re: [Dovecot] What are the Key DC executables

2007-04-10 Thread Timo Sirainen
On 9.4.2007, at 21.02, Stewart Dean wrote: Back a year ago, I asked what the key DC executables where that I had to bring from my compile host to the production imap server to install or upgrade DC. I was told: dovecot, dovecot.conf, dovecot-auth, imap & imap-login I recently got DC up and

Re: [Dovecot] Deliver die if global sieve script turn on

2007-04-10 Thread M1
My investigation is it happened only if: 1. global script is enable and a script file is existed. 2. in a virtual user environment, "@" exist in "-d" parameter ("-d [EMAIL PROTECTED]") is passed to deliver. There is no error if no "@" character passed to deliver or no global script in global

Re: [Dovecot] Deliver die if global sieve script turn on

2007-04-10 Thread Timo Sirainen
On Tue, 2007-04-10 at 17:45 +0800, M1 wrote: > My investigation is it happened only if: > > 1. global script is enable and a script file is existed. > 2. in a virtual user environment, "@" exist in "-d" parameter ("-d > [EMAIL PROTECTED]") is passed to deliver. > > There is no error if no "@" ch

Re: [Dovecot] Dovecot 1.0rc30 message ownership set as root mail

2007-04-10 Thread Timo Sirainen
On Sun, 2007-04-08 at 13:18 -0600, Mel Llaguno wrote: > I've compiled the latest release candidate of dovecot and I am > encountering a strange problem when mail is delivered. I have my > installation configured to use Maildir. When messages arrive, they > are > placed in the correct user direc

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-10 Thread Timo Sirainen
On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: > Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: Couldn't > create mailbox directory .gnome2_private Maildir uses "." as hierarchy separator, so this filename is invalid. I'm not sure if convert_skip_broken_mailboxes=yes

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-10 Thread Frank Elsner
On Tue, 10 Apr 2007 17:06:02 +0300 Timo Sirainen wrote: > On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: > > Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: > > Couldn't create mailbox directory .gnome2_private > > Maildir uses "." as hierarchy separator, so this filen

Re: [Dovecot] Released 1.0.rc31

2007-04-10 Thread Timo Sirainen
On Mon, 2007-04-09 at 09:07 -0400, Justin McAleer wrote: > Moving the dotlock creation after a successful call to > mail_storage_create_with_data makes everything happy, but I defer to > you > whether it's safe to call that before locking. Hmm. I guess that'd work. I'm not touching v1.0 anymor

Re: [Dovecot] (2) Convert plugin mbox to maildir has no effect

2007-04-10 Thread Frank Elsner
On Tue, 10 Apr 2007 16:15:21 +0200 Frank Elsner wrote: > On Tue, 10 Apr 2007 17:06:02 +0300 Timo Sirainen wrote: > > On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: > > > Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: > > > Couldn't create mailbox directory .gnome2_priv

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-10 Thread Timo Sirainen
On Tue, 2007-04-10 at 16:15 +0200, Frank Elsner wrote: > On Tue, 10 Apr 2007 17:06:02 +0300 Timo Sirainen wrote: > > On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: > > > Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: > > > Couldn't create mailbox directory .gnome2_priv

Re: [Dovecot] Connection refused with auth-master after upgrading to Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On Mon, 2007-04-09 at 08:45 -0600, Jason Warner wrote: > > >> > Apr 2 12:56:32 mail deliver([EMAIL PROTECTED]): > > >> > net_connect(/var/run/dovecot/auth-master) failed: Connection > > >> refused > > >> > > >> Delete this file. Restart Dovecot. Does it get recreated? > > > > > > When I delete the

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-10 Thread Frank Elsner
On Tue, 10 Apr 2007 17:39:14 +0300 Timo Sirainen wrote: > On Tue, 2007-04-10 at 16:15 +0200, Frank Elsner wrote: > > On Tue, 10 Apr 2007 17:06:02 +0300 Timo Sirainen wrote: > > > On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: > > > > Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox c

Re: [Dovecot] quota warning - take 2

2007-04-10 Thread Timo Sirainen
On Wed, 2007-04-04 at 17:34 +0200, Nicolas Boullis wrote: > > > This would make it easy. That code is already written, but it's not > in > > Dovecot's CVS yet. It would be useful also in dovecot-auth. > Originally I > > was thinking about using the code to replace the waitpid() calls in > > master

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-10 Thread Timo Sirainen
On Sun, 2007-04-08 at 16:10 +0200, Stephan Bosch wrote: > Robert Schetterer wrote: > > Hi,ok setui above works > > using avelsieve squirrelmail plugin > > with managesieve dovecot latest > > (perhaps i shouldnt use 1.30 rc) > > as well there may be other problems between suse and quotawarn patches

Re: [Dovecot] Connection refused with auth-master after upgrading to Dovecot 1.0 rc 28

2007-04-10 Thread Jason Warner
Timo, I really want to thank you for taking the time to look at this. I'm a newbie with a little Linux experience, so I'm in charge of the mail server. It makes it nice to deal with someone who really knows what they are doing. > -Original Message- > From: Timo Sirainen [mailto:[EMAIL PRO

Re: [Dovecot] rc31 -> "deferring operation: binding"

2007-04-10 Thread Ben Beuchler
Is there anything else in slapd logs? I haven't been able to identify anything of consequence. For example I found this with google: http://www.openldap.org/lists/openldap-software/200507/ msg00063.html Aye, I saw that as well. Unfortunately, Howard points out that the author of that messa

Re: [Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

2007-04-10 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen schrieb: > On Sun, 2007-04-08 at 16:10 +0200, Stephan Bosch wrote: >> Robert Schetterer wrote: >>> Hi,ok setui above works >>> using avelsieve squirrelmail plugin >>> with managesieve dovecot latest >>> (perhaps i shouldnt use 1.30 rc) >>

Re: [Dovecot] Connection refused with auth-master after upgrading to Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On Tue, 2007-04-10 at 09:11 -0600, Jason Warner wrote: > When I run deliver with the -d parameter, it does deliver a message to > the > intended user. I've tried just about everything I know how to do with > the > Dovecot LDA in the master.cf config file for Postfix. Here is the line > as it > sta

Re: [Dovecot] Connection refused with auth-master after upgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Jason Warner
> -Original Message- > From: Timo Sirainen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 10, 2007 9:24 AM > To: Jason Warner > Cc: 'Jason Warner'; dovecot@dovecot.org > Subject: RE: [Dovecot] Connection refused with auth-master after > upgradingto Dovecot 1.0 rc 28 > > On Tue, 2007-04

[Dovecot] "TLS handshake" errors, frozen IMAP

2007-04-10 Thread Ben Beuchler
Another new issue has cropped up with my rc1 -> rc31 upgrade: This morning, right around the typical morning email surge, Dovecot stopped accepting new IMAP connections. I didn't get a chance to do much troubleshooting and a restart of Dovecot fixed it. The only thing I've been able to find in

Re: [Dovecot] Connection refused with auth-master after upgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On Tue, 2007-04-10 at 09:32 -0600, Jason Warner wrote: > Sorry, I forgot to mention that when I tried the -d parameter, I was > running > as the vmail user and everything went just fine. I'm running out of ideas. strace could be helpful. Run: strace -o /tmp/deliver.log deliver -d .. Both as stan

Re: [Dovecot] "TLS handshake" errors, frozen IMAP

2007-04-10 Thread Timo Sirainen
On Tue, 2007-04-10 at 10:34 -0500, Ben Beuchler wrote: > Apr 10 09:11:36 cliff dovecot: imap-login: Disconnected: > rip=150.253.80.90, lip=150.253.10.10, TLS handshake This means that client started SSL/TLS handshake, but it wasn't finished. Why that might happen, I don't really know. verbose_ssl=

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-10 Thread guenther
On Tue, 2007-04-10 at 17:06 +0300, Timo Sirainen wrote: > On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: > > Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: > > Couldn't create mailbox directory .gnome2_private > > Maildir uses "." as hierarchy separator, so this filen

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Jason Warner
> -Original Message- > From: Timo Sirainen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 10, 2007 9:36 AM > To: Jason Warner > Cc: 'Jason Warner'; dovecot@dovecot.org > Subject: Re: [Dovecot] Connection refused with auth-master > afterupgradingto Dovecot 1.0 rc 28 > > On Tue, 2007-04-

Re: [Dovecot] Dovecot 1.0rc30 message ownership set as root mail

2007-04-10 Thread Mel Llaguno
Thanks for your help. I suspected as much. I use procmail as the LDA. Mel Timo Sirainen wrote: On Sun, 2007-04-08 at 13:18 -0600, Mel Llaguno wrote: I've compiled the latest release candidate of dovecot and I am encountering a strange problem when mail is delivered. I have my installation

[Dovecot] Dovecot Assertion on mail server with POP3 and LDAP authentication

2007-04-10 Thread Tim Alberts
Running two Fedora 6 systems with all the latest updates as of a week ago. One system is the mail server (sendmail, dovecot), the other is the master (open)LDAP server with the mail server running a slave LDAP instance. The problem I'm having is the client pop3 users are frequently being tol

Re: [Dovecot] Dovecot Assertion on mail server with POP3 and LDAP authentication

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 19.48, Tim Alberts wrote: Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot-auth: ../../../ libraries/liblber/io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser, 192.168.0.200): Child process

[Dovecot] Dovecot deliver agent - dovecot.conf permissions

2007-04-10 Thread Daniel L. Miller
I started playing with deliver, and saw a permission error in the logs for dovecot.conf. Under my distro install, /etc/dovecot.conf was installed owner/group root, with only user rw rights. I added "other" read privileges and deliver is happy - is this necessary? -- Daniel

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 19.30, Jason Warner wrote: < write(6, "[EMAIL PROTECTED]"..., 55) = 55 .. write(6, "[EMAIL PROTECTED]"..., 54) = 54 Your original error was: "net_connect(/var/run/dovecot/auth-master) failed: Connection refused". However here both of them were successfully connected to,

Re: [Dovecot] Dovecot deliver agent - dovecot.conf permissions

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 19.56, Daniel L. Miller wrote: I started playing with deliver, and saw a permission error in the logs for dovecot.conf. Under my distro install, /etc/dovecot.conf was installed owner/group root, with only user rw rights. I added "other" read privileges and deliver is happ

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Jason Warner
> On 10.4.2007, at 19.30, Jason Warner wrote: > > > < write(6, "[EMAIL PROTECTED]"..., 55) = 55 > .. > >> write(6, "[EMAIL PROTECTED]"..., 54) = 54 > > Your original error was: "net_connect(/var/run/dovecot/auth-master) > failed: Connection refused". However here both of them were > successfully

Re: [Dovecot] Dovecot Assertion on mail server with POP3 and LDAP authentication

2007-04-10 Thread Tim Alberts
Timo Sirainen wrote: On 10.4.2007, at 19.48, Tim Alberts wrote: Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot-auth: ../../../libraries/liblber/io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser,192.168.0.2

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 20.22, Jason Warner wrote: Apr 10 10:12:15 mail dovecot: auth(default): file auth-request.c: line 474 (auth_request_lookup_credentials_callback): assertion failed: (request->state == AUTH_REQUEST_STATE_PASSDB) Oh. So the connection refused happens because dovecot-auth crashe

Re: [Dovecot] Dovecot Assertion on mail server with POP3 and LDAP authentication

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 20.31, Tim Alberts wrote: Apr 4 08:44:38 msi2 dovecot: auth(default): dovecot- auth: ../../../libraries/liblber/io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed. Apr 4 08:44:38 msi2 dovecot: auth(default): pam(secretuser, 192.168.0.200): Child process

[Dovecot] get userlogin for shell script

2007-04-10 Thread Dirk Schleicher
Hello, how can I get some information if a user is connect to the dovecot imap? I like to build a script what asked if there is a connect. If yes the loop until no connect an then stop dovecot. How can I do this? Thanks Dirk

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 20.35, Timo Sirainen wrote: On 10.4.2007, at 20.22, Jason Warner wrote: Apr 10 10:12:15 mail dovecot: auth(default): file auth-request.c: line 474 (auth_request_lookup_credentials_callback): assertion failed: (request->state == AUTH_REQUEST_STATE_PASSDB) Oh. So the connect

Re: [Dovecot] get userlogin for shell script

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 20.41, Dirk Schleicher wrote: how can I get some information if a user is connect to the dovecot imap? I like to build a script what asked if there is a connect. If yes the loop until no connect an then stop dovecot. See if there exists any "imap" processes. But I think thi

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Jason Warner
> -Original Message- > From: Timo Sirainen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 10, 2007 11:45 AM > To: Dovecot Mailing List > Cc: Jason Warner; 'Jason Warner' > Subject: Re: [Dovecot] Connection refused with auth-master > afterupgradingto Dovecot 1.0 rc 28 > > On 10.4.2007,

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 21.00, Jason Warner wrote: Apr 10 11:48:28 mail deliver([EMAIL PROTECTED]): setgid(999) failed: Operation not permitted .. 999 is the gid of my vmail user. .. dovecot unix - n n - - pipe flags=DRhu user=vmail:mail argv=/usr/libexec/doveco

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Jason Warner
> > Apr 10 11:48:28 mail deliver([EMAIL PROTECTED]): setgid(999) failed: > > Operation > > not permitted > .. > > 999 is the gid of my vmail user. > .. > > dovecot unix - n n - - pipe > > flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d > > So then

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 21.33, Jason Warner wrote: I still didn't get a core dump in /var/run/dovecot. Should I be looking somewhere else? That is the directory that the base_dir variable is set to in my dovecot.conf file. Well, another way would be to attach gdb directly into dovecot-auth whil

Re: [Dovecot] Connection refused with auth-master afterupgradingto Dovecot 1.0 rc 28

2007-04-10 Thread Jason Warner
> On 10.4.2007, at 21.33, Jason Warner wrote: > > > I still didn't get a core dump in /var/run/dovecot. Should I be > > looking > > somewhere else? That is the directory that the base_dir variable is > > set to > > in my dovecot.conf file. > > Well, another way would be to attach gdb directly int

[Dovecot] Problems with (probably) Dovecot

2007-04-10 Thread Frank Neps
Hello altogether, I've got Dovecot 0.99 installed on a Suse Linux 9.2 system, together with Postfix. I need to upgrade that server in the near future to new hardware and new versions, but at the moment it would be great, if I could find the solution for the following problem without upgrading.

Re: [Dovecot] Problems with (probably) Dovecot

2007-04-10 Thread Timo Sirainen
On 10.4.2007, at 23.15, Frank Neps wrote: Trying to access my messages on the server via IMAP protocol using Outlook (2000 or 2002 or 2003) leads to an error message "Invalid messageset: " (where is a changing number). No data is displayed, the headers are not updated. Sq

Re: [Dovecot] Problems with (probably) Dovecot

2007-04-10 Thread Frank Neps
Hi Timo, thanks for your message. Timo Sirainen wrote: On 10.4.2007, at 23.15, Frank Neps wrote: Trying to access my messages on the server via IMAP protocol using Outlook (2000 or 2002 or 2003) leads to an error message "Invalid messageset: " (where is a changing number).

[Dovecot] error creating subfolders

2007-04-10 Thread John Harper
I'm running rc31 and I've come across a weird little error in creating subfolders that's only apparent in a specific situation. I recently moved our entire campus from UW to dovecot, and as part of that migration, and following the wiki, I have some namespaces: ##default namespace namespace private

[Dovecot] Having a problem with mbox/inbox

2007-04-10 Thread Nick Le Mouton
Hi, I've just installed dovecot on a RHEL 4 server. I'm using postfix as my MTA. Everything seems to work well when I have a home dir for the user, but I don't like to clutter up my /home/ dir with dirs for users that will never use them (other than mail). Is there no way to just use /var/mail/u

[Dovecot] Moving maildir folders between different RC dovecot machines

2007-04-10 Thread Francisco Reyes
Is it ever necessary to delete any of the dovecot files when moving between machines from different RC versions? I read all the RC notes from RC15 to 31 and didn't see any notes about this, but wanted to be completely sure. Have some domains that I need to move from a RC15 machine to a RC29 m

Re: [Dovecot] rc31 -> "deferring operation: binding"

2007-04-10 Thread Ben Beuchler
On 4/10/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: On 10.4.2007, at 4.04, Ben Beuchler wrote: > As I understand it, the new auth_bind code is extremely careful about > flushing all pending operations before attempting to perform the > authentication bind. If that's the case, any idea why Open

Re: [Dovecot] rc31 -> "deferring operation: binding"

2007-04-10 Thread Ben Beuchler
The really frustrating thing, of course, is that I really have no proof whatsoever that the occasional auth failures (all authentication attempts hang until Dovecot is restarted) have anything to do with the Sorry; cut myself off. The really frustrating thing, of course, is that I really have n

[Dovecot] WebmAdmin for DoveCot

2007-04-10 Thread Azher Amin
Hi, I am using Dovecot with Sendmail in my environment. So far I am doing manual operations like adding new users, aliases, setting quota etc. Is there any WebAdmin interface that works with 'Dovecot and Sendmail' and can help in above tasks, plz suggest. Regards -Azher -- This message has

Re: [Dovecot] WebmAdmin for DoveCot

2007-04-10 Thread Ken Anderson
Azher Amin wrote: Hi, I am using Dovecot with Sendmail in my environment. So far I am doing manual operations like adding new users, aliases, setting quota etc. Is there any WebAdmin interface that works with 'Dovecot and Sendmail' and can help in above tasks, plz suggest. You might get mo

Re: [Dovecot] rc31 -> "deferring operation: binding"

2007-04-10 Thread Troy Engel
Ben Beuchler wrote: I installed a virgin install of OpenLDAP 2.3.32 directly on the mail server, copied over my LDAP database, pointed Dovecot at it, and started it up. I immediately started getting the same log entries: Some ideas from the peanut gallery here -- if you run 'ldd dovecot-auth

Re: [Dovecot] Convert plugin mbox to maildir has no effect

2007-04-10 Thread Frank Elsner
On Tue, 10 Apr 2007 17:58:03 +0200 guenther wrote: > On Tue, 2007-04-10 at 17:06 +0300, Timo Sirainen wrote: > > On Sun, 2007-04-08 at 23:26 +0200, Frank Elsner wrote: > > > Apr 8 23:13:36 seymour dovecot: IMAP(migrant): Mailbox conversion: > > > Couldn't create mailbox directory .gnome2_private