[Dovecot] Broken Debian package

2008-04-05 Thread Thing
Hi,

I have run Dovecot via Debian for some years but in the last few weeks
something has brokenI have been upgrading Debian but today rebooted it
to try and sort out a failed DLTnow I find dovecot is non-functional

So,

Where to look for faults please? ie logs? can I make dovecot verbose?
Thunderbird if telling me Dovecot is not imap4 compliantand I cannot
connect to it...

I have tried re-installing Dovecot but the Debian package contains no
dovecot.confso I have dovecot imap-d and dovecot common installed but no
config.

So I copied back the config files from a safe location

When I start up I get,
hermes:/var/log# tail dovecot
dovecot: 2008-04-06 11:32:32 Info: Dovecot v1.0.rc15 starting up
hermes:/var/log#

So trying to connect, tail -f (on /var/log/dovecot),

dovecot: 2008-04-06 11:57:34 Info: imap-login: Login: user=thing,
method=plain, rip=192.168.1.101, lip=192.168.1.254, TLS
dovecot: 2008-04-06 11:57:34 Error: IMAP(thing): seq = 186, rec-uid = 0,
first_new_seq = 188, records = 187
dovecot: 2008-04-06 11:57:34 Error: child 20048 (imap) killed with signal 6
dovecot: 2008-04-06 11:57:34 Info: imap-login: Login: user=thing,
method=plain, rip=192.168.1.101, lip=192.168.1.254, TLS
dovecot: 2008-04-06 11:57:34 Error: IMAP(thing): seq = 186, rec-uid = 0,
first_new_seq = 188, records = 187
dovecot: 2008-04-06 11:57:34 Error: child 20050 (imap) killed with signal 6
dovecot: 2008-04-06 11:57:34 Info: imap-login: Login: user=thing,
method=plain, rip=192.168.1.101, lip=192.168.1.254, TLS
dovecot: 2008-04-06 11:57:34 Error: IMAP(thing): seq = 186, rec-uid = 0,
first_new_seq = 188, records = 187
dovecot: 2008-04-06 11:57:34 Error: child 20052 (imap) killed with signal 6
dovecot: 2008-04-06 11:57:35 Info: imap-login: Login: user=phoebe,
method=PLAIN, rip=192.168.1.102, lip=192.168.1.254, TLS
dovecot: 2008-04-06 11:57:35 Info: imap-login: Login: user=thing,
method=plain, rip=192.168.1.101, lip=192.168.1.254, TLS
dovecot: 2008-04-06 11:57:35 Error: IMAP(thing): seq = 186, rec-uid = 0,
first_new_seq = 188, records = 187
dovecot: 2008-04-06 11:57:35 Error: child 20062 (imap) killed with signal 6

squirrelmail is also now dead

Ideas please?

regards

Steven


Re: [Dovecot] Broken Debian package

2008-04-05 Thread Thing
Hi,

Thanks for the fast reply!

Looks like Debian Dovecot itself is actually OK. To determine this firstly I
created a new user and find I can connect to the new user's inbox using
squrrelmail OK, but some old users dont work

I next connected to another user's account and that works fine...

so I assume its a format issue of the mail structure for that one
user...The Q is how to re-instate/repair the existing mail box for the old
user(s)is there a script I an run to repair? or update the format?

As below, test is the new user and is OK, phoebe is an old user and is OK,
user thing is broken

regards

Steven

dovecot: 2008-04-06 12:09:36 Error: IMAP(thing): seq = 186, rec-uid = 0,
first_new_seq = 188, records = 187
dovecot: 2008-04-06 12:09:36 Error: child 21078 (imap) killed with signal 6
dovecot: 2008-04-06 12:12:35 Info: imap-login: Login: user=phoebe,
method=PLAIN, rip=192.168.1.102, lip=192.168.1.254, TLS
dovecot: 2008-04-06 12:12:35 Info: IMAP(phoebe): Disconnected: Logged out
dovecot: 2008-04-06 12:17:34 Info: imap-login: Login: user=phoebe,
method=PLAIN, rip=192.168.1.102, lip=192.168.1.254, TLS
dovecot: 2008-04-06 12:17:34 Info: IMAP(phoebe): Disconnected: Logged out
dovecot: 2008-04-06 12:17:55 Info: imap-login: Login: user=test,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: 2008-04-06 12:17:55 Info: IMAP(test): Disconnected: Logged out
dovecot: 2008-04-06 12:17:55 Info: imap-login: Login: user=test,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
dovecot: 2008-04-06 12:17:58 Info: IMAP(test): Disconnected: Logged out
dovecot: 2008-04-06 12:18:58 Info: imap-login: Login: user=phoebe,
method=plain, rip=192.168.1.101, lip=192.168.1.254, TLS
dovecot: 2008-04-06 12:19:16 Info: IMAP(phoebe): Disconnected in IDLE


Re: [Dovecot] Broken Debian package

2008-04-05 Thread Thing
Hi,

I went into,

/home/thing/mail/.imap/INBOX

and mv'd the contents to safe/

I then re-connected and I can now re-connectDovecot re-created the
following files,

-rw--- 1 thing thing  7976 2008-04-06 12:39 dovecot.index
-rw--- 1 thing thing 18432 2008-04-06 12:40 dovecot.index.cache
-rw--- 1 thing thing 10100 2008-04-06 12:40 dovecot.index.log
drwxr-xr-x 2 root  root   4096 2008-04-06 12:37 safe

Looking at safe/

hermes:/home/thing/mail/.imap/INBOX# ls -l safe/
total 376
-rw--- 1 thing thing   7976 2008-04-06 09:25 dovecot.index
-rw--- 1 thing thing 136192 2008-04-06 09:55 dovecot.index.cache
-rw--- 1 thing thing  88096 2008-04-06 09:55 dovecot.index.log
-rw--- 1 thing thing 131132 2008-03-30 19:21 dovecot.index.log.2
hermes:/home/thing/mail/.imap/INBOX#

So maybe dovecot.index.cache became corrupt?

regards

Steven

On Sun, Apr 6, 2008 at 12:23 PM, Thing [EMAIL PROTECTED] wrote:

 Hi,

 Thanks for the fast reply!

 Looks like Debian Dovecot itself is actually OK. To determine this firstly
 I created a new user and find I can connect to the new user's inbox using
 squrrelmail OK, but some old users dont work

 I next connected to another user's account and that works fine...

 so I assume its a format issue of the mail structure for that one
 user...The Q is how to re-instate/repair the existing mail box for the old
 user(s)is there a script I an run to repair? or update the format?

 As below, test is the new user and is OK, phoebe is an old user and is OK,
 user thing is broken

 regards

 Steven

 dovecot: 2008-04-06 12:09:36 Error: IMAP(thing): seq = 186, rec-uid = 0,
 first_new_seq = 188, records = 187
 dovecot: 2008-04-06 12:09:36 Error: child 21078 (imap) killed with signal
 6
 dovecot: 2008-04-06 12:12:35 Info: imap-login: Login: user=phoebe,
 method=PLAIN, rip=192.168.1.102, lip=192.168.1.254, TLS
 dovecot: 2008-04-06 12:12:35 Info: IMAP(phoebe): Disconnected: Logged out
 dovecot: 2008-04-06 12:17:34 Info: imap-login: Login: user=phoebe,
 method=PLAIN, rip=192.168.1.102, lip=192.168.1.254, TLS
 dovecot: 2008-04-06 12:17:34 Info: IMAP(phoebe): Disconnected: Logged out
 dovecot: 2008-04-06 12:17:55 Info: imap-login: Login: user=test,
 method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
 dovecot: 2008-04-06 12:17:55 Info: IMAP(test): Disconnected: Logged out
 dovecot: 2008-04-06 12:17:55 Info: imap-login: Login: user=test,
 method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
 dovecot: 2008-04-06 12:17:58 Info: IMAP(test): Disconnected: Logged out
 dovecot: 2008-04-06 12:18:58 Info: imap-login: Login: user=phoebe,
 method=plain, rip=192.168.1.101, lip=192.168.1.254, TLS
 dovecot: 2008-04-06 12:19:16 Info: IMAP(phoebe): Disconnected in IDLE




Re: [Dovecot] Broken Debian package

2008-04-05 Thread Asheesh Laroia

On Sun, 6 Apr 2008, Thing wrote:


So maybe dovecot.index.cache became corrupt?


Hmm!  Perhaps you should still upgrade, then.

-- Asheesh.

--
The last person who said that (God rest his soul) lived to regret it.