Re: [Dovecot] No Spaces in Directory names

2009-01-25 Thread Timo Sirainen
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 nam

Re: [Dovecot] userdb didn't return a home directory with v1.1.7

2009-01-25 Thread Noel Butler
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/dov

Re: [Dovecot] userdb didn't return a home directory with v1.1.7

2009-01-25 Thread Ivars Strazdiņš
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-

Re: [Dovecot] Dovecot handling of over quota messages

2009-01-25 Thread Andrzej Adam Filip
Timo Sirainen 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

[Dovecot] help writeing rule for preventin spam

2009-01-25 Thread Sophia Alikhani
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

[Dovecot] No Spaces in Directory names

2009-01-25 Thread Matt Rude
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 t

Re: [Dovecot] Broken dovecot-uidlist files

2009-01-25 Thread Timo Sirainen
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 2

Re: [Dovecot] troubles with 1.1.8 and squirrelmail over HTTPS

2009-01-25 Thread Timo Sirainen
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 sou

Re: [Dovecot] Dovecot handling of over quota messages

2009-01-25 Thread Timo Sirainen
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

Re: [Dovecot] userdb didn't return a home directory with v1.1.7

2009-01-25 Thread Timo Sirainen
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_

Re: [Dovecot] Shared Mailboxes (symlink) and kmail: known issues? [partly solved]

2009-01-25 Thread Timo Sirainen
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.as

Re: [Dovecot] dovecot 1.2 latest copy delete etc perfomance slowed down extremly works partly, with disable imap quota it works

2009-01-25 Thread Timo Sirainen
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

Re: [Dovecot] maildirfolder is created world-writeable

2009-01-25 Thread Timo Sirainen
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

Re: [Dovecot] Bug or other issue? Jan 22 00:02:09 argon postfix/pipe[21251]: E8126A3671: to=, orig_to=, relay=dovecot, delay=0.38, delays=0.03/0/0/0.35, dsn=5.3.0, status=bounce

2009-01-25 Thread Timo Sirainen
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 fsck

Re: [Dovecot] Dict quota negative values in MySql table?

2009-01-25 Thread mich...@lattari.pl
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] FOLDER INTERNAL DATA (uw pine header)

2009-01-25 Thread Timo Sirainen
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 sho

Re: [Dovecot] Problem with dovecot config

2009-01-25 Thread Timo Sirainen
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

Re: [Dovecot] Shared mailboxes support status

2009-01-25 Thread Timo Sirainen
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 d

Re: [Dovecot] behavior of dovecot with Openldap

2009-01-25 Thread Timo Sirainen
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

Re: [Dovecot] dotlock timestamp trouble

2009-01-25 Thread Timo Sirainen
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

Re: [Dovecot] Dict quota negative values in MySql table?

2009-01-25 Thread Timo Sirainen
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 trea

Re: [Dovecot] Dict quota negative values in MySql table?

2009-01-25 Thread mich...@lattari.pl
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

Re: [Dovecot] get maildir current quota usage from external program

2009-01-25 Thread Timo Sirainen
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,

Re: [Dovecot] Dovecot-1.1.9 fails to work with Thunderbird

2009-01-25 Thread Timo Sirainen
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

Re: [Dovecot] help on writing a rule for perventing spam

2009-01-25 Thread Giuliano Gavazzi
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. Ver

Re: [Dovecot] Postfix and Dovecot

2009-01-25 Thread Timo Sirainen
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 use

Re: [Dovecot] Dovecot-1.1.9 fails to work with Thunderbird

2009-01-25 Thread David Favor
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) ba