Hi Timo
is this possible a possible setup ?
for downloading imap folders ( including inbox )
with pop3 controlled by a a dovecot-virtual file
in usr/local/virtual/%d/%u/
with content something like that
*
-Trash
-Trash/*
-Sent
-Sent/*
-Drafts
-Drafts/*
all
namespace private {
separator = /
prefix = ""
location=maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/
inbox = yes
subscriptions = yes
list = yes
}
namespace private {
prefix = virtual/
separator = /
location = virtual:/usr/local/virtual/%d/%u:LAYOUT=maildir++
inbox = no
}
it doesnt work yet, but i am nearly sure that i havent
understand
http://wiki.dovecot.org/Plugins/Virtual
perhaps you might bring me on the way
background :
i want to include a global sieve rule which sorts marked spam mails in a
subfolder of inbox called Junk, so that users never can overide it and
set perhaps an autoreply by an Sieve rule by incomming mail to inbox
to make it possible that pop3 users may fetch sorted Spam mails outta
the Junk folder too, i wanna use virtual setup folders
Trash , Sent , Drafts are standart folders
are standart and should be ignored with that
--
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On Jan 26, 2009, at 7:45 PM, Robert Schetterer wrote:> is this possible a possible setup ? > for downloading imap folders ( including inbox ) > with pop3 controlled by a a dovecot-virtual file > in usr/local/virtual/%d/%u/Place that in to e.g.: /etc/dovecot/virtual/INBOX> namespace private { > prefix = virtual/ > separator = / > location = virtual:/usr/local/virtual/%d/%u:LAYOUT=maildir++ > inbox = no > }For pop3 to use virtual mailbox you must use something like: namespace private { prefix = virtual/ separator = / location = virtual:/etc/dovecot/virtual:INDEX=~/virtual subscriptions = no }> namespace private { > separator = / > prefix = "" > location=maildir:/usr/local/virtual/%d/%u/:CONTROL=/usr/local/ > virtual/%d/%u/:INDEX=/usr/local/virtual/%d/%u/ > inbox = yes > subscriptions = yes > list = yeslist = no here.> > }Then depending on if user is logging in with imap or pop3, set inbox=yes to one of those namespaces. What userdb are you using? You'll anyway need to return something like namespace_0_inbox=yes or .. 1.._inbox=yes
Robert Schetterer
2009-Feb-21 23:36 UTC
[Dovecot] dovecot 1.2 virtual folders Virtual mailbox loops: INBOX
Robert Schetterer schrieb:> Timo Sirainen schrieb: >> http://wiki.dovecot.org/Plugins/Virtual now has a hopefully working >> example of how it should be set up. >> > thx for looking at it, i ll try again > but i think you re right in general about > userdb settings overide, but i have mine > in mysql so i have to have a hard look at it as well > as the virtual setup should be only for pop3 users > which i also might set somehow in mysql or per login scripting >Timo , youre great the examples are fully fitting to my needs so i will try and report -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Seemingly Similar Threads
- sieve dovecot2 rc1 error undefined symbol: client_send_tagline
- samba 3.0.20 + squid 2.5 : automatic logon with internet explorer
- folder deletion fails dbox
- dovecot 1.2 plugin virtual and shared namespace with thunderbird
- dovecot 1.2.alpha1 quota dict driver mysql broken