Re: [Dovecot] Maildir Skeleton

2007-08-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 8 Aug 2007, Sebastian Ganschow wrote: deliver([EMAIL PROTECTED]): Aug 08 23:22:58 Info: cmusieve: Using sieve path: /var/vmail/[EMAIL PROTECTED]//.dovecot.sieve deliver([EMAIL PROTECTED]): Aug 08 23:22:58 Info: cmusieve: Executing script

Re: [Dovecot] lda: vacation auto-reply for a virtual address

2007-08-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 8 Aug 2007, martin f krafft wrote: As a long-time Debian user, I'd really rather not patch anything. :) Um, I couldn't stand this policy while waiting for Sarge. But yes, if dovecot's LDA would honour something like .forward files, I'd

[Dovecot] Mails causing imap process to hang.

2007-08-09 Thread Tan Shao Yi
Hi Timo, We are getting e-mails from a certain domain that seem to cause the IMAP process to hang. Here's how it looks like if we issued a FETCH 40 FULL: * 40 FETCH (FLAGS (\Seen) INTERNALDATE 09-Aug-2007 11:50:44 +0800 RFC822.SIZE 803392 ENVELOPE (Thu, 09 Aug 2007 11:09:09 +0800 (CST)

Re: [Dovecot] Maildir Skeleton

2007-08-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Aug 2007, Sebastian Ganschow wrote: But if the user creates his own rules, he also needs to create the spam rule. Otherwise his spam won't be delivered to the spam folder. I'm not really sure, if this is the solution i'd like to have.

Re: [Dovecot] Authentication problem - or is it?

2007-08-09 Thread Anne Wilson
On Wednesday 08 Aug 2007, you wrote: On Wed, 2007-08-08 at 21:19 +0100, Anne Wilson wrote: On Wednesday 08 Aug 2007, you wrote: On Wed, 2007-08-08 at 19:45 +0100, Anne Wilson wrote: dovecot: Aug 08 18:50:11 Error: IMAP(anne): Ambiguous mail location setting, don't know what to do

Re: [Dovecot] Maildir Skeleton

2007-08-09 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastian Ganschow schrieb: Steffen Kaiser schrieb: Dovecot-LDA is using _one_ script, when there is an user Sieve script, the global one is _not_ used. Okay now it works. But if the user creates his own rules, he also needs to create the

Re: [Dovecot] v1.1.alpha2 released

2007-08-09 Thread Daniel Watts
Timo Sirainen wrote: http://dovecot.org/releases/1.1/alpha/dovecot-1.1.alpha2.tar.gz http://dovecot.org/releases/1.1/alpha/dovecot-1.1.alpha2.tar.gz.sig Hopefully the next release can be v1.1.beta1. I'm not aware of any major problems and I think I'm pretty much done with new features (except

Re: [Dovecot] Authentication problem - or is it?

2007-08-09 Thread Anne Wilson
On Wednesday 08 Aug 2007, you wrote: On Wednesday 08 Aug 2007, you wrote: On Wed, 2007-08-08 at 21:19 +0100, Anne Wilson wrote: On Wednesday 08 Aug 2007, you wrote: On Wed, 2007-08-08 at 19:45 +0100, Anne Wilson wrote: dovecot: Aug 08 18:50:11 Error: IMAP(anne): Ambiguous mail

Re: [Dovecot] Maildir Skeleton

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 10:01 +0200, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Aug 2007, Sebastian Ganschow wrote: But if the user creates his own rules, he also needs to create the spam rule. Otherwise his spam won't be delivered to the spam folder.

Re: [Dovecot] UIDL match from 0.99.13 to 1.0-1.2

2007-08-09 Thread Timo Sirainen
On Wed, 2007-08-08 at 16:32 -0500, Daniel Davidson wrote: I am moving from and old FC2 system to a new RHEL5 system and am having trouble getting the UIDLs to move over right, mainly the UID. I copy over the mailbox, and see the x-uid in the message is what it was on the old server, but when

Re: [Dovecot] NFS rquota support

2007-08-09 Thread Nicolas STRANSKY
Le 07.08.2007 18:05, Mike Brudenell a écrit : 0. Apply the patches. 1. cd to the top level of the distribution directory tree (above src) 2. Run: autoconf 3. Run: autoheader 4. Run: automake 5. Run: configure 6. Compile Thanks, this seems to work at last ! But unfortunately, I get

Re: [Dovecot] Mails causing imap process to hang.

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 15:55 +0800, Tan Shao Yi wrote: We are getting e-mails from a certain domain that seem to cause the IMAP process to hang. .. sendfilev64(1, 1, 0xFFBFF2C0, 1, 0xFFBFF2B4)Err#11 EAGAIN fstat64(10, 0x000CB208) = 0 sendfilev64(1, 1, 0xFFBFF4A0,

Re: [Dovecot] Maildir Skeleton

2007-08-09 Thread Sebastian Ganschow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen schrieb: The new Sieve supports include feature, so it should be somewhat easy to support automatic includes. I think. Will this support be included in dovecot 1.1? Sebastian - -- Sebastian Ganschow Königsberger Str. 17 45770 Marl

Re: [Dovecot] Mails causing imap process to hang.

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 13:03 +0300, Timo Sirainen wrote: On Thu, 2007-08-09 at 15:55 +0800, Tan Shao Yi wrote: We are getting e-mails from a certain domain that seem to cause the IMAP process to hang. .. sendfilev64(1, 1, 0xFFBFF2C0, 1, 0xFFBFF2B4)Err#11 EAGAIN fstat64(10,

Re: [Dovecot] lda: vacation auto-reply for a virtual address

2007-08-09 Thread martin f krafft
also sprach Joseba Torre [EMAIL PROTECTED] [2007.08.09.1251 +0200]: As long as nothing depends on whatever you patch, you can do it with no problem. And I don't think that anything depends on dovecot. You just won't get security updates anymore. -- martin; (greetings from the

Re: [Dovecot] lda: vacation auto-reply for a virtual address

2007-08-09 Thread martin f krafft
also sprach Steffen Kaiser [EMAIL PROTECTED] [2007.08.09.0902 +0200]: Sendmail uses different mailers (exim calls them transports, if I remember correctly) for the two different maildrops, scripts are invoked by the virtual *prog* mailer, whereas the spooling into a local mailbox is performed

Re: [Dovecot] Maildir Skeleton

2007-08-09 Thread Greg
Le jeudi 09 août 2007 09:47, Sebastian Ganschow a écrit : But if the user creates his own rules, he also needs to create the spam rule. Otherwise his spam won't be delivered to the spam folder. I'm not really sure, if this is the solution i'd like to have. Why not include a default sieve

Re: [Dovecot] Bug in Exim-Dovecot auth

2007-08-09 Thread Timo Sirainen
On Fri, 2007-07-27 at 13:47 +0200, Chris Laif wrote: Hi. I'm using SMTP auth with Exim authenticating against Dovecot's auth socket. My (excellent) SMTP test tool swaks (http://jetmore.org/john/code/#swaks) tries multiple auth mechanismus consecutively which leads to the following message

Re: [Dovecot] Outlook 2000/2003 frequent disconnect issue

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-02 at 12:50 -0700, Jeff Ramsey wrote: On Aug 1, 2007, at 12:10 PM, Timo Sirainen wrote: On Wed, 2007-08-01 at 12:05 -0700, Jeff Ramsey wrote: Aug 1 11:58:51 imap dovecot: auth(default): passwd(QUINAULT- ileneyoung,:::10.200.254.110): lookup Aug 1 11:58:51 imap

Re: [Dovecot] Shared folder hierarchies, multiple groups

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-02 at 10:12 -0400, Benjamin R. Haskell wrote: I'm trying to set up two shared folder hierarchies on my Dovecot installation for two groups of employees, all of whom should only have access to their own hierarchy. Any employee should be able to create sub-folders and

Re: [Dovecot] dovecot-sieve vacation changes

2007-08-09 Thread Timo Sirainen
On Tue, 2007-08-07 at 22:47 +0100, pod wrote: I'd like to put forward the following patch for dovecot-sieve. Thanks, committed. and Resent-BCC fields. Note that the appended patch also includes a fix for some missing parentheses in the resent-to test which resulted in some extra

Re: [Dovecot] dovecot-sieve vacation changes

2007-08-09 Thread Tomas Janousek
Hi, On Thu, Aug 09, 2007 at 03:23:38PM +0300, Timo Sirainen wrote: The fix has been sent to [EMAIL PROTECTED] I've tried to send some of my own changes and minor fixes a few times already but no-one's ever answered. Maybe I should try once more. The cyrus-bugs is (or at least seems to be)

Re: [Dovecot] NFS rquota support

2007-08-09 Thread Nicolas STRANSKY
Le 09.08.2007 12:45, Timo Sirainen a écrit : Aug 7 19:34:36 rouge dovecot: IMAP(stransky): quota-fs: remote rquota call failed: RPC: Authentication error Did you include http://hg.dovecot.org/dovecot/rev/0f6d4f8dd587 You are right, this was not included, thanks ! Now I have included this

[Dovecot] courier-dovecot-migrate.pl destroyed my indices... still recovering...

2007-08-09 Thread Ralf Hildebrandt
I tried to disable courier-pop3 today in favour of dovecot pop3. Prior to that I ran: find /home -maxdepth 1 -type d | xargs --replace /usr/local/scripts/courier-dovecot-migrate.pl --overwrite --recursive --convert {} ( /home is hashed two levels deep: /home/a/a/aanton/Maildir/ ) After that,

Re: [Dovecot] Version 1.1 Alpha 2 Various Stuff

2007-08-09 Thread Timo Sirainen
On Wed, 2007-08-08 at 17:36 -0400, Jerry Yeager wrote: dovecot: imap-login: Maximum number of connections exceeded: user=username, method=PLAIN, rip=192.168.1.1, lip=192.168.1.50, TLS mail_max_userip_connections limit causes this. I guess I'll have to change the error message, because even I

Re: [Dovecot] courier-dovecot-migrate.pl destroyed my indices... still recovering...

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 15:19 +0200, Ralf Hildebrandt wrote: I tried to disable courier-pop3 today in favour of dovecot pop3. Prior to that I ran: find /home -maxdepth 1 -type d | xargs --replace /usr/local/scripts/courier-dovecot-migrate.pl --overwrite --recursive --convert {} ( /home

Re: [Dovecot] courier-dovecot-migrate.pl destroyed my indices... still recovering...

2007-08-09 Thread Ralf Hildebrandt
* Timo Sirainen [EMAIL PROTECTED]: If you had run Dovecot as IMAP server, then it wasn't such a great idea to run the migration, because it recreates dovecot-uidlist files trying to make them compatible with Courier's POP3 uidlist file. Oops. Creating dovecot-uidlist then caused the

Re: [Dovecot] courier-dovecot-migrate.pl destroyed my indices... still recovering...

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 15:35 +0200, Ralf Hildebrandt wrote: Creating dovecot-uidlist then caused the UIDVALIDITY to change, which causes IMAP clients to redownload all messages, and as you can see Dovecot doesn't handle UIDVALIDITY changes all that nicely. v1.1 does a better job with it

Re: [Dovecot] courier-dovecot-migrate.pl destroyed my indices... still recovering...

2007-08-09 Thread Ralf Hildebrandt
* Timo Sirainen [EMAIL PROTECTED]: Well, what you just did probably did that. It just caused IMAP users to download the mails again, but that's more transparent to users because it doesn't create duplicates. OK I did think about adding the possibility of storing POP3 UIDLs to a separate

Re: [Dovecot] UIDL match from 0.99.13 to 1.0-1.2

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 08:43 -0500, Daniel Davidson wrote: Why, yes, it does. Do I need to swap them ore delete X-IMAPbase, Swapping probably helps. and is there a utility to do that, or do I have to make one? I'm not aware of such an utility. signature.asc Description: This is a

[Dovecot] HP-UX troubles

2007-08-09 Thread Matthias Luehr
Hi there, I got dovecot compiled and running on HP-UX 11.23. It's using LDAPUX and PAM for authentication. So far, it works. But after logging in the connection is closed immediately. It looks like this: telnet ip 143 Connected to ... Escape character is '^]'. * OK Dovecot ready. a01 login user

Re: [Dovecot] UIDL match from 0.99.13 to 1.0-1.2

2007-08-09 Thread Daniel Davidson
Why, yes, it does. Do I need to swap them ore delete X-IMAPbase, and is there a utility to do that, or do I have to make one? Dan On Thu, 2007-08-09 at 12:53 +0300, Timo Sirainen wrote: On Wed, 2007-08-08 at 16:32 -0500, Daniel Davidson wrote: I am moving from and old FC2 system to a new

Re: [Dovecot] Moving mboxes around

2007-08-09 Thread Timo Sirainen
On Mon, 2007-08-06 at 09:07 +, [EMAIL PROTECTED] wrote: - Is it OK to move mailboxes around from under Dovecot? Yes. - Is there a way to tell an external application when mail has been moved by a client? Not really. There is a plugin for dspam, but there is no generic plugin. -

Re: [Dovecot] UIDL match from 0.99.13 to 1.0-1.2

2007-08-09 Thread Daniel Davidson
I did that and it was not able to fix things. Additionally in my logs I get the following messages: Dovecot v1.0.rc15 starting up pop3-login: Login: user=danield, method=PLAIN, rip=:::128.174.124.57, lip=:::128.174.124.57, secured POP3(danield): mbox sync: UID inserted in the middle of

Re: [Dovecot] Mails causing imap process to hang.

2007-08-09 Thread Tan Shao Yi
On Thu, 9 Aug 2007, Timo Sirainen wrote: On Thu, 2007-08-09 at 13:03 +0300, Timo Sirainen wrote: On Thu, 2007-08-09 at 15:55 +0800, Tan Shao Yi wrote: We are getting e-mails from a certain domain that seem to cause the IMAP process to hang. .. sendfilev64(1, 1, 0xFFBFF2C0, 1, 0xFFBFF2B4)

Re: [Dovecot] Userdb and home directories

2007-08-09 Thread Timo Sirainen
On Mon, 2007-08-06 at 11:23 +0100, Mike Brudenell wrote: [Quick side-question: should I be using $USER or $RESTRICTED_USER here? I can't work out what the difference between them is. Both are set within Dovecot's standard environment.] If you're using system users they're the same. If

Re: [Dovecot] UIDL match from 0.99.13 to 1.0-1.2

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 09:00 -0500, Daniel Davidson wrote: I did that and it was not able to fix things. Additionally in my logs I get the following messages: Dovecot v1.0.rc15 starting up pop3-login: Login: user=danield, method=PLAIN, rip=:::128.174.124.57,

Re: [Dovecot] HP-UX troubles

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 15:55 +0200, Matthias Luehr wrote: Error: imap-login: fd_send(7) failed: Bad file number Error: child 22629 (login) returned error 89 As far as I can see, the problem seems to reside in dovecot's fdpass.c... Dovecot's fd_send() probably doesn't work right with HP-UX.

Re: [Dovecot] UIDL match from 0.99.13 to 1.0-1.2

2007-08-09 Thread Daniel Davidson
I blasted /home/username/mail/.imap recopied the mailbox, swapped the UID and the IMAP lines and it worked. thanks for the help, Dan On Thu, 2007-08-09 at 17:19 +0300, Timo Sirainen wrote: On Thu, 2007-08-09 at 09:00 -0500, Daniel Davidson wrote: I did that and it was not able to fix

Re: [Dovecot] HP-UX troubles

2007-08-09 Thread Matthias Luehr
On Thu, 2007-08-09 at 15:55 +0200, Matthias Luehr wrote: Error: imap-login: fd_send(7) failed: Bad file number Error: child 22629 (login) returned error 89 As far as I can see, the problem seems to reside in dovecot's fdpass.c... Dovecot's fd_send() probably doesn't work right with

Re: [Dovecot] HP-UX troubles

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 17:04 +0200, Matthias Luehr wrote: On Thu, 2007-08-09 at 15:55 +0200, Matthias Luehr wrote: Error: imap-login: fd_send(7) failed: Bad file number Error: child 22629 (login) returned error 89 As far as I can see, the problem seems to reside in dovecot's

Re: [Dovecot] LDAP and (py|cmu)sieve

2007-08-09 Thread Timo Sirainen
On Wed, 2007-08-08 at 10:42 +0200, Thibault VINCENT wrote: The very precise question is : How can I tell dovecot to compute the « home » path from the login name when using LDAP userdb ? This is possible with Dovecot v1.1, but not with v1.0. There you can use: user_attrs = ...,

[Dovecot] 1.1.alpha2 error in logs

2007-08-09 Thread Mike Cisar
Did a quick-n-dirty install of 1.1.alpha2 on a Fedora Core 6 server... am getting the following message in the maillog, though there seems to be no problem accessing mail. Error seems to be consistent for all users. Running 1.0.3 on the system previously. Aug 8 22:49:26 stage2 dovecot:

[Dovecot] dotlock file was deleted error

2007-08-09 Thread Joe Wong
Hello, under what situation the error: dovecot-uidlist.lock was deleted (kept it 0 seconds ) will happen? I saw quite some of these in dovecot log. Thanks, - Joe

[Dovecot] [solved] lda: vacation auto-reply for a virtual address

2007-08-09 Thread martin f krafft
also sprach martin f krafft [EMAIL PROTECTED] [2007.08.09.1319 +0200]: So yes, if I find a suitable virtual delivery agent or a way to pass the maildir location from postfix to e.g. procmail, I'll have it solved. But right now it does not look like it's possible. I can report success. This

Re: [Dovecot] 1.1.alpha2 error in logs

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 09:44 -0600, Mike Cisar wrote: Did a quick-n-dirty install of 1.1.alpha2 on a Fedora Core 6 server... am getting the following message in the maillog, though there seems to be no problem accessing mail. Error seems to be consistent for all users. Running 1.0.3 on the

Re: [Dovecot] dotlock file was deleted error

2007-08-09 Thread Timo Sirainen
On Thu, 2007-08-09 at 23:49 +0800, Joe Wong wrote: Hello, under what situation the error: dovecot-uidlist.lock was deleted (kept it 0 seconds ) will happen? I saw quite some of these in dovecot log. Do you use NFS? If so, are all clocks synchronized? What Dovecot version? signature.asc

Re: [Dovecot] dotlock file was deleted error

2007-08-09 Thread Joe Wong
Hi Timo, Yes, it is on NFS. Version is 1.0.2. Does the time matter? - Joe - Original Message - From: Timo Sirainen [EMAIL PROTECTED] To: Joe Wong [EMAIL PROTECTED] Cc: Dovecot Mailing List dovecot@dovecot.org Sent: Friday, August 10, 2007 12:04 AM Subject: Re: [Dovecot] dotlock file

Re: [Dovecot] dotlock file was deleted error

2007-08-09 Thread Charles Marcus
Yes, it is on NFS. Version is 1.0.2. Does the time matter? You're serious?? Time is *always* important on a mail server - and even more so when NFS is involved... -- Best regards, Charles

Re: [Dovecot] dotlock file was deleted error

2007-08-09 Thread Joe Wong
Oh Yes.. I mean the time sync between the file server and the dovecot server. :-) what if there is a few seconds differences between the two? - Original Message - From: Charles Marcus [EMAIL PROTECTED] To: Dovecot Mailing List dovecot@dovecot.org Sent: Friday, August 10, 2007 12:40

Re: [Dovecot] dotlock file was deleted error

2007-08-09 Thread Timo Sirainen
On Fri, 2007-08-10 at 00:39 +0800, Joe Wong wrote: Oh Yes.. I mean the time sync between the file server and the dovecot server. :-) what if there is a few seconds differences between the two? Keep it less than a second or you'll have problems. signature.asc Description: This is a digitally

Re: [Dovecot] dotlock file was deleted error

2007-08-09 Thread Scott Silva
Joe Wong spake the following on 8/9/2007 9:39 AM: Oh Yes.. I mean the time sync between the file server and the dovecot server. :-) what if there is a few seconds differences between the two? Fix it! Run ntp or an equivalent on all servers that use NFS or handle mail. It is that important to

Re: [Dovecot] Moving mboxes around

2007-08-09 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Aug 09, 2007 at 04:37:16PM +0300, Timo Sirainen wrote: On Mon, 2007-08-06 at 09:07 +, [EMAIL PROTECTED] wrote: - Is it OK to move mailboxes around from under Dovecot? Yes. Cool. I'm impressed by Dovecot, really :-) - Is there a

Re: [Dovecot] bug: no initgroup() after login (was Re: Dovecot shared mailbox folder problem)

2007-08-09 Thread Timo Sirainen
On Fri, 2007-07-06 at 11:29 +0200, Steffen Kaiser wrote: /* setup environment - set the most important environment first (paranoia about filling up environment without noticing) */ restrict_access_set_env(system_user, uid, gid, chroot_dir,

Re: [Dovecot] Outlook 2000/2003 frequent disconnect issue

2007-08-09 Thread Jeff Ramsey
On Aug 9, 2007, at 4:58 AM, Timo Sirainen wrote: On Thu, 2007-08-02 at 12:50 -0700, Jeff Ramsey wrote: On Aug 1, 2007, at 12:10 PM, Timo Sirainen wrote: On Wed, 2007-08-01 at 12:05 -0700, Jeff Ramsey wrote: Aug 1 11:58:51 imap dovecot: auth(default): passwd(QUINAULT-

Re: [Dovecot] assertion failed with KMail 3.5.6 and dovecot 1.0.0

2007-08-09 Thread Timo Sirainen
On Mon, 2007-07-30 at 15:07 +0200, Sylvain Joyeux wrote: IMAP(doudou): file ostream-crlf.c: line 339 (_send_istream): assertion failed: ((size_t)ret = iov.iov_len) Hmm. Can you get Dovecot to dump a core file? Probably easiest way to get this fixed would be then if you sent me the

Re: [Dovecot] UW-IMAP style mbox snarfing from /var/mail/ to ~/mbox

2007-08-09 Thread Bernd Kuhls
Hi, Timo Sirainen wrote: On Fri, 2007-07-06 at 11:54 +0200, Bernd Kuhls wrote: - The index for $HOME/.imap_mail/inbox is created in $HOME/.imap_mail/.imap/inbox/, while the indexes for other mbox files are created in /var/mail/indexes/%u, like its supposed to be. How to disable