[Dovecot] Deliver parameter problem
Umut Arus
umuta at sabanciuniv.edu
Tue Sep 11 08:35:44 EEST 2007
Hello,
I'm using dovecot-1.0.5 with postfix. I have to use deliver from
procmail because I have some filters. There is no document about how to
using deliver parameters (-d) other than http://wiki.dovecot.org/LDA .
If I set -d parameters manually as a username everything is ok. I can
not set users' mail quota (don't lookup) with mysql db if
I haven't set -d parameter as receipt username in procmail.
How can I describe user (-d) parameter's variable in procmail?
Procmail configuration,
:0
| /usr/local/dovecot/libexec/dovecot/deliver -f $blabla -d $blabla2
Output of the configuration,
# 1.0.5: /usr/local/dovecot/etc/dovecot.conf
protocols: imap imaps pop3 pop3s
listen: 10.1.1.168
ssl_cert_file: /usr/local/dovecot/etc/dovecot.cert.pem
ssl_key_file: /usr/local/dovecot/etc/dovecot.key.pem
disable_plaintext_auth: no
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login
mail_location:
maildir:%h/Maildir:INDEX=/var/no-quotas/index/%u:CONTROL=/var/no-quotas/control/%u
mail_debug: yes
mail_full_filesystem_access: yes
mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap
mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap
mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3):
mail_plugin_dir(default): /usr/local/dovecot/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/dovecot/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/dovecot/lib/dovecot/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xv%08Xu
namespace:
type: private
separator: /
location:
maildir:~/Maildir:INDEX=/var/no-quotas/index/%u:CONTROL=/var/no-quotas/control/%u
inbox: yes
namespace:
type: private
separator: /
prefix: mail/
location:
maildir:~/Maildir/.mail:INDEX=/var/no-quotas/index/%u:CONTROL=/var/no-quotas/control/%u
auth default:
verbose: yes
debug: yes
passdb:
driver: pam
userdb:
driver: sql
args: /usr/local/dovecot/etc/dovecot-sql.conf
userdb:
driver: prefetch
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 438
plugin:
quota: maildir:storage=500000:ignore=trash
regards,
More information about the dovecot
mailing list