[Dovecot] Sieve plugin

2007-05-11 Thread Luigi Rosa
The Sieve plugin page of Wiki documentation (http://wiki.dovecot.org/LDA/Sieve?highlight=%28filter%29) says: It's also not a good idea to build the plugin against self-compiled Dovecot sources, but then actually use a prebuilt binary package of Dovecot. Why isn't a good idea? Ciao,

Re: [Dovecot] Sieve plugin

2007-05-11 Thread Gunter Ohrner
Am Freitag, 11. Mai 2007 schrieb Luigi Rosa: It's also not a good idea to build the plugin against self-compiled Dovecot sources, but then actually use a prebuilt binary package of Dovecot. Why isn't a good idea? In this case there there's a significant probability that either the plugin

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
Please disregard the below reported bug report. I experienced the same problem today and this time sleep was not involved. I rotate mail.log weekly. This morning I noticed that dovecot was no longer logging to mail.log although, again, it was running fine. Is it possible that dovecot has

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
It appears as though dovecot doesn't like syslogd being restarted. My system.log is rotated nightly followed by a pretty standard syslogd restart... if [ -f /var/run/syslog.pid ]; then kill -HUP $(cat /var/run/ syslog.pid | head -1); It appears from that point on dovecot no longer writes

[Dovecot] error in logfile

2007-05-11 Thread Luigi Rosa
With Dovecot 1.0.0: May 11 12:16:35 mail dovecot: IMAP(xxx): stat(/var/spool/mail2/xxx/.Trash.Squid-it/new) failed: No such file or directory With Thunderbird 2.0 IMAP client: * user deleted the mailbox * TB moved the mailbox to Trash * user asked TB to empty Trash * the above message

Re: [Dovecot] logging IMAP size?

2007-05-11 Thread Timo Sirainen
On Tue, 2007-05-01 at 16:57 +0200, Armijn Hemel wrote: hi all, is there a way to somehow log the size of an IMAP session with Dovecot? With POP3 there is this pop3 format string I can set in dovecot.conf, but I don't see an equivalent for IMAP. If so, are there any plans to add this

Re: [Dovecot] Return error instead of dying on time back skip?

2007-05-11 Thread Timo Sirainen
On Wed, 2007-05-02 at 10:52 +0200, Amon Ott wrote: Now I wonder if Dovecot could return errors to the users instead of dying until time is fine again, e.g. System time has moved backwards, please come back in n seconds. If the time skip is just a few seconds, it can of course delay and

Re: [Dovecot] Problems with Shared Mailbox

2007-05-11 Thread Timo Sirainen
On Mon, 2007-05-07 at 14:11 +0200, Gerhard Schmidt wrote: location = mbox:/var/mail/shared:CONTROL=/var/mail/shared/.control:INDEX=/var/mail/shared/.index mbox has no CONTROL directory. -rw-rw 1 dovecot vhsal 0 May 7 13:50 dovecot-shared -rw--- 1 estartu vhsal376 May

Re: [Dovecot] read only maildir subscriptions

2007-05-11 Thread Timo Sirainen
On Mon, 2007-04-30 at 19:56 +0200, Nagyon Almos wrote: Under thunderbird, I can successfully log in and read my new mails, but I cannot subscribe (?) within thunderbird to oldmails (it is grey not black as other folders). .. namespace private { separator = / prefix = oldmails/

Re: [Dovecot] Error: Master request X not found

2007-05-11 Thread Timo Sirainen
On Tue, 2007-05-08 at 11:15 +0200, Jordi Moles wrote: dovecot: May 07 19:57:24 Error: auth(default): Master request 88729.43523 not found Show your settings with dovecot -n? Is there a high load in the system? Are there non-plaintext logins? Maybe this would help:

[Dovecot] Problems with BEFORE searches.

2007-05-11 Thread Trever L. Adams
Ok, I am trying to modify some code given to me by the author of the dspam plugin for dovecot (sorry the name eludes me). I am modifying it to handle UNSEEN differently than SEEN. Below is the python code. I am not a python programmer, but I get the basic idea. ok, uids = conn.search(None,

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
Thank you very much, Charles. I have resorted to that workaround (restarting dovecot) which does, indeed, work. I just wanted to document the situation since dovecot's behavior in this regard is unlike other imap servers. Best regards, Bruce On May 11, 2007, at 8:27 AM, Charles Marcus

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Charles Marcus
Bruce Bodger wrote: It appears as though dovecot doesn't like syslogd being restarted. Hmmm... could this possibly be a fix, or at least a workaround? www.dovecot.org/list/dovecot/2004-November/005219.html -- Best regards, Charles

Re: [Dovecot] global vs user script

2007-05-11 Thread Magnus Holmgren
On Friday 11 May 2007 03:53, M1 wrote: Dear Mark, Yes, you're right. I posted the wrong link. I do not know much about rfc system. What does it mean by expired? Internet Drafts must be updated, or submitted for official review and publication as an RFC, within six months, otherwise they are

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Charles Marcus
Bruce Bodger wrote: Thank you very much, Charles. I have resorted to that workaround (restarting dovecot) which does, indeed, work. I just wanted to document the situation since dovecot's behavior in this regard is unlike other imap servers. This thread mentioned only sending an HUP - or

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bill Cole
At 7:04 AM -0400 5/11/07, Bruce Bodger imposed structure on a stream of electrons, yielding: It appears as though dovecot doesn't like syslogd being restarted. That's probably not it. The whole point of syslog is for individual message sources (e.g. dovecot) to not have to worry about where

Re: [Dovecot] maildir file name flags out of order?

2007-05-11 Thread Timo Sirainen
On Thu, 2007-04-19 at 13:27 -0400, Aaron Solochek wrote: I was trying to figure out why my false-positive spam messages were being tagged as personal by thunderbird, and I noticed a possible problem. According to DJB: http://cr.yp.to/proto/maildir.html New flags may be defined later. Flags

Re: [Dovecot] Troubleshooting - another suggestion...

2007-05-11 Thread Charles Marcus
Many people still do not provide basic things like dovecot version, and there are secondary config files like dovecot-ldap, whose settings are not included in the dovecot -n output. How difficult would it be to add these to the output so that the output would include the running dovecot

Re: [Dovecot] Deliver sending bounces from 'MAILER-DAEMON@'

2007-05-11 Thread Timo Sirainen
On Tue, 2007-04-24 at 12:49 +0200, Erland Nylend wrote: | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: from=, size=3055, nrcpt=1 (queue active) | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: to=MAILER-DAEMON@, relay=none, delay=0.01, delays=0.01/0.01/0/0, dsn=5.1.3,

Re: [Dovecot] corruption?

2007-05-11 Thread Timo Sirainen
On Wed, 2007-04-25 at 08:28 -0400, Neal Becker wrote: I'm using maildir (and have been for a long time). Today I have a problem: ls -al (maildir): [...] drwx-- 5 nbecker nbecker4096 Jan 1 2006 .;SECTION= What's this? It seems to be causing my mail client (kmail, using dimap),

Re: [Dovecot] dovecot 1.0.0 hang on one server

2007-05-11 Thread Timo Sirainen
On Mon, 2007-04-30 at 11:48 +0200, Roberto Tagliaferri wrote: Hi, i've upgraded 5 server from dovecot beta7 or old dovecot-stable to 1.0.0 but on one server dovecot crash after few hours without any log Apr 23 18:19:32 Info: POP3(username): Disconnected: Logged out top=0/0, retr=0/0,

Re: [Dovecot] Tracing an IP of a user who deleted the message

2007-05-11 Thread Timo Sirainen
On Thu, 2007-05-10 at 12:55 +0200, Steffen Kaiser wrote: May 10 13:19:04 mailserver dovecot: IMAP(office): copy - Trash: uid=1131, msgid=[EMAIL PROTECTED], box=Sent May 10 13:19:05 mailserver dovecot: IMAP(office): deleted: uid=1131, msgid=[EMAIL PROTECTED], box=Sent May 10 13:53:08

Re: [Dovecot] No authentication sockets found

2007-05-11 Thread Timo Sirainen
On Wed, 2007-05-09 at 10:59 -0400, Stewart Dean wrote: DC imap host was rebooted today 3 hours ago. Any info on what this is about? .. imap-login: No authentication sockets found .. Background: DC 1.0, invoked from /etc/rc.local during boot. After stopping and restarting DC, things seem

Re: [Dovecot] header-lines of subfolders have to be rescanned after each client startup

2007-05-11 Thread Timo Sirainen
On Thu, 2007-05-10 at 15:53 +0200, Rainer Sigl wrote: Hi all, after each startup of my different mail clients (thunderbird, outlook, ...) the contents of subfolders if I click in has to be renewed. This takes some time for large folders. I just migrated from courier. And there all

Re: [Dovecot] Return error instead of dying on time back skip?

2007-05-11 Thread John Peacock
Ben Winslow wrote: Clock drift of about 13 seconds/day (150 PPM) is (unfortunately) not uncommon, and 4-6 seconds/day (50-75 PPM) is about the norm for PC hardware in my experience. Of course, this is exactly the reason why you should run ntpd instead of ntpdate on a cron job (especially a

Re: [Dovecot] fs quota plugin and NFS

2007-05-11 Thread Timo Sirainen
On Thu, 2007-04-19 at 17:54 +0200, Nicolas STRANSKY wrote: Hi, I'm trying to use the Dovecot v1 fs quota plugin. The server uses NFS mounted volumes for INBOX and other maildir folders. The /usr/bin/quota command is working seamlessly but I get errors with the quota plugin, which gives the

Re: [Dovecot] v1.1 plans

2007-05-11 Thread Timo Sirainen
On Thu, 2007-04-19 at 00:30 -0700, Timothy Martin wrote: Are all v1.0 patches and CVS HEAD now 1.1? Specifically I was wondering if the quota rewrite (http://dovecot.org/list/dovecot/2006- September/016134.html) is or will be in the 1.1 builds. Not all, but quota rewrite is.

Re: [Dovecot] Log data on dovecot-auth socket

2007-05-11 Thread Koen Vermeer
Op vr, 11-05-2007 te 16:01 +0300, schreef Timo Sirainen: A bit late, but auth_debug_passwords=yes makes it log most of the traffic I think. If not, then I guess there aren't any easy ways. Thanks for the reply! I needed a real log of the conversation. Anyway, I got it working without the log,

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Bruce Bodger
Applied the patch, recompiled v1.1.0 using same line to config as before.. ./configure --with-ssldir=/System/Library/OpenSSL --with-ssl=openssl Sorry... no change: does not fix it. Regards, Bruce On May 11, 2007, at 10:24 AM, Timo Sirainen wrote: On Fri, 2007-05-11 at 09:26 -0400, Bruce

Re: [Dovecot] Problems with BEFORE searches.

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 06:22 -0600, Trever L. Adams wrote: ok, uids = conn.search(None, 'BEFORE', unreadsentbefore, 'SEEN') 11-May-2007 06:18:29 -0600 is the value of unreadsentbefore. From IMAP RFC: search-key = ALL / ANSWERED / BCC SP astring / BEFORE SP date / BODY

Re: [Dovecot] SASL using different auth database?

2007-05-11 Thread Timo Sirainen
On Thu, 2007-05-10 at 20:57 -0400, Dave McGuire wrote: The goal here is to allow users to have different passwords for SMTP authentication and POP/IMAP connections. I am converting an existing installation to Dovecot...this installation currently has quite a few users who are

Re: [Dovecot] Thunderbird or Dovecot bug? (multiple keywords)

2007-05-11 Thread Timo Sirainen
On Wed, 2007-05-09 at 12:01 -0700, Troy Engel wrote: All this long-winded explanation leads me to believe that somehow the difference in dovecot-keywords is causing this problem, but what I can't tell is who's problem it is -- Dovecot, or Thunderbird? A lot easier way is to look at the IMAP

Re: [Dovecot] Conflict - Dovecot + Maildrop (maildirsize)

2007-05-11 Thread Timo Sirainen
On Wed, 2007-05-09 at 10:23 -0300, Roberto Gonzalez Azevedo wrote: 'maildirsize' with dovecot: 1099511627776S 585847701 102542 5504023 959 In both examples the quota is 1GB (1073741824S). And now ? Does anybody known how to fix that ? Looks like you're trying to tell the quota in

Re: [Dovecot] Dovecot and Outlook - IMAP Timeout error

2007-05-11 Thread Timo Sirainen
On Wed, 2007-04-25 at 08:37 -0500, Phillip T. George wrote: Hey guys, I'm having a problem with Dovecot and Outlook. I'm testing with Outlook XP (2002), but the problem occurs with Outlook 2003 as well. I'm using Dovecot 1.0.rc28. The specific error generated (for IMAP) is: A

Re: [Dovecot] newbie with dovecot acls needs a little help :-)

2007-05-11 Thread Timo Sirainen
On Wed, 2007-04-25 at 18:49 +0200, Rachid Zarouali wrote: hy all, i'm trying to make an acl so a local unix user 'sie' can access exalead mboxes. my exalead mboxes are stored in : /opt/exalead/mail/sie/ .. mail_extra_groups: exalead mail_location: mbox:/opt/exalead/mail A bit late, but

Re: [Dovecot] Changes in authentication's???

2007-05-11 Thread Timo Sirainen
On Thu, 2007-05-10 at 11:01 +0200, Boris Ivanov wrote: May 10 02:56:02 scat dovecot: auth(default): client out: OK 1 user=test User= :/home/test:/tmp/email/bin/nonexistance= There's some extra data in here. etc_path = /usr/local/www/data/Email/RefCont/etc pwd_mkdb -d ${etc_path}

Re: [Dovecot] v1.1 plans

2007-05-11 Thread Timo Sirainen
On Wed, 2007-04-18 at 10:51 +0200, Jacek Osiecki wrote: One question... I remember that such issue has been raised here some time ago, but I don't know if there were any decisions made... Is there a plan for using hard links in dovecot-LDA when the mail is going to be delivered to many

Re: [Dovecot] Return error instead of dying on time back skip?

2007-05-11 Thread Ben Winslow
On Fri, 11 May 2007 14:50:54 +0300 Timo Sirainen [EMAIL PROTECTED] wrote: The code already allows the clock to move backwards by 5 seconds without dying, so how horrible are the clocks in those computers? :) Clock drift of about 13 seconds/day (150 PPM) is (unfortunately) not uncommon, and 4-6

Re: [Dovecot] v1.1 plans

2007-05-11 Thread Timo Sirainen
On Wed, 2007-04-18 at 11:11 +0100, Hugo Monteiro wrote: one thing i already discussed with you some time ago that would make some difference and open lots of possibilities, in my opinion, would be the ability to have a virtual INBOX that could be composed by a list of folders. That would make

Re: [Dovecot] No authentication sockets found

2007-05-11 Thread funkypunky drunky
I have lived the same problem in my system. But not evrytime sometimes it only happens when i restart dovecot while mta is working. I think postfix (my mta) cannot connect the new authentication socket. If i need the restarting dovecot, i restart postfix too. It happens only for the above

Re: [Dovecot] Problems with BEFORE searches.

2007-05-11 Thread Trever Adams
Timo Sirainen wrote: From IMAP RFC: search-key = ALL / ANSWERED / BCC SP astring / BEFORE SP date / BODY SP astring / .. date= date-text / DQUOTE date-text DQUOTE date-text = date-day - date-month - date-year So you'll need to use 11-May-2007. It

Re: [Dovecot] v1.1 plans

2007-05-11 Thread Timo Sirainen
On Thu, 2007-04-19 at 22:00 +0200, Stefan Klatt wrote: What do you think about LDAP (or SQL,...) queries for each userparameter? Make it easyer to implement dovecot at raised and/or complex structures. With SQL it's possible to create complex functions (at least with PostgreSQL..). With LDAP I

Re: [Dovecot] v1.1 plans

2007-05-11 Thread Timo Sirainen
On Wed, 2007-04-18 at 07:49 -0400, Charles Marcus wrote: The other is single-instance storage... and I don't see a mention of that anywhere... Timo - can you make a guess as to whether or not single-instance storage is even a possibility with 2.0? That'd be a dbox-only feature. I've

Re: [Dovecot] BUG REPORT - Stops logging after sleep

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 10:57 -0400, Bruce Bodger wrote: Applied the patch, recompiled v1.1.0 using same line to config as before.. ./configure --with-ssldir=/System/Library/OpenSSL --with-ssl=openssl Sorry... no change: does not fix it. In that case there's nothing I can do. You'll just

Re: [Dovecot] v1.1 plans

2007-05-11 Thread Timo Sirainen
On Wed, 2007-04-18 at 09:51 +0100, David Lee wrote: Firstly, congratutulations on the official 1.0; we are now running this in production. On Tue, 17 Apr 2007, Timo Sirainen wrote: I'm hoping to release the first alphas/betas in 2-3 months, with v1.1.0 maybe even as early as next

Re: [Dovecot] v1.1 plans

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 11:35 -0400, Charles Marcus wrote: Will it be easy to convert from maildir to dbox when it is stable? Convert plugin was created exactly for that. Although it doesn't yet support preserving UIDs. I'm planning on migrating my own mail from mbox to dbox some day, and I want

Re: [Dovecot] SASL using different auth database?

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 11:39 -0400, Justin McAleer wrote: If you can assign two IPs to the server, one for SMTP, and one for POP/IMAP, and you can use a SQL backend, you could craft your db schema and queries to pull the appropriate password based on the local IP of the connection. I know

Re: [Dovecot] Problems with BEFORE searches.

2007-05-11 Thread Johannes Berg
On Fri, 2007-05-11 at 08:54 -0600, Trever Adams wrote: So you'll need to use 11-May-2007. It doesn't support time. Tim, thank you. I am afraid I do not understand if the date is only allowed as such why does python's imaplib convert the date as such?!? Interesting. I just noticed

Re: [Dovecot] SASL using different auth database?

2007-05-11 Thread Justin McAleer
Timo Sirainen wrote: On Fri, 2007-05-11 at 11:39 -0400, Justin McAleer wrote: If you can assign two IPs to the server, one for SMTP, and one for POP/IMAP, and you can use a SQL backend, you could craft your db schema and queries to pull the appropriate password based on the local IP of the

Re: [Dovecot] SASL using different auth database?

2007-05-11 Thread Justin McAleer
Timo Sirainen wrote: On Thu, 2007-05-10 at 20:57 -0400, Dave McGuire wrote: The goal here is to allow users to have different passwords for SMTP authentication and POP/IMAP connections. I am converting an existing installation to Dovecot...this installation currently has quite a few

Re: [Dovecot] Deliver sending bounces from 'MAILER-DAEMON@'

2007-05-11 Thread Erland Nylend
Hello Timo, On 2007-05-11, 16:18, Timo Sirainen wrote: It seems to me that dovecot is sending bounce messages from 'MAILER-DAEMON@' .. It says to=MAILER-DAEMON@ so I'd guess the Return-Path: header in the message was that? Thanks for the reply. I've managed to reproduce it. If I send a

Re: [Dovecot] Mails, work and so on

2007-05-11 Thread Stewart Dean
can we paypal you some money? It would be personal, not commercial and consequently not that much, but everything helps... Timo Sirainen wrote: You can probably guess from my flood of mails that I'm no longer busy. I still have a couple of exams but since I haven't spent any time at all

Re: [Dovecot] Mails, work and so on

2007-05-11 Thread Stewart Dean
Maybe you chould run things like the Chinese doctors of old...you paid them as long as you were healthy, but stopped when you got ill. Incentive for the doctor to keep you healthy! Timo Sirainen wrote: You can probably guess from my flood of mails that I'm no longer busy. I still have a

Re: [Dovecot] Mails, work and so on

2007-05-11 Thread Justin McAleer
Stewart Dean wrote: can we paypal you some money? It would be personal, not commercial and consequently not that much, but everything helps... http://www.dovecot.org/donate.html There, now I've done my part ;)

Re: [Dovecot] Mails, work and so on

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 12:49 -0400, Stewart Dean wrote: can we paypal you some money? It would be personal, not commercial and consequently not that much, but everything helps... Sure :) http://dovecot.org/donate.html signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Virtual User Home Directory, and APOP Clear Text Passwords

2007-05-11 Thread imacat
On Fri, 11 May 2007 17:45:23 +0300 Timo Sirainen [EMAIL PROTECTED] wrote: On Fri, 2007-05-11 at 12:22 +0800, imacat wrote: 1. I have a few virtual users, and I'm not using IMAP. Do I still have to give them a writable home directory? I mean, they exists only See the bottom of

Re: [Dovecot] Mails, work and so on

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 19:41 +0300, Timo Sirainen wrote: - Index file code cleanups, simplifications and optimizations. Make it work with NFS with attribute cache enabled. Better explanation of this for those who are interested: Currently mmap_disable=yes is faster (but takes more memory) than

Re: [Dovecot] Thunderbird or Dovecot bug? (multiple keywords)

2007-05-11 Thread Troy Engel
Timo Sirainen wrote: A lot easier way is to look at the IMAP traffic and see what's different in there. Then you can see if Dovecot is giving wrong replies somewhere or if it's Thunderbird that gets confused from something. I just used the TB debugging to trap all the IMAP traffic capturing a

Re: [Dovecot] fs quota plugin and NFS

2007-05-11 Thread Timo Sirainen
On Fri, 2007-05-11 at 18:01 +0300, Timo Sirainen wrote: NFS uses RPC quota commands to get the quota. Dovecot doesn't currently support this, but there is a company who implemented a patch for this. I can't seem to find it now though. I'll add it to http://dovecot.org/patches/ once I get it

Re: [Dovecot] header-lines of subfolders have to be rescanned after each client startup

2007-05-11 Thread Rainer Sigl
Timo Sirainen schrieb: On Thu, 2007-05-10 at 15:53 +0200, Rainer Sigl wrote: Hi all, after each startup of my different mail clients (thunderbird, outlook, ...) the contents of subfolders if I click in has to be renewed. This takes some time for large folders. I just migrated from

Re: [Dovecot] read only maildir subscriptions

2007-05-11 Thread Nagyon Almos
Ok, thanks for the reply. It is clear now, now I can subscribe them. Regards, A. Timo Sirainen On Mon, 2007-04-30 at 19:56 0200, Nagyon Almos wrote: Under thunderbird, I can successfully log in and read my new mails, but I cannot subscribe (?) within thunderbird to oldmails (it is grey

Re: [Dovecot] Problems with BEFORE searches.

2007-05-11 Thread Trever L. Adams
On Fri, 2007-05-11 at 17:08 +0200, Johannes Berg wrote: Interesting. I just noticed another bug too, it pads with spaces: 1-May-07 ... Yes, I caught this too. Or maybe just replace it all with: sentbefore = time.strftime(%d-%b-%Y, time.localtime(time.time() - float(sys.argv[1]) * 24 *

Re: [Dovecot] Problems with BEFORE searches.

2007-05-11 Thread Johannes Berg
On Fri, 2007-05-11 at 16:16 -0600, Trever L. Adams wrote: I like this last version better. I will use it instead of my version of your other version. It is much cleaner. Yeah, I thought using the imaplib would be good but apparently not :) However, your code still lacks conn.expunge(). My

[Dovecot] dbmail benchmarking

2007-05-11 Thread Timo Sirainen
I thought I'd try benchmarking with dbmail (v2.2.4) to see how much slower a SQL backend could actually be. Skip to bottom for the conclusions. Originally I ran the tests with the databases being in XFS filesystem. MySQL's performance was horrible. It went 3-7x faster with ext3. MySQL