dovecot+quota jogosultsági gond

Fórumok

Sziasztok!

A kérdésem egyszerű. Adovecot-hoz kell patch ahhoz ha a quota-t akarom használni. Ugyanis beállítottam ahogy a leírásban van és cseszik menni. A postfix-ben be kell hozzá állítani valamit?

Hozzászólások

Melyik quota megoldast valasztottad, mert tobbfele van. (es szerintem nem mindegyikhez kell patch)

Es ugye a sajat LDA-jat hasznalod ?

Így csináltam:

dict {
quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
A Plugin Settings részbe pedig így:
plugin {
quota = dict
}
Aztán azal is próbálkoztam, hogy a protocol imap részbe felvettem ezeket:
protocol impap {
mail_plugins = quota imap_quota
mail_plugin_dir = /usr/lib/quota/imap
}

Az LDA igazából mire is való?

Megnéztem. Köszi. Be is állítottam a postfix-et, hogy a transport a dovecot legyen. Most már csak egy gondom van.
May 26 13:32:17 debian postfix/pickup[4858]: CAAC3C18E: uid=0 from=
May 26 13:32:17 debian postfix/cleanup[4913]: CAAC3C18E: message-id=<20080526113217.CAAC3C18E@debian>
May 26 13:32:17 debian postfix/qmgr[4862]: CAAC3C18E: from=, size=268, nrcpt=1 (queue active)
May 26 13:32:17 debian deliver(user@test.com): Loading modules from directory: /usr/lib/dovecot/modules/lda
May 26 13:32:17 debian deliver(user@test.com): Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so
May 26 13:32:17 debian deliver(orion@test.com): auth input: user@test.com
May 26 13:32:17 debian deliver(orion@test.com): auth input: home=/home/vmail/test.com/user
May 26 13:32:17 debian deliver(orion@test.com): auth input: uid=5000
May 26 13:32:17 debian deliver(orion@test.com): auth input: gid=5000
May 26 13:32:17 debian deliver(orion@test.com): setgid(5000) failed with euid=5000, gid=8, egid=8: Operation not permitted
May 26 13:32:17 debian postfix/pipe[4916]: CAAC3C18E: to=, relay=dovecot, delay=0.11, delays=0.07/0.01/0/0.03, dsn=4.3.0, status=deferred (temporary failure)

Látszik, hogy használná a plugin-t, de valamiért jogosultsági hibát ír. Mire panaszkodhat? Megnéztem egy másik topikot ott azt yrták, hogy a mysqld.sock fájlra kell csinálni egy hard linket. Ezt meg is csináltam, de ugyanez. Ötlet?

A jogosultsági hiba az alábbi master.cf fájl behegyzésből fakadt:

dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}

Ugyebár a leírásban így szerepe, de helyesen így van:
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
Gondolom a hibát mindenki észreveszi. (v)