Re: [Dovecot] Homedir Access without exposing whole Homedir.

2007-10-20 Thread Dan Mahoney, System Admin
On Sun, 21 Oct 2007, Timo Sirainen wrote: On Wed, 2007-10-10 at 19:27 -0400, Dan Mahoney, System Admin wrote: What I thought would be useful for this is make the default namespace "", but set it hidden. Then define a secondary namespace (mail) and use that. Most clients don't use namespaces

Re: [Dovecot] Problems with dovecot 1.1b3

2007-10-20 Thread Adam McDougall
On Sun, Oct 21, 2007 at 01:44:26AM +0300, Timo Sirainen wrote: On Sat, 2007-10-20 at 17:15 -0400, Adam McDougall wrote: > This helps, thunderbird seems to act as I would expect with hidden=yes and > list=no: > > 8 list "" "mail/%" > * LIST (\HasNoChildren) "/" "mail/Deleted Items"

Re: [Dovecot] Search Problem (Was Namespace)

2007-10-20 Thread Timo Sirainen
On 21.10.2007, at 4.21, Jeff Grossman wrote: Timo Sirainen wrote: On 21.10.2007, at 3.58, Jeff Grossman wrote: 2 search since 6-Sep-2007 .. Oct 20 17:54:47 apple IMAP(jeff): : since: 1190593264 vs 2147483647 Oct 20 17:54:47 apple IMAP(jeff): : since: 1190829893 vs 2147483647 I guess utc_m

Re: [Dovecot] Search Problem (Was Namespace)

2007-10-20 Thread Jeff Grossman
Timo Sirainen wrote: On 21.10.2007, at 3.58, Jeff Grossman wrote: 2 search since 6-Sep-2007 .. Oct 20 17:54:47 apple IMAP(jeff): : since: 1190593264 vs 2147483647 Oct 20 17:54:47 apple IMAP(jeff): : since: 1190829893 vs 2147483647 I guess utc_mktime() doesn't work correctly for some reason.

Re: [Dovecot] Search Problem (Was Namespace)

2007-10-20 Thread Timo Sirainen
On 21.10.2007, at 3.58, Jeff Grossman wrote: 2 search since 6-Sep-2007 .. Oct 20 17:54:47 apple IMAP(jeff): : since: 1190593264 vs 2147483647 Oct 20 17:54:47 apple IMAP(jeff): : since: 1190829893 vs 2147483647 I guess utc_mktime() doesn't work correctly for some reason. What are TIME_T_MAX

Re: [Dovecot] Search Problem (Was Namespace)

2007-10-20 Thread Jeff Grossman
Timo Sirainen wrote: On Sat, 2007-10-20 at 17:08 -0700, Jeff Grossman wrote: 2 search since 6-Sep-2007 * SEARCH 2 OK Search completed. 3 fetch 1:* internaldate * 1 FETCH (INTERNALDATE "23-Sep-2007 17:21:04 -0700") .. Weird. Try the attached patch. What does it log? Okay, here is w

Re: [Dovecot] [Fwd: Re: Namespace Question]

2007-10-20 Thread Timo Sirainen
On Sat, 2007-10-20 at 17:08 -0700, Jeff Grossman wrote: > 2 search since 6-Sep-2007 > * SEARCH > 2 OK Search completed. > 3 fetch 1:* internaldate > * 1 FETCH (INTERNALDATE "23-Sep-2007 17:21:04 -0700") .. Weird. Try the attached patch. What does it log? diff -r 9e7bf6becfb4 src/lib-storage/index

Re: [Dovecot] v1.1 QUOTA and inbox quota

2007-10-20 Thread Timo Sirainen
On Mon, 2007-10-08 at 16:46 +0200, Kristian Vlahovicek wrote: > My mail agent is postfix and by default it imposes the INBOX size of 50 > meg. I would like my imap mail clients (I'm using Thunderbird) to "see" > this and warn me when my inbox fills up. I tried doing it with the old > quota system

Re: [Dovecot] [Fwd: Re: Namespace Question]

2007-10-20 Thread Jeff Grossman
Timo Sirainen wrote: On Tue, 2007-10-16 at 15:04 -0700, Jeff Grossman wrote: A6 NAMESPACE A7 SELECT "Inbox" A8 SEARCH SINCE 6-Sep-2007 .. Just FYI, the above problem is still not fixed with beta 3. Works with me: 1 search since 6-Sep-2007 * SEARCH 3 5 6 7 8 1 OK Search c

Re: [Dovecot] Error: net_connect(/var/run/dovecot/auth-master) failed: Resource temporarily unavailable

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-16 at 11:18 -0400, Maykel Moya wrote: > passdb pam { > } I think this is your main problem. Try: passdb pam { args = blocking=yes } > userdb passwd { > } Does this use /etc/passwd? I guess deliver could retry the connect a couple of times also before failing.. signa

Re: [Dovecot] Errata: dovecot + ldap + virtual mailbox: building mail location path

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-16 at 16:41 +0200, Claudio Strizzolo wrote: > mail_location = maildir:/mail/vmail/domains/%h .. > mail=user,userPassword=password,mailbox=userdb_home,mail=userdb_uid,mail > =userdb_mail mail_location isn't used because you override it with mail=userdb_mail here. Relative home dirs

Re: [Dovecot] Problem searching with thunderbird

2007-10-20 Thread Timo Sirainen
On Mon, 2007-10-08 at 12:29 +0200, Jon Essen-Moller wrote: > Unfortunately  I still can't search using thunderbird. I get no errors > in the log now but thunderbird doesn't find any messages. I have tried > updating the index (in thunderbird) but still no messages found. It worked > prior to updati

Re: [Dovecot] Incomplete Subject Line

2007-10-20 Thread Bernhard Schmidt
Hi, > > Reply-To: Doku-Ticket System <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED], > > [EMAIL PROTECTED] > > Subject: =?ISO-8859-1?B?SG9zdG1hc3RlcjogMDAwMDAxMDE5OiBOYW1lc2U=?= > > =?ISO-8859-1?B?cnZlcjogTmV1dmVyZ2FiZSBvZGVyIMRuZGVydW5n?= > > .. > > > To: [EMAIL PROTECTED], > > Subject: =?ISO-88

Re: [Dovecot] Incomplete Subject Line

2007-10-20 Thread Timo Sirainen
On Sun, 2007-10-21 at 01:25 +0200, Bernhard Schmidt wrote: > Reply-To: Doku-Ticket System <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], > [EMAIL PROTECTED] > Subject: =?ISO-8859-1?B?SG9zdG1hc3RlcjogMDAwMDAxMDE5OiBOYW1lc2U=?= > =?ISO-8859-1?B?cnZlcjogTmV1dmVyZ2FiZSBvZGVyIMRuZGVydW5n?= .. > To: [EMA

Re: [Dovecot] Imap new messages listing is very slow with big meilbox - why?

2007-10-20 Thread Timo Sirainen
On Sat, 2007-10-06 at 10:30 +0300, Mart Pirita wrote: > So I can log in and auth quick, I see that Inbox contains 30 000 > messages but then new messages listing (sorting the new messages from > whole messages without actual headers download) takes forever. > > Is this normal? How to speed it up

Re: [Dovecot] Incomplete Subject Line

2007-10-20 Thread Bernhard Schmidt
Hi, > > since upgrading from 1.0.5 to latest 1.1-hg I get an incomplete subject > > line for mails autogenerated by one of our systems in the message list > > (Thunderbird and mutt). When I open the mail the subject line is intact. > > > > It appears that the system is using multiline subjects. Ex

Re: [Dovecot] Migration Issues UW-POP3

2007-10-20 Thread Timo Sirainen
On Sun, 2007-10-07 at 23:23 -0400, Albert E. Whale wrote: > I never see the POP3 or Login messages any more. Can someone tell me > why? Is this not correctly working on my server yet? Set auth_verbose=yes signature.asc Description: This is a digitally signed message part

Re: [Dovecot] potential maildir folder rename bug

2007-10-20 Thread Timo Sirainen
On Mon, 2007-10-01 at 20:21 +0100, pod wrote: > 04 RENAME a a.b > 04 OK Rename completed. > 05 LIST "" * > * LIST (\HasNoChildren) "." "a.b.b" > * LIST (\HasNoChildren) "." "INBOX" > 05 OK List completed. .. > The following may or may not be an appropriate fix. Committed. signature.asc Descript

Re: [Dovecot] API problem (noob)

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-09 at 00:40 +0200, Lars Stavholm wrote: > static const char *const exclude_headers[] = { > "X-DSPAM-Signature" > } > strcpy(fname, mktemp(fname)); > fd = creat(fname, 0600); > mail_get_stream(mail, NULL, NULL, &input); > output = o_stream_create_fd_file(fd, 0, TRUE);

Re: [Dovecot] Mailformat

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-09 at 08:53 +0200, Jon Essen-Moller wrote: > Hi, > > When saving a message as draft from Thunderbird and later opens it with > squrrelmail i get all the html code. Also do mails from Google calander > and som others give a warning (in Squirrelmail) that they ar badly > formated) >

Re: [Dovecot] Better flagging of errors on logs?

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-09 at 10:18 -0400, Francisco Reyes wrote: > Last night dovecot died because of time changed backward. > I noticed that the line from dovecot read > > Oct 9 01:00:44 mailstore16 dovecot: Time just moved backwards by 132 > seconds. This might cause a lot of problems, so I'll just

Re: [Dovecot] Dovecot raw backtrace when copying to folder

2007-10-20 Thread Timo Sirainen
On Sat, 2007-10-06 at 14:27 +0200, Bernd Kuhls wrote: > But now my syslog is filled with this once every 10 minutes: > > > Oct 6 14:11:42 server inetd[16124]: pop3s/tcp: bind: Address already in use > > Oct 6 14:11:42 server inetd[16124]: pop3/tcp: bind: Address already in use > > Oct 6 14:11:4

Re: [Dovecot] User database ldap lookups and sasl

2007-10-20 Thread Timo Sirainen
On Fri, 2007-10-05 at 22:17 +0200, olivier castan wrote: > Since usually kerberosv5 cache is based on the user id ( /tmp/krb5cc_0 > for root) there's an option in ldap.conf (krb5_ccname) to set the > filename (/etc/.ldapcache in nss_ldap tutorials) for this cache. > Is there any way to do this with

Re: [Dovecot] Howto make deleted itens visible to users?

2007-10-20 Thread Timo Sirainen
On Mon, 2007-09-24 at 15:07 -0300, "Fábio M. Catunda" wrote: > So why do I need 3 different folders for lazy_expunge? I realy prefer to > send all messages and folders (deleted or expunged) to the same folder, > is that possible? Well, looks like it's possible to have all of the 3 point to same

Re: [Dovecot] Problems with dovecot 1.1b3

2007-10-20 Thread Timo Sirainen
On Sat, 2007-10-20 at 17:15 -0400, Adam McDougall wrote: > This helps, thunderbird seems to act as I would expect with hidden=yes and > list=no: > > 8 list "" "mail/%" > * LIST (\HasNoChildren) "/" "mail/Deleted Items" Right. > but mutt cannot access mail/ when I ask it to: > > set folder={lo

Re: [Dovecot] Mail client kill imap-login process

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-09 at 11:25 +0800, dovecot acc wrote: > Hi, > In my env we have quite a number of old PC which are running windows95. I > have installed the thunderbird > and outlook97 with the right configuration to dovecot. Everytime I starts > the mail client it shows the following, > dovecot

Re: [Dovecot] imap process consuming 100% CPU (Dovecot 1.0.3)

2007-10-20 Thread Timo Sirainen
On Wed, 2007-10-10 at 10:50 -0600, Jackie Hunt wrote: > Attached is the truss for the imap process we are seeing which is > chewing up CPU. We've seen this issue on several different clients, > usually first thing in the morning. Shutting down the client and > restarting always seems to get Dovec

Re: [Dovecot] Homedir Access without exposing whole Homedir.

2007-10-20 Thread Timo Sirainen
On Wed, 2007-10-10 at 19:27 -0400, Dan Mahoney, System Admin wrote: > What I thought would be useful for this is make the default namespace "", > but set it hidden. Then define a secondary namespace (mail) and use that. Most clients don't use namespaces at all, so having a hidden "" namespace i

Re: [Dovecot] Disconnects in log

2007-10-20 Thread Timo Sirainen
On Thu, 2007-10-11 at 14:43 -0600, Jackie Hunt wrote: > Hi all, > > I need some help interpreting the info I'm seeing in the dovecot logs. > I have a user using Outlook who is having connectively problems. What Dovecot version? > Below > is a sample of what the Dovecot log is showing. Can any

Re: [Dovecot] verbose_proctitle for proxy processes?

2007-10-20 Thread Timo Sirainen
On Fri, 2007-10-12 at 21:27 +0200, Onno Molenkamp wrote: > Hi, > > We're using Dovecot to proxy incoming POP3 and IMAP connections to the right > server. We'd like to be able to see what connections are currently open on > the proxy servers, without having the parse the log file. > > For norma

[Dovecot] Best version for production systems?

2007-10-20 Thread Mitch Pirtle
Hi dovecotters, I have a system running 1.0rc1 right now and am having problems (more on that later). I know that 1.0.5 is "current" but I'm running Debian Stable (Etch) and have reservations of upgrading until nothing works anymore ;-) Do I really need to make the upgrade to 1.0.5, and if so can

Re: [Dovecot] Spliting Folders for Efficiency

2007-10-20 Thread Timo Sirainen
On Thu, 2007-10-11 at 10:00 +0100, Daniel Watts wrote: > .Folder__1.new > .Folder__1.cur > .Folder__1.tmp > and > .Folder__2.new > .Folder__2.cur > .Folder__2.tmp > > with Dovecot merging them before display as just "Folder" within the > mail client. Virtual folders would enable this, if they'r

Re: [Dovecot] Problems with dovecot 1.1b3

2007-10-20 Thread Adam McDougall
On Sat, Oct 20, 2007 at 11:01:03PM +0300, Timo Sirainen wrote: On Wed, 2007-10-17 at 20:05 -0400, Adam McDougall wrote: > The first thing I did was to try to update my dovecot.conf from 1.0 to work with > 1.1. When I started dovecot 1.1 for the first time, I noticed it was listening to

Re: [Dovecot] receive date wrong in outlook

2007-10-20 Thread Timo Sirainen
On Sun, 2007-10-14 at 11:53 +0200, Farkas Levente wrote: > hi, > we migrate from exchange to dovecot. we do it with imapsync. first we > try to do it with --syncinternaldates, but this fails on many messages > with invalid date, so we drop this option. unfortunately after this > those users who use

Re: [Dovecot] auth-ldap not resetting connection state after failed bind

2007-10-20 Thread Timo Sirainen
On Mon, 2007-10-15 at 15:32 -0400, Brendan Braybrook wrote: > i believe i tracked it down to a couple lines in db_ldap_bind and fixed > it - dovecot-auth is reconnecting to ldap in the condition where it was > not previously: Thanks. http://hg.dovecot.org/dovecot-1.0/rev/8dcc215fbc06 signatu

Re: [Dovecot] Suggested IMAP Directory Size..

2007-10-20 Thread Timo Sirainen
On Mon, 2007-10-15 at 17:52 +0200, Ilo Lorusso wrote: > Hi, > > ive walked into a enviroment where the previous admin has being using pop > and making the email clients leaving a copy of the mail on the workstation.. > > Now overtime these mailboxes (mbox format) have grown between 1,5 to 1,8

Re: [Dovecot] Incomplete Subject Line

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-16 at 11:19 +0200, Bernhard Schmidt wrote: > Hi, > > since upgrading from 1.0.5 to latest 1.1-hg I get an incomplete subject > line for mails autogenerated by one of our systems in the message list > (Thunderbird and mutt). When I open the mail the subject line is intact. > > It a

Re: [Dovecot] Multiple server sections for SSL

2007-10-20 Thread Timo Sirainen
On Thu, 2007-10-11 at 14:18 +0200, Wolfram Schlich wrote: > Hi, > > I would like to achieve the following with my dovecot server: > > - listen von FQDN 'mail.foo.example.com'/IP 'A' for imaps and pop3s > with an SSL certificate for 'mail.foo.example.com' > > - listen von FQDN 'mail.bar.example

Re: [Dovecot] [Fwd: Re: Namespace Question]

2007-10-20 Thread Timo Sirainen
On Tue, 2007-10-16 at 15:04 -0700, Jeff Grossman wrote: > >> A6 NAMESPACE > >> A7 SELECT "Inbox" > >> A8 SEARCH SINCE 6-Sep-2007 .. > Just FYI, the above problem is still not fixed with beta 3. Works with me: 1 search since 6-Sep-2007 * SEARCH 3 5 6 7 8 1 OK Search completed. 2 fetch 1:* internal

Re: [Dovecot] Per-user quota (with local users)

2007-10-20 Thread Timo Sirainen
On Wed, 2007-10-17 at 19:57 -0400, Maykel Moya wrote: > userdb passwd { > } .. > My quota configuration is > -- > plugin { > quota = maildir:storage=10240:ignore=Trash > } > -- > > I have some users with particular quotas. With LDAP lookups, there is no > problem, in those cases I simply put

Re: [Dovecot] dovecot and imap session forwarding

2007-10-20 Thread Timo Sirainen
On Wed, 2007-10-17 at 23:22 +0300, Omer Faruk SEN wrote: > Hi, > > I was trying to install a qmail-ldap cluster. I have successfully setup > dovecot to authenticate against ldap directory. But what I need is to enable > imap session forwarding for qmail-ldap. > > For example when a user connec

Re: [Dovecot] thunderbird and email duplication

2007-10-20 Thread Timo Sirainen
On Wed, 2007-10-17 at 13:07 +0100, Alexander Banthien wrote: > But suddenly I realised, that incoming emails are replicating > themselves. This seems only to happen when connected with Thunderbird. I > am also using Squirrelmail and KMail as clients which don't seem to show > the behaviour. I'm

Re: [Dovecot] how to deliver when username and email differ

2007-10-20 Thread Timo Sirainen
On Sat, 2007-10-20 at 09:42 -0400, Cory Coager wrote: > I have an Active Directory virtual setup and am using LDA to deliver to > local recipients. Today I found a big problem with my configuration and > not sure if this is fixable. Some of the users have multiple email > addresses and the %n va

Re: [Dovecot] Problems with dovecot 1.1b3

2007-10-20 Thread Timo Sirainen
On Wed, 2007-10-17 at 20:05 -0400, Adam McDougall wrote: > The first thing I did was to try to update my dovecot.conf from 1.0 to work > with > 1.1. When I started dovecot 1.1 for the first time, I noticed it was > listening to > 143 but not 993, even though my config was designed for ssl/tls in

Re: [Dovecot] Dovecot v1.0.3 -> Sieve "redirect" command returning Sendmail exit status 75

2007-10-20 Thread Timo Sirainen
On Thu, 2007-10-18 at 22:45 -0400, Elisamuel Resto wrote: > Hello! > > My local setup here is Exim 4.68, DSPAM 3.8.0 and Dovecot 1.0.5. Entirely > on MySQL tables for virtual hosts and authentication. Dovecot does the > authentication for Exim. > > What I am having problems with, is a simple sie

Re: [Dovecot] Problem with bodystructure/partial fetch using 1.1*

2007-10-20 Thread Timo Sirainen
On Fri, 2007-10-19 at 09:46 +0200, [EMAIL PROTECTED] wrote: > I somehow solved this compiling with gmake instead of make. > I think it's related to libiconv and not to Dovecot. I don't think iconv matters there. Beta2 parsed messages wrong while saving them, so maybe the problem was broken data in

Re: [Dovecot] graceful failure when some folders are not available...

2007-10-20 Thread Timo Sirainen
On Mon, 2007-10-08 at 16:39 -0500, Steven F Siirila wrote: > And in fact your tests (below) reproduced this. The problem with this is > that if even one file or directory within the user's IMAP folder space is > currently unavailable (due to an NFS server being down), the user cannot > log in at a

Re: [Dovecot] more problems with dovecot-1.1 beta3

2007-10-20 Thread Timo Sirainen
On Thu, 2007-10-18 at 15:16 -0400, Sergey wrote: > Thank you for pointing me about -xc99 flag, I have compiled and > installed dovecot inplace of version 1.0.5 without any special actions > on the upgrade. And after starting it immediately got in it's log file > messages like: > --- > dovecot: Oct

Re: [Dovecot] In 1.1.beta3, COPY cmd results in msg with Content-length: 0 and no text

2007-10-20 Thread Timo Sirainen
On Fri, 2007-10-19 at 22:08 -0700, Eric Weaver wrote: > I run Thunderbird with message filters that sort mail into other > folders, and this has killed me for the day. > > COPY commands (and I have verified this with a manual test) result in > the message headers coming out correct but the body

[Dovecot] how to deliver when username and email differ

2007-10-20 Thread Cory Coager
I have an Active Directory virtual setup and am using LDA to deliver to local recipients. Today I found a big problem with my configuration and not sure if this is fixable. Some of the users have multiple email addresses and the %n variable for user doesn't match their actual username. So if I h