Re: [Dovecot] Dovecot dying when deliver is called

2008-05-14 Thread Timo Sirainen
On Thu, 2008-05-15 at 08:52 +0200, MyGoddess wrote: > Thank you. > > The logfiles are created with permissions to root:root and 600 by dovecot. > As deliver can't acces them, do I have to change the permissions ? And to > what ? http://wiki.dovecot.org/LDA#logging gives some suggestions. signa

Re: [Dovecot] Dovecot dying when deliver is called

2008-05-14 Thread MyGoddess
Thank you. The logfiles are created with permissions to root:root and 600 by dovecot. As deliver can't acces them, do I have to change the permissions ? And to what ? I figured out a little thing: There was a specific log file for deliver into which it says it can't open the other logs. That's wh

Re: [Dovecot] mysql index control allow nets

2008-05-14 Thread Timo Sirainen
On Wed, 2008-05-14 at 21:01 +0300, Evaggelos Balaskas wrote: > I am trying to have the same configuration with dovecot 1.1 and MySQL. > According to log files when a virtual user is connecting to dovecot, > the dovecot reads from MySQL the correct values but dovecot doesnt > create the dirs for IN

Re: [Dovecot] Disconnected: BUG internal error

2008-05-14 Thread Timo Sirainen
On Thu, 2008-05-08 at 13:07 +0100, Ainsley Pereira wrote: > I'm seeing some messages from dovecot in my logs such as: > May 8 11:43:41 snowdrift dovecot: IMAP(username): Disconnected: BUG: Unknown > internal error Maybe upgrading to 1.0.13 fixes this? At least it fixed for another guy: http://do

Re: [Dovecot] Mixed maildir and mbox folder

2008-05-14 Thread Timo Sirainen
On Wed, 2008-05-07 at 22:13 +0200, Stefan Klatt wrote: > namespace: > type: private > separator: / > location: mbox:/srv/imapd/user/%u/Spam I guess the Spam is a mbox file? You can't create a location to point only to a single mailbox. Rather you might want to use something like: namespace

Re: [Dovecot] unix style mbox and vmain maildir on the same server

2008-05-14 Thread Timo Sirainen
On Thu, 2008-05-15 at 08:56 +0300, Timo Sirainen wrote: > On Fri, 2008-05-09 at 22:30 -0500, Glen Lee Edwards wrote: > > I'm new to dovecott. Using version 1.0.rc15. > > > > I have a mail server that has both the old style unix mbox > > in /var/mail/%u, and virtual mail maildir in /var/vmail/%d/%

Re: [Dovecot] unix style mbox and vmain maildir on the same server

2008-05-14 Thread Timo Sirainen
On Fri, 2008-05-09 at 22:30 -0500, Glen Lee Edwards wrote: > I'm new to dovecott. Using version 1.0.rc15. > > I have a mail server that has both the old style unix mbox > in /var/mail/%u, and virtual mail maildir in /var/vmail/%d/%n. Debian > Linux Etch stable. I'm trying to get dovecot to deli

Re: [Dovecot] Dovecot immediate logout (imap4)

2008-05-14 Thread Timo Sirainen
On Thu, 2008-05-15 at 09:49 +0400, Дмитрий Бригадиров wrote: > I clicked 5 folders in Thunderbird and got 5 login attempts: .. > This creates 10 rawlog files (5 ins + 5 outs), each ending with IDLE > command. (I've attached these files just in case). > Is it nornal, that client makes 5 connections

Re: [Dovecot] Wrong message information

2008-05-14 Thread Timo Sirainen
On Sun, 2008-05-11 at 01:57 +0200, Anders wrote: > Timo Sirainen wrote: > > > Does procmail deliver the mails correctly, i.e. first writes to tmp/ > > directory and then links (or renames) to new/ directory? (You're really > > using maildir format, not MH format where filenames begin with "msg."?)

Re: [Dovecot] Dovecot immediate logout (imap4)

2008-05-14 Thread Дмитрий Бригадиров
2008/5/14 Timo Sirainen <[EMAIL PROTECTED]> wrote: > What client? > > "Logged out" means the client issued a LOGOUT command. Seems like your > client just behaves that way. > > Most webmails behave like that. > It was roundcube, right. Checked rawlogs - client really issues logout command. > It do

Re: [Dovecot] missing slash when concatenating strings from userdb static?

2008-05-14 Thread Timo Sirainen
On Tue, 2008-05-13 at 19:47 +0300, Elod wrote: >userdb: > driver: static > args: uid=email gid=nogroup home=/%d/%n > > > It finds mails with "/%d/%n" but not with "%d/%n". > > At another site I have the same version, but with an SQL backend. That > one works beautifully with relat

Re: [Dovecot] Allow_nets + MySQL failing when using range notation

2008-05-14 Thread Timo Sirainen
On Wed, 2008-05-14 at 18:32 +0200, Javier García wrote: > Hello, > > Just a couple of lines to definitely confirm that the issue is present > *only* on the sparc version of Debian while on a box equipped with an > Intel Pentium processor everything works as expected. > Thanks a lot for your supp

Re: [Dovecot] Dovecot dying when deliver is called

2008-05-14 Thread Timo Sirainen
On Wed, 2008-05-14 at 20:38 +0200, MyGoddess wrote: > > <[EMAIL PROTECTED]>: Command died with status 80: > "/usr/lib/dovecot/deliver" 80 means it failed to open the log file for writing. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] homedir override problem, MS AD + WINBIND + PAM + SIEVE

2008-05-14 Thread Timo Sirainen
On Wed, 2008-05-14 at 13:06 +0200, Milan Koudelka - Internet Mall wrote: > I tried to override home directory by set this: > > userdb passwd { > args = home=/var/spool/mail/%n > } What Dovecot version? This works only with v1.1. Also it'd be better if home directory wasn't the same as mail dir

Re: [Dovecot] Dovecot crash in 1.0.9

2008-05-14 Thread Timo Sirainen
On Wed, 2008-05-14 at 12:29 +0200, Peter Eriksson wrote: > May 14 11:46:51 ifm.liu.se dovecot: [ID 107833 mail.error] IMAP(joher): > file maildir-uidlist.c: line 143: assertion failed: (UIDLIS > T_IS_LOCKED(uidlist)) If this still hapens with 1.0.13, it would help to get a gdb backtrace. http://d

Re: [Dovecot] Automounted home dirs not working

2008-05-14 Thread Timo Sirainen
On May 14, 2008, at 11:52 PM, Roy McMorran wrote: There must be some sort of race condition happening here with automount. I modified the code in mail-process.c to repeat the chdir (until CHDIR_TIMEOUT) until it succeeds, and it usually succeeds on the 2nd try. But it never succeeds on f

Re: [Dovecot] Time moved backwards

2008-05-14 Thread Bill Cole
At 10:20 PM +0400 5/14/08, Eugene wrote: Hi people, From: Adam McDougall <[EMAIL PROTECTED]> I would just like to mention a circumstance that happened to me this Sunday. We had a total power outage in our building, longer than our UPS's could last and we don't have a generator for servers (nor

Re: [Dovecot] Automounted home dirs not working

2008-05-14 Thread Roy McMorran
Timo Sirainen wrote: On Mon, 2008-05-12 at 10:46 -0400, Roy McMorran wrote: ... but Dovecot isn't picking up the automounted directories. Consider the case of Arthur Dent, test user: May 12 10:30:24 testbed dovecot: [ID 107833 mail.info] imap-login: Login: user=, method=PLAIN, rip=xxx.xx

[Dovecot] Dovecot dying when deliver is called

2008-05-14 Thread MyGoddess
Hello, I run a debian etch server with the mail services configured like their: http://workaround.org/articles/ispmail-etch/ It worked during month but of the last upgrade it doesn't work anymore when postfix calls deliver. dovecot version is 1.0.rc15. I don't remember which was the previous ve

Re: [Dovecot] Dovecot immediate logout (imap4)

2008-05-14 Thread Timo Sirainen
On May 14, 2008, at 5:38 PM, Дмитрий Бригадиров wrote: I've experienced with automatic client logout (probably after IDLE command sent by a client). What client? May 14 18:26:37 athlon dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out "Logged out" means the client issued a LOGOUT

Re: [Dovecot] Time moved backwards

2008-05-14 Thread Eugene
Hi people, From: Adam McDougall <[EMAIL PROTECTED]> I would just like to mention a circumstance that happened to me this Sunday. We had a total power outage in our building, longer than our UPS's could last and we don't have a generator for servers (nor is it economical or needed). When the po

[Dovecot] mysql index control allow nets

2008-05-14 Thread Evaggelos Balaskas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, I am using dovecot 1.0.13 with sieve plugin, index, control and allow nets in my userdb per user. I am trying to have the same configuration with dovecot 1.1 and MySQL. According to log files when a virtual user is connecting to dovecot, the dove

Re: [Dovecot] Allow_nets + MySQL failing when using range notation

2008-05-14 Thread Javier García
Hello, Just a couple of lines to definitely confirm that the issue is present *only* on the sparc version of Debian while on a box equipped with an Intel Pentium processor everything works as expected. Thanks a lot for your support. Javier Javier García escribió: x86, mmm..., in fact, I am

Re: [Dovecot] Dovecot immediate logout (imap4)

2008-05-14 Thread Charles Marcus
On 5/14/2008, <[EMAIL PROTECTED] [EMAIL PROTECTED]@>2 ([EMAIL PROTECTED]) wrote: > verbose_ssl: yes > verbose_proctitle: yes Well, turn off verbose logging then... ;) -- Best regards, Charles

[Dovecot] Dovecot immediate logout (imap4)

2008-05-14 Thread Дмитрий Бригадиров
I've experienced with automatic client logout (probably after IDLE command sent by a client). I simply run any imap4 client and get this in mail.log: May 14 18:26:37 athlon dovecot: imap-login: Login: user=<[EMAIL PROTECTED]>, method=PLAIN, rip=192.168.0.3, lip=192.168.0.3, secured May 14 18:26:3

[Dovecot] homedir override problem, MS AD + WINBIND + PAM + SIEVE

2008-05-14 Thread Milan Koudelka - Internet Mall
Hello, i installed my Dovecot with authetification in MS AD throught WINBIND and PAM. Works fine. So I have virtual users with UID, GID from MS AD. I set maildir path as mail_location = maildir:/var/spool/mail/%n/ Then i want to make some vacation system. I install sieve and use dovecot LDA.

Re: [Dovecot] Dovecot crash in 1.0.9

2008-05-14 Thread Charles Marcus
On 5/14/2008, Peter Eriksson ([EMAIL PROTECTED]) wrote: > I hope the performance is better since 1.0's performance (on our system) > is really bad (so bad that some of my users have been complaining since > it feels more sluggish than the older UW-Imap-based system (which > granted had it mail spoo

Re: [Dovecot] Dovecot crash in 1.0.9

2008-05-14 Thread Peter Eriksson
Charles Marcus wrote: > On 5/14/2008, Peter Eriksson ([EMAIL PROTECTED]) wrote: >>> Also, output of dovecot -n, and more platform details (ie, are you using >>> NFS?) will make it easier for someone (else) to help... > >> NFS: Yes. > > Ok, then dovecot -n output may be necessary... there are so

Re: [Dovecot] Dovecot crash in 1.0.9

2008-05-14 Thread Charles Marcus
On 5/14/2008, Peter Eriksson ([EMAIL PROTECTED]) wrote: >> Also, output of dovecot -n, and more platform details (ie, are you using >> NFS?) will make it easier for someone (else) to help... > NFS: Yes. Ok, then dovecot -n output may be necessary... there are some issues with NFS on the 1.0.x ver

Re: [Dovecot] Dovecot crash in 1.0.9

2008-05-14 Thread Peter Eriksson
Charles Marcus wrote: > On 5/14/2008, Peter Eriksson ([EMAIL PROTECTED]) wrote: >> Any good ideas on how to pin-point the problem? > > If memory serves, some of these were fixed in recent versions... upgrade > to 1.0.13 (or maybe even 1.1rc5) and see if that fixes it... Hmm..? I thought I had i

Re: [Dovecot] Dovecot crash in 1.0.9

2008-05-14 Thread Charles Marcus
On 5/14/2008, Peter Eriksson ([EMAIL PROTECTED]) wrote: > Any good ideas on how to pin-point the problem? If memory serves, some of these were fixed in recent versions... upgrade to 1.0.13 (or maybe even 1.1rc5) and see if that fixes it... Also, output of dovecot -n, and more platform details (ie

Re: [Dovecot] deliver exits with status 89 on some but not all mails of a batch

2008-05-14 Thread Charles Marcus
On 5/14/2008, Patrick Nagel ([EMAIL PROTECTED]) wrote: > Back to my problem: I overlooked some pretty important information in the > logs: > > write_full(/tmp/dovecot.deliver) failed: No space left on device Heh... yeah, logs, gotta love 'em... ;) Glad you got it sorted. I would highly rec

[Dovecot] Dovecot crash in 1.0.9

2008-05-14 Thread Peter Eriksson
I've been having a problem with a crashing Dovecot the last couple of months where it crashes after a couple of weeks of uptime. Been a bit difficult to diagnose. Anyway, we're now running 1.0.9 on a Sun Fire T1000 running Solaris 10. Any good ideas on how to pin-point the problem? - Peter Here

Re: [Dovecot] need help

2008-05-14 Thread Gabriele Fergola
i solve the problem. the solution is set --syncinternaldates to imapsync and all goes well. Thank you very much Timo for your answer workino On Tue, May 13, 2008 at 7:40 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On May 13, 2008, at 6:17 PM, Gabriele Fergola wrote: > > I tried to migrate fr