Re: [Dovecot] Vacation: Missing file .dovecot.lda-dupes ?

2009-02-03 Thread Tobias Balle-Petersen
Hi there Timo. Your suggestion worked like a charm. Thanks a lot for this and all your hard work on Dovecot. Tobias Timo Sirainen wrote: On Tue, 2009-01-27 at 13:56 +0100, Tobias Balle-Petersen wrote: Hello I'm using the vacation feature, but the vacation reply is sent when ev

[Dovecot] Vacation: Missing file .dovecot.lda-dupes ?

2009-01-27 Thread Tobias Balle-Petersen
Hello I'm using the vacation feature, but the vacation reply is sent when ever a mail is received. What I want is, that the reply should only be sent one time to each user. My understanding is, that a list of people who have received the vacation message should be stored in the file .dov

Re: [Dovecot] store sieve scripts with maildir

2008-11-17 Thread Tobias Balle-Petersen
Hello... I had the problem described in this thread. I fixed it by changing the dovecot.py program in the pysieved package. My mailfolders are all in /home/vmail/USERNAME. The last two lines (comment + code) in the code below is my addition to dovecot.py. The code above my lines are there to

Re: [Dovecot] Deliver - Quota - [Solved]

2008-02-22 Thread Tobias Balle-Petersen
Hello... I had configured mail_plugin twice in the "protocol lda" section of dovecot.conf DOH! I'm assuming the last entry (cmusieve) overwrote the first entry (quota). I have cmusieve and quota on one line now and things work as expected. Tobias

Re: [Dovecot] Deliver - Virtual users

2008-02-22 Thread Tobias Balle-Petersen
Hello... Is this also true for my problem with users over quota receiving mails? Tobias Gerard wrote: Rejecting mail has to occur at the MTA level.

Re: [Dovecot] Deliver - Virtual users - [SOLVED]

2008-02-22 Thread Tobias Balle-Petersen
Hello I still have the problem of deliver not honoring quotas. Users over quota still receive mail. Tobias Tobias Balle-Petersen wrote: Hello... As Charles Marcus said, my problem is with postfix, not dovecot.

Re: [Dovecot] Deliver - Virtual users - [SOLVED]

2008-02-22 Thread Tobias Balle-Petersen
Hello... As Charles Marcus said, my problem is with postfix, not dovecot. I have solved my problem like this: 1. Create file /etc/postfix/ldap/local_recipients.cf with content: bind = no server_host = ldap://192.168.0.51:389 search_base = cn=users,dc=yoiko,dc=local,dc=kontrapunkt,dc=dk query

[Dovecot] Deliver - Virtual users

2008-02-22 Thread Tobias Balle-Petersen
Hello... I have dovecot 1.0.10 running with users in an LDAP database. Things are working as they should with IMAP. However, I can't seem to make deliver w. postfix work they way I want. My problems are: Mail to users who do not exist in LDAP or locally are accepted and mailfolders are creat

Re: [Dovecot] on dovecot quota.

2008-02-22 Thread Tobias Balle-Petersen
Hello... You should probably have a look at this: http://wiki.dovecot.org/Quota/Maildir?highlight=%28ignore%29%7C%28trash%29 A "delete" operation in many clients means that the mail is copied to Trash mailbox and then expunged from the original mailbox. This means that the delete operation will

[Dovecot] 1.0.10 - Can deliver get quotas from users maildirsize?

2008-02-20 Thread Tobias Balle-Petersen
Hello... I'm experimenting with controlling users quota by manipulation the maildirsize files in virtual users (LDAP) homedirs (Is this OK?). This works with IMAP, but deliver via postfix delivers mail to users even if they are over quota. I would like to reject new mails in this case. Any id

Re: [Dovecot] 1.0.10 / Quota postlogin / Deliver - Not working according to the wiki?

2008-02-19 Thread Tobias Balle-Petersen
: path: /var/run/dovecot/auth-master mode: 432 user: vmail group: mail plugin: quota: maildir trash: /etc/dovecot/dovecot-trash.conf sieve: /home/vmail/%n/.dovecot.sieve Tobias Balle-Petersen wrote: Hello Timo. I'm not sure that I have correctly understood your sugges

Re: [Dovecot] 1.0.10 / Quota postlogin / Deliver - Not working according to the wiki?

2008-02-19 Thread Tobias Balle-Petersen
Hello Timo. I'm not sure that I have correctly understood your suggestions, but this is what I have tried to do in order to control users' quota from the file maildirsize. 1. Put "quota = maildir" in section "plugin {" 2. Put "quota = maildir" in section "protocol lda {" 3. Move section "proto

Re: [Dovecot] 1.0.10 - Getting user-quota from an Apple Open Directory?

2008-02-19 Thread Tobias Balle-Petersen
Hello... Maybe I could have a script extract the quota-data from the LDAP-server and save it in the file maildirsize in the users homes? Any thoughts on this approach? Tobias Tobias Balle-Petersen wrote: In Open Directory, a users mail-info is saved as XML-formated data in the field apple

[Dovecot] 1.0.10 / Quota postlogin / Deliver - Not working according to the wiki?

2008-02-15 Thread Tobias Balle-Petersen
Hello I load quotas from users homefolders using postlogin like this: - #!/bin/sh # Read users quota if [ -f ~/quota ]; then export QUOTA=`cat ~/quota` fi # Start IMAP session exec /usr/lib/dovecot/imap - User without a quota-file in their

[Dovecot] 1.0.10 - Getting user-quota from an Apple Open Directory?

2008-02-15 Thread Tobias Balle-Petersen
Hello I'm running dovecot 1.0.10 with users in an LDAP database (Apples Open Directory). In Open Directory, a users mail-info is saved as XML-formated data in the field apple-user-mailattribute as seen below. I want to extract the value key "kUserDiskQuota". Nay ideas on how to accomplish

Re: [Dovecot] 1.0.10 / Quota postlogin / Deliver - Not working according to the wiki?

2008-02-15 Thread Tobias Balle-Petersen
Timo Sirainen wrote: Because the script is run only when logging in with IMAP, not when delivering new mails, so deliver runs with the default quota limit. OK. I was confused because a user over limit (from personal quota-file) indeed gets his messages deleted when new mail comes in. I see now

Re: [Dovecot] quota doesn't work?

2008-02-15 Thread Tobias Balle-Petersen
Mauro Sanna wrote: I'm using postfix to send messages. Yes, postfix saves the mail but when dovecot sees that mail, for example, mail X is over quota I think it may reject it. Perhaps I need quota support for postfix? Sounds to me like: 1. You send a 10MB mail via postfix. The mail is sent succ

Re: [Dovecot] Expected size of index-files?

2008-02-12 Thread Tobias Balle-Petersen
Hello all. Thanks for all the input on this. Thanks, Tobias Tobias Balle-Petersen wrote: Im considering moving my index-files to a RAID1. How big do these files get? What should I plan for?

[Dovecot] Expected size of index-files?

2008-02-08 Thread Tobias Balle-Petersen
Hello... Im considering moving my index-files to a RAID1. How big do these files get? What should I plan for? Thanks, Tobias

Re: [Dovecot] Editing sieve scripts via webmail?

2008-02-06 Thread Tobias Balle-Petersen
Hello... Found references to pysieved on the wiki. Sorry. Tobias

[Dovecot] Editing sieve scripts via webmail?

2008-02-06 Thread Tobias Balle-Petersen
Hello... I have dovecot 1.0.10 running with the sieve plugin and virtual users (LDAP). My webmail is squirrelmail. I want to allow the users to create sieve-scripts via a squirrelmail-plugin. The plugins seems to require that the IMAP-server is cyrus. What are the options for dovecot? Thanks

[Dovecot] IMAP quotas - Reasonable size?

2008-02-05 Thread Tobias Balle-Petersen
, but some users demand 15GB+. Does dovecot "prefer" mailboxes within a certain size? Looking forward to hear your thoughts on the subject. Thanks, Tobias Balle-Petersen