Re: [Dovecot] Dovecot-1.1.9 fails to work with Thunderbird
Charles Marcus wrote: On 1/24/2009, David Favor (da...@davidfavor.com) wrote: Jan 24 06:34:29 net1 dovecot: uid specified multiple times dovecot -n output? # 1.1.9-2009-01-24: /common/services/dovecot/dovecot-net1.conf # OS: Linux 2.6.27.9-159.fc10.i686 i686 Fedora release 10 (Cambridge) base_dir: /var/run/dovecot protocols: imaps ssl_listen: 69.94.137.124:10943 ssl_cert_file: /common/services/dovecot/sslcerts-coolsurf.com/certs/dovecot.pem ssl_key_file: /common/services/dovecot/sslcerts-coolsurf.com/private/dovecot.pem disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /runtime/dovecot-1.1.9-2009-01-24/libexec/dovecot/imap-login mail_location: maildir:~/Maildir auth default: cache_size: 100 passdb: driver: sql args: /common/services/dovecot/dovecot-sql.conf userdb: driver: prefetch userdb: driver: sql args: /common/services/dovecot/dovecot-sql.conf -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Re: [Dovecot] Postfix and Dovecot
As I said, the fact that the hostname changes is not your real problem. You could keep changing it every few minutes and Dovecot would work just fine. On Sat, 2009-01-24 at 11:05 -0200, Leonardo Coelho wrote: the problem is when i change the node (machine) the hostname changes and even the user having e-mail on the mailbox the users can't download them. Machine: mail and the files have the mail2 in the end. About the dovecot log i will see this later cause I don't have the access now. Thanks! On Fri, Jan 23, 2009 at 6:28 PM, Timo Sirainen t...@iki.fi wrote: On Fri, 2009-01-23 at 09:47 -0200, Leonardo Coelho wrote: So far so good, the real problem is that the e-mail file name on server is like this: 1232449377.P31789Q0M963611.mail2 and when I using the server called mail the file stay like this: 1232449377.P31789Q0M963611.mail I'm using drbd disk for the mailboxes and when I'm using the server called mail the files with mail2 on the end is not read for the dovecot when the user turn on the mail client but if I change the end from mail2 to mail that's ok the dovecot can read. How can I make dovecot read both files or any name on the end? The file name makes absolutely no difference to Dovecot. Your problem is something else. How exactly does the problem show up? Does Dovecot log something? -- First they ignore you, then they laugh at you, then they fight you, then you win. - Mahatma Gandhi Linux User #373408 cabelohw.blogspot.com GPGkey ID 8AEEAAEB -- http://pgp.mit.edu signature.asc Description: This is a digitally signed message part
Re: [Dovecot] help on writing a rule for perventing spam
On S 24 Jan, 2009, at 21:45 , mouss wrote: From what I understand he is rejecting backscatter that is sent to some of his old addresses (with an identical forged sender, Note the from in claims to be sent FROM but this is irrelevant) and from there forwarded to his mail server. Very bad. If you have configured forwarding somewhere you must be prepared to accept anything from there, or else you will be the cause of backscatter as the peer server is a genuine server and not a spambot. you misunderstd ;-p whoops! I wrote with an identical forged sender, but this is irrelevant, clearly that was NOT irrelevant. I should have paid more attention to that. Anyway, your document should not be just called backscatter how-to, as backscatter will have (if really such), most of the time, an empty sender. The only exception are some idiotic virus scanners. g
Re: [Dovecot] Dovecot-1.1.9 fails to work with Thunderbird
On Sat, 2009-01-24 at 08:47 -0600, David Favor wrote: Jan 24 06:34:29 net1 dovecot: uid specified multiple times for david-x...@coolsurf.com Fixed: http://hg.dovecot.org/dovecot-1.1/rev/943339025578 And a related fix: http://hg.dovecot.org/dovecot-1.1/rev/69901064e657 I guess I'll have to get v1.1.10 out. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] get maildir current quota usage from external program
On Fri, 2009-01-23 at 10:42 -0200, Allison Vollmann wrote: Hello, i want to get the maildir current quota usage of an user, but i'd know what is the better way to do. in imap clients my quota usage, in example, show: 505KB, but if i sum only the size of each message from Maildir, i get total: 440KB, trying to use real and apparent block size but the sum differs from value showed in imap client. is quota usage based on why, have another way to do this? Dovecot counts quota using messages' real sizes in bytes. You could detect if Dovecot has done a miscalculation somewhere by deleting maildirsize file and seeing if it's still the same after recalculation. Anyway one possibility of getting the quota is just to log in and get the quota. For example you could set up a master user (see wiki) and allow it to log in only from localhost. Or maybe you could run imap directly, something like: USER=wanted_user dovecot --exec-mail imap 1 GETQUOTAROOT INBOX signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Dict quota negative values in MySql table?
I have it :-) The values are negative because they are relative to the messages count and the used storage at the timepoint of Quota Plugin initialization. If I would have had x messages in my INBOX before quota initialization, then I would have started the Quota Plugin and I would have deleted y messages, then I would have had a (x-y) messages count in the MySql quota table... and the same is valid for storage :-) Best regards
Re: [Dovecot] Dict quota negative values in MySql table?
On Sat, 2009-01-24 at 13:00 +0100, mich...@lattari.pl wrote: Hi! I have a question about the dictionary quota :storage and :messages values in MySql quota table. How to interpret the following values? Why some values are negative? Are the values relative to something? You should treat negative values the same way as if the quota wasn't known yet. The only time they should happen is when user hasn't yet a) asked the current quota, b) saved any new messages, but has expunged messages. So for example since you enabled quota: | mlattari | quota/storage | -6976 | | mlattari | quota/messages | -3 | mlattari has expunged 3 messages, but hasn't saved any messages. | llattari | quota/storage | -2147483648 | | llattari | quota/messages |-874 | The byte count is pretty weird here. Did llattari really expunge exactly 2 GB of mails?.. | mlattari_archivum_imap | quota/storage | 282475 | | mlattari_archivum_imap | quota/messages | 5 | This is how it should look like normally. All the negative entries anyway are eventually recalculated by Dovecot. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dotlock timestamp trouble
2.6.9 is old and there are several NFS bugs in older 2.6 kernels. So I'd try upgrading. I've really no idea what else could be the problem. On Fri, 2009-01-23 at 11:29 -0200, Giorgenes Gelatti wrote: Is there any know issue about it on kernel 2.6.9 (centos)? Any other mount options I could try? Thank you. 2009/1/21 Giorgenes Gelatti giorge...@gmail.com Dovecot is running on a linux machine (2.6 kernel). The nfs was mounted as: nfs rw,vers=3,proto=tcp,intr,nolock,noexec,rsize=8192,wsize=8192 0 0 After your hint we added the noac flag: nfs rw,vers=3,proto=tcp,intr,nolock,noexec,noac,rsize=8192,wsize=8192 0 0 But the error continues with differences of 120 and 60 seconds. Thanks for the reply, gpg 2009/1/20 Timo Sirainen t...@iki.fi On Tue, 2009-01-20 at 14:36 -0200, Giorgenes Gelatti wrote: Created dotlock file's timestamp is different than current time (1232468644 vs 1232468524): /path/to/dovecot.index.log The IT guy swears the clocks are sincronized. the difference in the above message is exactly 120 seconds. Are they all 120 seconds? I'm using dovecot 1.1.6 over NFS. Any thoughts? What OS are you using on the NFS clients? Perhaps this is a caching issue, have you tried changing/disabling attribute cache timeouts? signature.asc Description: This is a digitally signed message part
Re: [Dovecot] behavior of dovecot with Openldap
On Fri, 2009-01-23 at 15:17 +0900, Masaharu Kawada wrote: Any idea what Dovecot version? rhel4 had 1.0.rc15 I think? I know there were some LDAP bugs in it, but I don't really remember anymore. Did Dovecot really try to access the server2, or was it simply unable to reconnect to the LDAP server at all? If the latter, it's probably just rc15 bug. Since the customer has been using RHEL4.3, Dovecot version should be something in between dovecot-0.99.11-2.EL4.1 and 0.99.11-9.EL4. These are all for RHEL4. I'm sorry that I have not been provided the version. Like Charles said, from my point of view v0.99 is dead and buried. It's simply too old version to waste any time on its bugs. 1. About the specification of dovecot for reconnection In case Dovecot switch to server2 due to server1 gets some problems such as service down, does the server2 never reconnect to the server1 even the server1 become available to respond again? Even if so, is it sure that if the server2 is down, then does Dovecot normally try to connect to the server1? All of this is handled by OpenLDAP library internally and I don't know how it works. But my GUESS is that it always simply connects to the first working server and never disconnects from it by itself. 2. Configuration by 'hosts' and 'uris' parameter in dovecot-ldap.conf Is there any differences for the way to reconnectionś behavior between those parameter? I believe that both parameter can specify sevral ldap server, then I would like to know whether each parameter does the action for reconnection in the same way. Again this is handled by OpenLDAP internally. And again my GUESS is that there's no difference between their reconnection handling. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Shared mailboxes support status
On Thu, 2009-01-22 at 14:11 +0100, Thomas Hummel wrote: On Wed, Jan 21, 2009 at 08:57:40PM +0100, Robert Schetterer wrote: I guess part of the answer is in the diffences between shared and public namespaces handling. yes and imap_acls My understanding of rfc2342 and dovecot is that : personnal namespace == private malboxes == mailboxes one's own other user's namespace == shared mailboxes == mailboxes one's own and somone else has access to shared namespace == public mailboxes == mailboxes everybody or only some user has access to but which don't belong to a particular user My understanding is that 1.1. support only personnal and shared namespaces (as defined in rfc2342) Am I correct ? Yes. And too bad RFC 2342 used shared namespace naming for public namespace. Even its examples at the end use #shared/ for other users' namespace and #public/ for shared namespace. I hadn't actually even realized before that it used this kind of naming. Maybe we could simply not use its naming at all, since I think Dovecot's private/shared/public names are much more understandable :) Is the difference, feature wise, between 1.1. and 1.2, just the addition of shared namespaces in 1.2, and maybe, as you said ACLs ? What's changed regarding ACL ? The addition is the ability for normal users to share their mailboxes to other users using IMAP ACL commands. v1.1 doesn't have any of this, only sysadmin can set up shared mailboxes. In short : what exactly are the difference (at a feature level, not a coding level) between 1.1. and 1.2 regarding those concepts ? And is the support in 1.1. of personnal and shared namespace (as in rfc2342) stable ? Dovecot's private and public namespaces behave nearly identically, so yes, those are stable. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Problem with dovecot config
On Fri, 2009-01-23 at 12:48 -0600, Thomas M Goerger wrote: Jan 23 12:46:57 mars.tc.umn.edu imap(dump-capability): : [ID 817342 mail.error] dlopen(/opt/dovecot1.8/lib/dovecot/imap/lib01_acl_plugin.so) failed: ld.so.1: imap: fatal: relocation error: file /opt/dovecot1.8/lib/dovecot/imap/lib01_acl_plugin.so: symbol i_strcmp_p: referenced symbol not found Your linker was trying to be smart and didn't include i_strcmp_p() function in imap binary, because it wasn't used anywhere in the imap binary itself. ACL plugin needs it, but since linker dropped it it's no longer there. The possibilities for how to fix this would be: a) Modify linker flags so that it doesn't drop all these unused functions. b) Move the i_strcmp_p() code to ACL plugin. c) Use i_strcmp_p() somewhere in IMAP code. d) Make liblib.a a shared library instead so that the linker won't try to drop useful stuff. I think for now you should go with a), b) or c). The long term solution will be d), but I wasn't really planning on doing it soon.. Hmm. Maybe for v1.3. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] FOLDER INTERNAL DATA (uw pine header)
On Fri, 2009-01-23 at 15:35 -0500, Charles Gregory wrote: But even if it works as described above, it would not be a consistent timestamp of when someone last read their mailbox. It looks like dovecot updates the ~/mail/.imap/INBOX/dovecot.index.log with each read, even via pop3, so I should be okay using that I can then just use a snip of code to check whether that file or the pseudo-message from Alpine is 'newer'. The dovecot.index.log isn't modified unless something has actually changed. Maybe the difference is that Alpine writes the pseudo message also when creating the mailbox (or when selecting the created empty mailbox). Alpine actually updates the message with each read. In particular, it updates the X-IMAP: line. Huh? What does it write there? It should update it only when there have been new messages, not on every read.. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Dict quota negative values in MySql table?
Thank you for the exhaustive explanation! Now I understand it and the quota is EXACT when I verify it running USER=wanted_user dovecot --exec-mail imap 1 GETQUOTAROOT INBOX as you suggested somewhere else in the mailing list Best regards michael lattari
Re: [Dovecot] Bug or other issue? Jan 22 00:02:09 argon postfix/pipe[21251]: E8126A3671: to=m...@seonic.net, orig_to=root, relay=dovecot, delay=0.38, delays=0.03/0/0/0.35, dsn=5.3.0, status=bounce
On Thu, 2009-01-22 at 00:32 +0100, Markus Schirp wrote: deliver(u...@example.tld): Panic: file istream-tee.c: line 144 (i_stream_tee_read): assertion failed: (ret 0) Looks like a bug. I'll see if I can figure out how to fix it. The box had filesystem issues a month ago. I sucessufly fscked it. Do you think its a hidden fs problem or a dovecot issue? It's most likely a Dovecot bug. The only alternative is a random CPU/memory bug. In any case it's not a filesystem problem. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] maildirfolder is created world-writeable
On Wed, 2009-01-21 at 20:06 +1100, Robert S wrote: If I create a new folder using a mail client (eg. kmail/OE), the maildirfolder file is created world-writable. I assume that this is a security risk and should be -rw---. Yes, it shouldn't be world-writable, fixed: http://hg.dovecot.org/dovecot-1.1/rev/22c279ca3bb4 Anyway there isn't really much danger with how it was previously, because: 1) The directory was created with 0700 permissions, so no-one could write to the file. 2) Even if someone was able to write to the file, the worst that could happen is that the owner's disk quota was reduced. The maildirfolder file is never read by Dovecot. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] dovecot 1.2 latest copy delete etc perfomance slowed down extremly works partly, with disable imap quota it works
On Tue, 2009-01-20 at 16:02 +0100, Robert Schetterer wrote: looking about last patches ( dict quota quota code ) imap copy delete etc works nice again by disabling imap quota so you may have a look about your last quota dict patches Should be fixed now. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Shared Mailboxes (symlink) and kmail: known issues? [partly solved]
On Tue, 2009-01-20 at 19:07 +0100, Wilhelm Meier wrote: Other question: is it save with respect to dovecot to remove the T-flagged messages in the maildir, e.g. per inotify? Yes, this is a hack, I know. Yes, it's safe. Although if you're using quota it's not updated then. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] userdb didn't return a home directory with v1.1.7
On Tue, 2009-01-20 at 23:38 +0200, Ivars Strazdiņš wrote: $ sudo /usr/sbin/dovecot --exec-mail ext /usr/lib/dovecot/expire-tool --test Error: userdb(us...@mail.example) didn't return a home directory .. userdb: driver: sql args: /etc/dovecot/dovecot-mysql.conf What is the user_query in dovecot-mysql.conf? Does it return a field called home? If it does, set auth_debug=yes and show the logs when running the command? Although I don't see why 1.1.6 wouldn't have given this error also.. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Dovecot handling of over quota messages
On Sat, 2009-01-17 at 21:02 +0100, Andrzej Adam Filip wrote: Are there any plans to allow MTA check recipient over quota status? Not really. Perhaps once LMTP server is implemented, since it pretty much requires the same functionality. Sendmail support simple socket map protocol that can be used for such queries. Wasn't the socket map also (mainly?) used for verifying if a user exists? That I have been planning on implementing some day (for last 5 years or so). signature.asc Description: This is a digitally signed message part
Re: [Dovecot] troubles with 1.1.8 and squirrelmail over HTTPS
On Tue, 2009-01-20 at 10:06 +0100, Frank Bonnet wrote: Timo Sirainen wrote: On Thu, 2009-01-15 at 16:25 +0100, Frank Bonnet wrote: I had to increase the max_mail_processes to 8192 to have a functionnal IMAP server with normal clients AND squirrelmail clients 8192 sounds enormous to me , any infos welcome ! How many imap processes have you running typically? Did you found any explaination to this problem ? Do you think it could be a Linux problem or a Dovecot problem ? If the problem had to do with max_mail_processes, Dovecot would have logged: Maximum number of mail processes exceeded (see max_mail_processes setting) Did it? If you can't find that from logs, then either you're not looking at the right logs (http://wiki.dovecot.org/Logging) or changing the max_mail_processes didn't actually do anything and instead simply restarting Dovecot fixed it (or the original problem just happened to go away for some other reason). signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Broken dovecot-uidlist files
On Tue, 2009-01-20 at 11:11 +0100, Ulrich Zehl wrote: I have just upgraded to 1.1.8, hoping to fix these types of errors: Jan 20 10:39:27 laura deliver(xxx...@example.net): Broken file /srv/storage/mail/store/net/example/xx/xx/Maildir/dovecot-uidlist line 156: Invalid data: Jan 20 10:41:19 laura dovecot: POP3(yy...@example.at): Broken file /srv/storage/mail/store/at/example/yy.yy/Maildir/dovecot-uidlist line 2: Invalid data: Unfortunately, they still pop up. Since I suspect these errors to be responsible for customers complaining about downloading mails twice, I'd like to fix them. Yes, probably the reason. Our setup has multiple servers sharing the same NFS-mounted directory for maildirs and indexes; we have set mmap_disable = yes dotlock_use_excl = yes fsync_disable = no mail_nfs_index = yes lock_method = fcntl What about mail_nfs_storage=yes? As far as I can tell, for at least one of these errors, there was no concurrent access to the mailbox in question. Are you also using Dovecot deliver? signature.asc Description: This is a digitally signed message part
[Dovecot] No Spaces in Directory names
How can I make it so my users can not create folders with spaces in them? Or allow them to create such folders but rewrite them on the hardrive with a _ or some other symbol. I have looked threw the wiki but couldn't find anything about folder name restrictions or folder name rewriting (rewrite the space to a _). Im having problems with some of the expire and compress scripts when it hits these types of folders. Is dovecot able to restrict or rewrite the names of imap folders? dovecot -n # 1.1.9: /usr/local/etc/dovecot.conf # OS: Linux 2.6.27.9-159.fc10.i686 i686 Fedora release 10 (Cambridge) ext3 listen: *:143 ssl_listen: *:993 ssl_cert_file: /etc/postfix/SSL/mail.mattrude.com.cert ssl_key_file: /etc/postfix/SSL/mail.mattrude.com.key login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_user: postfix mail_location: maildir:/var/spool/virtualmailboxes/%d/%u/imap/:INBOX=/var/spool/virtualmailboxes/%d/%u/ mail_plugins: quota imap_quota zlib auth default: mechanisms: plain login cram-md5 cache_size: 128 cache_ttl: 600 master_user_separator: * passdb: driver: sql args: /etc/dovecot-mysql.conf passdb: driver: sql args: /etc/dovecot-sql-master.conf pass: yes master: yes userdb: driver: sql args: /etc/dovecot-mysql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: virtualmail group: virtualmail plugin: sieve: /var/spool/virtualmailboxes/%d/%u/dovecot.sieve sieve_storage: = /var/spool/virtualmailboxes/%d/%u/ quota: maildir quota_rule: *:storage=10M quota_rule2: Trash:storage=20% Thanks -Matt signature.asc Description: OpenPGP digital signature
[Dovecot] help writeing rule for preventin spam
I used dovecot-1.1.7 + qmail-jms1-7+ vpopmail + ... everyday , everyuser has many spams from his/her mail to his/her for example in Bulk folder there are many spam e-mails that the sender is ourselves (from mym...@mydomain to mys...@mydomain) how can i prevent these types of spam -- with regards Sophia Alikhani WorkPhone: +98-21-8497057 Mobile : +98-912-3361036
Re: [Dovecot] Dovecot handling of over quota messages
Timo Sirainen t...@iki.fi wrote: On Sat, 2009-01-17 at 21:02 +0100, Andrzej Adam Filip wrote: Are there any plans to allow MTA check recipient over quota status? Not really. Perhaps once LMTP server is implemented, since it pretty much requires the same functionality. Sendmail support simple socket map protocol that can be used for such queries. Wasn't the socket map also (mainly?) used for verifying if a user exists? That I have been planning on implementing some day (for last 5 years or so). AFAIR Socket map was originally intended to allow stable sendmail code integration of multitude of databases (mysql,oracle,postgress,...). Currently it is used to ask Cyrus IMAP if user (recipient) exists. - It may be used to: 1a) ask mailbox server with virtual domain (e.g. dovecot) which domain it wants/handles at sendmail daemon startup 1b) reject messages to overquota mailboxes in reply to RCPT TO: (4??/5???) [Cyrus IMAP does not try to detect this message will cross quota] 1c) implement aliases It should allow per virtual domain email administrators implemented in dovecot. 1d) allow users to specify at 'RCPT TO:' sieve scripts All the above (1*) requires only modifications in sendmail.cf at sendmail side. - After modification of sendmail source code socket map may be used to pass to sendmail information about virtual users (uid,gid,$HOME). It should allow: 2a) supporting .forward files *for virtual users* (e.g. ~/.forward.user) 2b) making sendmail execute deliver program with uid and gid of virtual user - Consider also implementing support for (simple) saslauth protocol together with socket map = it will allow sendmail (without dovecot sasl support) to use/check passwords stored by dovecot in SMTP AUTH. -- [plen: Andrew] Andrzej Adam Filip : a...@onet.eu This generation doesn't have emotional baggage. We have emotional moving vans. -- Bruce Feirstein
Re: [Dovecot] userdb didn't return a home directory with v1.1.7
Timo Sirainen wrote: On Tue, 2009-01-20 at 23:38 +0200, Ivars Strazdiņš wrote: $ sudo /usr/sbin/dovecot --exec-mail ext /usr/lib/dovecot/expire-tool --test Error: userdb(us...@mail.example) didn't return a home directory .. userdb: driver: sql args: /etc/dovecot/dovecot-mysql.conf What is the user_query in dovecot-mysql.conf? Does it return a field called home? If it does, set auth_debug=yes and show the logs when running the command? Although I don't see why 1.1.6 wouldn't have given this error also.. r...@mail:/etc/dovecot# cat dovecot-mysql.conf | grep quer password_query = SELECT password FROM mailbox WHERE username = '%u' user_query = SELECT maildir, 1000 AS uid, 1000 AS gid FROM mailbox WHERE username = '%u' r...@mail:/etc/dovecot# But I think I found the reason yet still do not know why this had happen... Expire table had records with strangely looking timestamp record for those two users. I deleted them and expire-tool errors vanished. If this will ever happen again I let you know and show these timestamps. BR, Ivars
Re: [Dovecot] userdb didn't return a home directory with v1.1.7
On Mon, 2009-01-26 at 16:55, Ivars Strazdiņš wrote: r...@mail:/etc/dovecot# cat dovecot-mysql.conf | grep quer password_query = SELECT password FROM mailbox WHERE username = '%u' user_query = SELECT maildir, 1000 AS uid, 1000 AS gid FROM mailbox WHERE username = '%u' r...@mail:/etc/dovecot# user_query = SELECT maildir as home, 1000 AS uid ...
Re: [Dovecot] No Spaces in Directory names
On Jan 25, 2009, at 10:49 PM, Matt Rude wrote: How can I make it so my users can not create folders with spaces in them? Or allow them to create such folders but rewrite them on the hardrive with a _ or some other symbol. I have looked threw the wiki but couldn't find anything about folder name restrictions or folder name rewriting (rewrite the space to a _). Im having problems with some of the expire and compress scripts when it hits these types of folders. Is dovecot able to restrict or rewrite the names of imap folders? No. How about if you fixed your scripts instead?