[Dovecot] 1.0.rc24 released / quota / trash / ignore
Robert Schetterer
robert at schetterer.org
Fri Feb 23 00:16:48 UTC 2007
Timo Sirainen schrieb:
> On 23.2.2007, at 1.09, Robert Schetterer wrote:
>
>>> - Trash plugin was more or less broken with multiple namespaces and
>>> with multiple trash mailboxes
>>>
>> Hi Timo,
>> did you change something with trash plugin, which seemed to me still be
>> broken in 1.rc23?
>
> Yes.
>
>> and i missed the download url in your mail *g
>
> Yea, forgot it this time.
Hi Timo,
i am sorry that
trash plugin lda seems not to work in 1.rc24
as well :ignore=Trash in quota with sql
incomming mail is simply bounced
with over quota, and i cant delete messages to trash if this would go
over quota
i have nothing special in the logs about the missfunction,
what should i do to give you more verbose info for checking the bug?
this are confs
auth_verbose = yes
mail_debug = yes
pop3_uidl_format = %08Xu%08Xv
base_dir = /var/run/dovecot/
protocols = imap imaps pop3 pop3s
listen = *
shutdown_clients = yes
log_path = /var/log/dovecot
info_log_path = /var/log/dovecot.info
log_timestamp = "%b %d %H:%M:%S "
disable_plaintext_auth = no
ssl_disable = no
login_chroot = no
#maildir_copy_with_hardlinks = yes
ssl_cert_file = /etc/postfix/mailserver.cert
ssl_key_file = /etc/postfix/mailserver.key
# Login processes
login_dir = /var/run/dovecot/login
login_process_per_connection = no
login_processes_count = 5
# Set limit for MySQL lookup processes
auth_worker_max_count = 50
login_greeting = Welcome
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
default_mail_env = maildir:/usr/local/virtual/%h
first_valid_uid = 1001
protocol imap {
mail_plugins = quota imap_quota trash
}
protocol pop3 {
mail_plugins = quota
}
plugin {
quota = maildir:ignore=Trash
trash = /etc/dovecot/dovecot-trash.conf
}
mail_extra_groups = mail
protocol lda {
mail_plugins = cmusieve quota trash
log_path = /var/log/dovecot-deliver.log
info_log_path = /var/log/dovecot-deliver.log
postmaster_address = postmaster at darkchatroom.de
auth default {
mechanisms = plain
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb prefetch {
}
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
group =vmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = mail
}
}
}
}
sql-conf
driver = mysql
connect = dbname=postfix user=root host=127.0.0.1 password=...
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username = '%u' AND
active = '1'
user_query = SELECT concat('/usr/local/virtual/', maildir) AS home,
concat('maildir:/usr/local/virtual/', maildir) AS mail, 1001 AS uid,
1001 AS gid, concat('dirsize:storage=' , ROUND( mailbox.quota / 1024
),':ignore=Trash') AS quota FROM mailbox WHERE username = '%u' AND
active = '1'
--
Mit freundlichen Gruessen
Best Regards
Robert Schetterer
https://www.schetterer.org
Munich/Bavaria/Germany
More information about the dovecot
mailing list