[Dovecot] Released Sieve v0.1.11 and ManageSieve v0.11.8 for Dovecot v1.2.3

2009-08-07 Thread Stephan Bosch
Hello Dovecot users, Apart from unfinished development of the date extension, this is a set of bug-fix releases. A few portability issues were found, a few stupidities were fixed and the ManageSieve proxy now also works with TLS. Most notably, the include extension had an issue regarding the

[Dovecot] v1.2.3 released

2009-08-07 Thread Timo Sirainen
http://dovecot.org/releases/1.2/dovecot-1.2.3.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.3.tar.gz.sig A few days later than I wanted, but here it is. * Mailbox names with control characters can't be created anymore. Existing mailboxes can still be accessed though.

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 15:01 +0200, Jure Pečar wrote: > And when sent and delivered to some...@example.com, we get this in the log: .. > Our final recipients are in the form of usern...@fqdn.hostname.com; it looks > like this is being matched in sieve as address. But we want to match against > ori

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Stephan Bosch
Timo Sirainen schreef: On Fri, 2009-08-07 at 19:21 +0200, Stephan Bosch wrote: dovecot: deliver(username): sieve: msgid=<...>: discarding vacation response for message implicitly delivered to Our final recipients are in the form of usern...@fqdn.hostname.com; it looks like this is being matc

Re: [Dovecot] v1.2.2 / rev 0ec0b1f1ac6a+: imap crash

2009-08-07 Thread Pascal Volk
On 08/07/2009 11:14 PM Timo Sirainen wrote: > On Thu, 2009-07-30 at 17:15 +0200, Pascal Volk wrote: >> #0 0x0047ac5f in index_storage_lock_notify_reset (ibox=0x0) at >> index-storage.c:379 >> No locals. >> #1 0x0044f6b1 in maildir_uidlist_lock_timeout (uidlist=0x22ee9a0, >> nonb

Re: [Dovecot] v1.2.2 / rev 0ec0b1f1ac6a+: imap crash

2009-08-07 Thread Timo Sirainen
On Thu, 2009-07-30 at 17:15 +0200, Pascal Volk wrote: > #0 0x0047ac5f in index_storage_lock_notify_reset (ibox=0x0) at > index-storage.c:379 > No locals. > #1 0x0044f6b1 in maildir_uidlist_lock_timeout (uidlist=0x22ee9a0, > nonblock=false, refresh=true, refresh_when_locked=false

Re: [Dovecot] hoping someone has a suggestion

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 10:03 -0400, P.A wrote: > # 1.0.10: /usr/local/etc/dovecot.conf Oh, and upgrading Dovecot to v1.1 or v1.2 wouldn't hurt either. Who knows, might even fix the problem for some reason. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] hoping someone has a suggestion

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 10:03 -0400, P.A wrote: > My question is what do you guys think is happening here, what is the > relationship between dovecot/postfix that would cause this to happen. I'm > just looking for some suggestions in case this happens again. Does Postfix use Dovecot for SMTP AUTH?

Re: [Dovecot] Mail not begin proccessed

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 15:39 +0200, Andre Labuschagne wrote: > Good day all, > > [Dovecot version 1.2.1] > I've set up postfix and dovecot on Centos. I have a problem with the > mail, it is begin received but not "processed" by dovecot. I've looked > in the maillog file and found two problems;

Re: [Dovecot] BUG: mbox_snarf causes message duplication when two IMAP connections are open

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 15:31 -0400, Timo Sirainen wrote: > Does the attached patch help? Although it makes performance slightly > worse.. Probably not noticeably. If it works, I'll just commit it to the > next release. Sorry, I messed up the patch. Should have used "hg diff", not "hg export tip" :)

Re: [Dovecot] BUG: mbox_snarf causes message duplication when two IMAP connections are open

2009-08-07 Thread Timo Sirainen
Does the attached patch help? Although it makes performance slightly worse.. Probably not noticeably. If it works, I'll just commit it to the next release. # HG changeset patch # User Timo Sirainen # Date 1249672324 14400 # Branch HEAD # Node ID 96b764649cbbdcf42d90486885e94ea81c86cc94 # Parent

Re: [Dovecot] virtual plugin and ACL

2009-08-07 Thread Timo Sirainen
On Wed, 2009-08-05 at 11:08 +0300, Nikita Koshikov wrote: > Here is namespace part of config file: > namespace private { > prefix = Company/ > separator = / > location = virtual:/var/mail/virtual:INDEX=MEMORY:LAYOUT=maildir++ > subscriptions = no > } .. > Then I tried to setup ACL f

Re: [Dovecot] virtual plugin - segfault body search

2009-08-07 Thread Timo Sirainen
On Tue, 2009-08-04 at 13:07 -0400, Timo Sirainen wrote: > On Tue, 2009-08-04 at 11:37 +0200, Manuel Oetiker wrote: > > Hi List > > > > I wounder way nobody is reacting on the crash issue? is there any > > information > > missing? > > It's caused by the fts plugin, which is kind of annoying to to

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Jure Pečar
On Fri, 07 Aug 2009 19:21:53 +0200 Stephan Bosch wrote: > Currently, you need to add all allowed aliases to the :addresses > argument of the vacation command. My TODO list contains a new feature > that lets you extract additional valid aliases directly from a > dictionary (e.g. an SQL database

Re: [Dovecot] Bug - dovecot-auth hangs in ldap query. 1.1.16 (also in 1.2.2)

2009-08-07 Thread Timo Sirainen
On Mon, 2009-08-03 at 09:34 +0200, Marek Miska wrote: > Bug is in src/auth/db-ldap.c:db_ldap_request_queue_next > > if (queue_size > DB_LDAP_MAX_PENDING_REQUESTS) { > /* wait until server has replied to some requests */ > return FALSE; > } > > (queu

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-08-07 Thread Robert Schetterer
Timo Sirainen schrieb: > On Tue, 2009-08-04 at 10:22 +0200, Robert Schetterer wrote: >> Info: maildir: >> data=/usr/local/virtual//root/:CONTROL=/usr/local/virtual//root/:INDEX=/usr/local/virtual//root/:INBOX=/usr/local/virtual//root/ > > Oh, right, this is the problem. You can't use %variables in

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Jure Pečar
On Fri, 07 Aug 2009 14:27:29 -0400 Timo Sirainen wrote: > > > I don't think the above really needs a dict? Rather maybe there's a > > > way to have the script check the original unexpanded address. Is it > > > stored in some specific header, or how would Dovecot/Sieve know about > > > it? > > >

Re: [Dovecot] Trying to get dovecot and squirrelmail talking

2009-08-07 Thread Timo Sirainen
On Mon, 2009-08-03 at 16:09 +0100, Neil Bird wrote: >However, I've had some slight issues elsewhere which I feel would be > eased or solved by making my INBOX use maildir format, and keeping mails I > want to remote-access more often in the top level maildir there (instead of > always having

Re: [Dovecot] ACL plugin, public namespace, erroneous \HasNoChildren

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 20:17 +0200, Stefan Förster wrote: > > I couldn't reproduce this, except by using a stale dovecot-acl-list. > > Wonder if it could be made to update itself automatically in more > > situations. > > While I'm certain that this would be a good idea, because everything > else in

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 20:26 +0200, Jure Pečar wrote: > On Fri, 07 Aug 2009 13:57:57 -0400 > Timo Sirainen wrote: > > > > Currently, you need to add all allowed aliases to the :addresses > > > argument of the vacation command. My TODO list contains a new feature > > > that lets you extract addit

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Jure Pečar
On Fri, 07 Aug 2009 13:57:57 -0400 Timo Sirainen wrote: > > Currently, you need to add all allowed aliases to the :addresses > > argument of the vacation command. My TODO list contains a new feature > > that lets you extract additional valid aliases directly from a > > dictionary (e.g. an SQL

Re: [Dovecot] Mailbox locking problem with iphone and POP3

2009-08-07 Thread Timo Sirainen
On Mon, 2009-08-03 at 10:47 -0500, Bill Dunn - VCI Internet Services wrote: > I have a problem I can't seem to fix. I have dovecot configured to do > POP3 with plain text authentication using a MySQL database. I am using > Dovecot 1.0.7 with fcntl locking. So you're using mbox format? > My

Re: [Dovecot] ACL plugin, public namespace, erroneous \HasNoChildren

2009-08-07 Thread Stefan Förster
* Timo Sirainen : > On Thu, 2009-08-06 at 05:08 +0200, Stefan Förster wrote: > > . list "" Public > > * LIST (\Noselect \HasNoChildren) "." "Public" > > What about LIST "" Public*? No difference. > What do you have in /export/vmailboxes/public/dovecot-acl-list? Does it > work if you delete the f

Re: [Dovecot] Listing shared mailboxes with a domainpart

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 13:29 +0200, Mathias Tausig wrote: > I am currently configuring a new mailserver using postfix and dovecot > 1.2.1. The filesystem strucutre in my spool directory is > user1/ > user2/ > domain/info/ > domain/office/ > > I configured a shared namespace: > > namespace shared {

Re: [Dovecot] ACL plugin, public namespace, erroneous \HasNoChildren

2009-08-07 Thread Timo Sirainen
On Thu, 2009-08-06 at 05:08 +0200, Stefan Förster wrote: > . list "" Public > * LIST (\Noselect \HasNoChildren) "." "Public" What about LIST "" Public*? What do you have in /export/vmailboxes/public/dovecot-acl-list? Does it work if you delete the file? I couldn't reproduce this, except by using

Re: [Dovecot] AutoCreate per Domain

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 14:49 -0300, Darvin Denmian wrote: > user_query = SELECT maildir, 1001 AS uid, 1001 AS gid , \ > 'Clients2' AS autocreate , mail_plugins\ > FROM mailbox WHERE username = '%u' AND active='1' > > > Clients1 is sucessfuly created > > Clients2 isn't created :( Then it sounds

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 19:21 +0200, Stephan Bosch wrote: > > dovecot: deliver(username): sieve: msgid=<...>: discarding vacation > > response for message implicitly delivered to > > > > Our final recipients are in the form of usern...@fqdn.hostname.com; it > > looks like this is being matched in

Re: [Dovecot] AutoCreate per Domain

2009-08-07 Thread Darvin Denmian
@dovecot.conf mail_plugins = autocreate plugin { autocreate = Clients1 } @dovecot-sql.conf user_query = SELECT maildir, 1001 AS uid, 1001 AS gid , \ 'Clients2' AS autocreate , mail_plugins\ FROM mailbox WHERE username = '%u' AND active='1' Clients1 is sucessfuly created Clients2 is

Re: [Dovecot] Dovecot deliver uidlist issues

2009-08-07 Thread Timo Sirainen
On Thu, 2009-08-06 at 11:14 +0100, Mark Zealey wrote: > Hi all, > > Lets say I have a maildir which doesn't contain any dovecot files but > has some emails lying around in it. If I add a message to this mailbox > using deliver, dovecot creates the uidlist file with a single entry (the > message th

Re: [Dovecot] sieve vacation response

2009-08-07 Thread Stephan Bosch
Jure Pečar schreef: Hello, we're implementing a dovecot 1.2.1 with sieve 0.1.7 and managesieve 0.11.7. We're having problems with creating sieve scripts so that vacation works. Our script looks like this: require ["fileinto", "vacation"]; if address :matches ["To", "Cc"] "*some...@example.com

Re: [Dovecot] GSSAPI Authentication in v1.2.1

2009-08-07 Thread Jason Gunthorpe
On Fri, Aug 07, 2009 at 12:50:25PM -0400, Timo Sirainen wrote: > I think "secure authentication" usually means CRAM-MD5 in Thunderbird. > But maybe they use it for GSSAPI too, no idea. For sure it enables NTML and GSSAPI at least. Jason

Re: [Dovecot] cross compile dovecot for armv5t fails

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 17:17 +0100, Stephen Feyrer wrote: > SSL_LIBS='/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/aes.h > /usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/asn1.h Why are you adding .h files to SSL_LIBS? That seems to be the problem. signature.asc Descriptio

Re: [Dovecot] GSSAPI Authentication in v1.2.1

2009-08-07 Thread Timo Sirainen
On Tue, 2009-08-04 at 11:31 +1000, Phillip Macey wrote: > In the release notes for v1.2.2, Timo said: > > Found and fixes several v1.2-specific bugs. Hopefully it's now stable > > for most people's usage. > > > > * GSSAPI: More changes to authentication. Hopefully good now. > > > What were t

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-08-07 Thread Timo Sirainen
On Tue, 2009-08-04 at 10:22 +0200, Robert Schetterer wrote: > Info: maildir: > data=/usr/local/virtual//root/:CONTROL=/usr/local/virtual//root/:INDEX=/usr/local/virtual//root/:INBOX=/usr/local/virtual//root/ Oh, right, this is the problem. You can't use %variables in mail_location setting. They ge

Re: [Dovecot] connect to IMAP

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 09:38 +0200, jolan D wrote: > i checked the /var/log/maillog > but not logs when trying to log in. If you set auth_debug=yes, Dovecot logs exactly what the reason is. Also every time you try to connect, Dovecot logs something. If you can't find anything, see http://wiki.dovec

Re: [Dovecot] All mail in mbox disappears when using Outlook

2009-08-07 Thread Timo Sirainen
On Fri, 2009-08-07 at 10:01 -0400, Adam McDougall wrote: > Also, if you have a mailbox called > "Inbox", Thunderbird > will not see it since it is hidden by the real inbox. Actually Dovecot hides it. In IMAP the INBOX is case-insensitive so there can't be more than one. signature.asc Descript

[Dovecot] cross compile dovecot for armv5t fails

2009-08-07 Thread Stephen Feyrer
Hi anyone. When I run make trying to compile Dovecot for a network attached storage box and it fails. I have used two variants of configuration: The first ./configure i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_sig

[Dovecot] hoping someone has a suggestion

2009-08-07 Thread P.A
Hi using dovecot 1.0.10 with pop/imap, using maildir, with 2000+ users mostly using pop but many using imap. Once in a great while I have problems with dovecot pop timing out. If I telnet to port 110 it just takes forever to come up or it doesn't at all, the samething happens on the imap por

Re: [Dovecot] All mail in mbox disappears when using Outlook

2009-08-07 Thread Adam McDougall
Frank Leonhardt wrote: Timo Sirainen wrote on 03 August 2009 20:11: On Mon, 2009-08-03 at 20:03 +0100, Frank Leonhardt wrote: Any suggestions about where I could look for a clue will be followed up immediately. I'm new to Dovecot, but not BSD. My next step will be to put a

[Dovecot] Mail not begin proccessed

2009-08-07 Thread Andre Labuschagne
Good day all, [Dovecot version 1.2.1] I've set up postfix and dovecot on Centos. I have a problem with the mail, it is begin received but not "processed" by dovecot. I've looked in the maillog file and found two problems; the first is that private/dovecot directory (I think it should be a di

Re: [Dovecot] BUG: mbox_snarf causes message duplication when two IMAP connections are open

2009-08-07 Thread Robert Lazzurs
On Mon, Aug 3, 2009 at 11:48, Robert Lazzurs wrote: > On Mon, Aug 3, 2009 at 11:39, Charles Marcus wrote: >> On 8/3/2009, Robert Lazzurs (r...@lazzurs.net) wrote: >>> If anyone requires any further information to confirm this bug please >>> let me know. >> >> What are the clients? > > Hello, > > Th

[Dovecot] sieve vacation response

2009-08-07 Thread Jure Pečar
Hello, we're implementing a dovecot 1.2.1 with sieve 0.1.7 and managesieve 0.11.7. We're having problems with creating sieve scripts so that vacation works. Our script looks like this: require ["fileinto", "vacation"]; if address :matches ["To", "Cc"] "*some...@example.com*" { if not heade

Re: [Dovecot] All mail in mbox disappears when using Outlook

2009-08-07 Thread Frank Leonhardt
Further to this, Outlook 2000 has the same problem as Outlook 2003 - if the folder name takes the form 'inbox123456' then it will display as empty in Outlook (although other IMAP clients have no trouble). I'd have difficulty believing this if I wasn't seeing it myself.

[Dovecot] Listing shared mailboxes with a domainpart

2009-08-07 Thread Mathias Tausig
Hy! I am currently configuring a new mailserver using postfix and dovecot 1.2.1. The filesystem strucutre in my spool directory is user1/ user2/ domain/info/ domain/office/ user1 and unser2 are ordinary users mailboxes, the latter two contain the virtual mailboxes for i...@domain and off...@domai

Re: [Dovecot] connect to IMAP

2009-08-07 Thread Bruce Bodger
On Aug 7, 2009, at 2:38 AM, jolan D wrote: Dovecot IMAP/POP3 Server Version 1.0.7 Jolan, You're running a version many months behind current release. The 1 series is at 1.1.18 and the 2 series is at 1.2.2. It would be quite irrelevant for us to try to troubleshoot problems that you'

Re: [Dovecot] connect to IMAP

2009-08-07 Thread jolan D
hi, @ns2 ~]# dovecot -n # 1.0.7: /etc/dovecot.conf protocols: imap imaps pop3s listen(default): 127.0.0.1:143 listen(imap): 127.0.0.1:143 listen(pop3): [::] ssl_listen(default): **.***.**.***:993 ssl_listen(imap): **.***.**.***:993 ssl_listen(pop3): login_dir: /var/run/dovecot/login login_executa