[Dovecot] pop3 index virtual question
Hi @ll, Timo, on 2.0.9 i have a user reporting pop3 leaving mails on the server does not work as desired
i have
namespace default {
type = private
separator = / prefix = "" list = yes
hidden = no
subscriptions = yes }
namespace virtual {
type = private
prefix = "virtual/" separator = / location = virtual:/etc/dovecot/virtual:LAYOUT=maildir++ #location = virtual:/etc/dovecot/virtual
hidden = yes list = no subscriptions= no }
namespace real {
type = private
prefix = "RealMails/" separator = / list = no hidden = yes }
and
pop3_uidl_format = %08Xu%08Xv
before it was pop3_uidl_format = %g ( not sure what best )
Permanently save UIDLs sent to POP3 clients, so pop3_uidl_format changes
won't change those UIDLs. Currently this works only with Maildir.
#pop3_save_uidl = no
my guess is that location = virtual:/etc/dovecot/virtual:LAYOUT=maildir++ isnt enough
should be location = virtual:/etc/dovecot/virtual:LAYOUT=maildir++:INDEX=~/
to store/use indexes in the local maildir which is physical under /usr/local/virtual/domain/user@domain
any meanings to this
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am 08.02.2011 13:31, schrieb Robert Schetterer:
hm seems pop3_uidl_format = %08Xu%08Xv location = virtual:/etc/dovecot/virtual:LAYOUT=maildir++:INDEX=~/virtual is a good setting but i have no feedback yet if the problem "pop3 leaving mails on the server" is solved with that
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On 8.2.2011, at 15.49, Robert Schetterer wrote:
Yes, the INDEX= path had to be put into a per-user directory it would work really badly. But still, I'd suggest using pop3_uidl_format=%f instead (or %g is the same thing). In virtual mailboxes the UIDs are a bit more likely to accidentally change, while %f/%g is based on the backend maildir filename which will never change even if you delete the virtual index files.
Am 08.02.2011 18:30, schrieb Timo Sirainen:
ok, then INDEX=~/virtual is ok ?
this result in
Debug: maildir++: root=/etc/dovecot/virtual, index=/usr/local/virtual/domain.com/user@domain.com//virtual, control=, inbox=
at my setup
the double slash might not hurt , but how setup to avoid it?
it would work really badly
??? didnt understand this please explain
. But still, I'd suggest using pop3_uidl_format=%f instead (or %g is the same thing). In virtual mailboxes the UIDs are a bit more likely to accidentally change, while %f/%g is based on the backend maildir filename which will never change even if you delete the virtual index files.
ok i change back to pop3_uidl_format = %g
Debug: maildir++: root=/etc/dovecot/virtual, index=/usr/local/virtual/domain.com/user@domain.com//virtual, control=, inbox=
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Tue, 2011-02-08 at 21:30 +0100, Robert Schetterer wrote:
I guess your home directory ends with '/'.
it would work really badly
??? didnt understand this please explain
If you put a virtual mailbox's INDEX file into a directory shared by all users, then first user fills it with the user's own mailbox data. The second user who accesses it notices that it's all wrong and replaces with that user's own mailbox data. And so on.
Am 10.02.2011 00:07, schrieb Timo Sirainen:
yes its created by postfixadmin in mysql that way didnt hurt with anything yet for sure i could split away last slash in query but for now it only looks like cosmetical problem, would you agree or are you seeing any major problems in future with that ?
ok thats what i thought
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
participants (2)
-
Robert Schetterer
-
Timo Sirainen