Re: [Dovecot] recalculation of maildir Quota

2007-11-25 Thread Markus Stumpf
On Fri, Nov 23, 2007 at 06:47:41PM +0100, Ingo Rogalsky wrote:
 But one more question: Would it be possible to disable the recalculation
 and do this with a nightly cronjob, which scans all mail accounts?

Depending on your needs you could always use your (Linux?) OS tools and do a
   du -s *
or if supported
   du -sm *
to get the size im MB. Adding a
| sort -nr
gives a nice list with top users of disk space first.
Doing it on the machine that serves the NFS should speed it up significantly.

\Maex



Re: [Dovecot] namespace public folders

2007-11-13 Thread Markus Stumpf
Hoi,

On Tue, Nov 13, 2007 at 02:08:46PM +0300, Nikolay Shopik wrote:
 My question is can I do such setup with dovecot+postfix. Im really appreciate 
 for simple examples how can i accomplish this kind setup if it possible :)

AFAIK the Seen Flag is not maintained on a per user basis.

I do the delivery to the public folders via the aliases mechanism and
the safecat program http://jeenyus.net/~budney/linux/software/safecat.html
which delivers messages from stdin to a Maildir specified on the cmdline.
Along with the safecat comes a maildir sh-script that is a wrapper for
safecat and makes things shorter.

info: |/usr/local/bin/maildir /var/spool/pubfolders/.info
contact: |/usr/local/bin/maildir /var/spool/pubfolders/.info
sales: |/usr/local/bin/maildir /var/spool/pubfolders/.sales

To work around permission problems I have made the safecat programm
setuid dovecot user, executable for owner and group and gave it to the group
postfix handles aliases deliveries with, e.g.:
---s--x--- 1 dovecotu mail 21024 Oct 19 14:26 /usr/local/bin/safecat

HTH,
\Maex

-- 
Markus Stumpf


[Dovecot] truncated messages / attachments

2007-11-05 Thread Markus Stumpf
I am currently running dovecot-1.1.beta6 (at least beta5 also had the
problem)

Retrieving some messages via IMAP gets them truncated and it also happens
with retrieving attachments (message is HTML part of multipart-alternative,
attachments are at least some PDF files).
A user reported she is rather sure one of the messages was ok, before
moving it to some other folder.
In the filesystem the messages are there in full length. It happens with
Outlook as well as with Thunderbird. We're using Maildir.

After upgrading from beta5 to beta6 I have removed all dovecot.index*
files of a folder with a defect message. This didn't make a difference.
(Thought it could be related to some indexing problem).

Any one else seeing this?

\Maex

-- 
Markus Stumpf


Re: [Dovecot] truncated messages / attachments

2007-11-05 Thread Markus Stumpf
On Mon, Nov 05, 2007 at 06:51:36PM +0100, Markus Stumpf wrote:
 In the filesystem the messages are there in full length. It happens with
 Outlook as well as with Thunderbird. We're using Maildir.

*blush*
Ok, please disregard my last post for now.
It looks like it *could* be a leftover truncated message due to the append
problems fixed in beta5.
Looks like I have to look more deeply into this, to rule previous errors
out.

\Maex

-- 
Markus Stumpf