Re: special_use folders still created

2019-01-07 Thread Alex JOST

Am 07.01.2019 um 07:47 schrieb admin:

Hi,

I also experienced that thunderbird behavior, I guess


[...]

When I move a message to Archive in Thunderbird. On the server the
files


What exactly means move? Like drag and drop or via context menu
"archive/archivieren"?


.Archives and .Archives.2018 are created (Thunderbird creates a
subfolder in Archives)

How is this possible? On the server there is already an .Archive
folder
so it should create .Archive.2018 not?


I think this is intended. At least all my clients (thunderbird) do
this. I think mozilla hoped to improve performance on big mailboxes by
simply sorting archived mails by the mail's year.


Thunderbird uses yearly archived folders by default, but this behaviour 
can be changed.


  https://support.mozilla.org/en-US/kb/archived-messages

--
Alex JOST


Re: special_use folders still created

2019-01-06 Thread admin
Hi,

I also experienced that thunderbird behavior, I guess

> [...]
> 
> When I move a message to Archive in Thunderbird. On the server the
> files 

What exactly means move? Like drag and drop or via context menu
"archive/archivieren"?

> .Archives and .Archives.2018 are created (Thunderbird creates a 
> subfolder in Archives) 
> 
> How is this possible? On the server there is already an .Archive
> folder 
> so it should create .Archive.2018 not?

I think this is intended. At least all my clients (thunderbird) do
this. I think mozilla hoped to improve performance on big mailboxes by
simply sorting archived mails by the mail's year.

> 
> [...]
> 

-M
i...@awib.it



Re: special_use folders still created

2019-01-06 Thread Stephan Bosch



Op 15/12/2018 om 19:10 schreef Marc Roos:

dovecot-2.2.36-3.el7.x86_64

The below configuration seems to work for Thunderbird and emclient, when
moving a message to Junk. Emclient uses "Junk E-mail" and Thunderbird
uses "Junk". On the server is only the file .Junk created as expected.

When I move a message to Archive in Thunderbird. On the server the files
.Archives and .Archives.2018 are created (Thunderbird creates a
subfolder in Archives)

How is this possible? On the server there is already an .Archive folder
so it should create .Archive.2018 not?


I can't say I have much experience with such client issues. Your 
configuration doesn't look wrong at first glance. Maybe assigning the 
special use flag to the mailboxes you don't want is a bad idea, but I am 
not sure.


First, you could connect to your IMAP server directly (e.g. using 
telnet) to verify that:


1) The SPECIAL-USE capability is actually announced.

2) The mailbox listed below are actually being returned by LIST command 
with the appropriate arguments.


Then (or alternatively), you can check the communication between your 
clients and Dovecot using the rawlog facility to find out what those are 
doing. That may give you some clues.



Regards,


Stephan.





imap_capability = +SPECIAL-USE


   # drafts folders merging
   mailbox Drafts {
 special_use = \Drafts
 auto = create
   }

   # archive folders merging
   mailbox Archive {
 special_use = \Archive
 auto = create
   }
   mailbox Archives {
 special_use = \Archive
 auto = no
   }

   # spam folders merging
   mailbox Junk {
 special_use = \Junk
 auto = create
   }
   mailbox Spam {
 special_use = \Junk
 auto = no
   }
   mailbox "Junk E-mail" {
 special_use = \Junk
 auto = no
   }








special_use folders still created

2018-12-15 Thread Marc Roos


dovecot-2.2.36-3.el7.x86_64

The below configuration seems to work for Thunderbird and emclient, when 
moving a message to Junk. Emclient uses "Junk E-mail" and Thunderbird 
uses "Junk". On the server is only the file .Junk created as expected. 

When I move a message to Archive in Thunderbird. On the server the files 
.Archives and .Archives.2018 are created (Thunderbird creates a 
subfolder in Archives) 

How is this possible? On the server there is already an .Archive folder 
so it should create .Archive.2018 not?


imap_capability = +SPECIAL-USE


  # drafts folders merging
  mailbox Drafts {
special_use = \Drafts
auto = create
  }

  # archive folders merging
  mailbox Archive {
special_use = \Archive
auto = create
  }
  mailbox Archives {
special_use = \Archive
auto = no
  }

  # spam folders merging
  mailbox Junk {
special_use = \Junk
auto = create
  }
  mailbox Spam {
special_use = \Junk
auto = no
  }
  mailbox "Junk E-mail" {
special_use = \Junk
auto = no
  }








Re: special_use folders

2015-04-13 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 12 Apr 2015, Roman Gelfand wrote:


My setup is postfix mail gateway/spamassassin on one machine and dovecot
mail box server on another machine.

Will the following configuration work?

1.  On the mail gateway, I install dovecot-lmtp and use it to deliver
locally spam.
2.  On the mailbox server, I configure special use junk folder to point
mail gateway's spam folder via nfs.

If this is correct, how can I configure special use folder to point to a
path (variable based on email) which is different from default path?

If there is a different way to handle this, I would interested.


If you use Maildir or something like that, you probably can symlink the 
NFS path into each user's Maildir.


You cannot configure a "filesystem path" to point to a mailbox, as far as 
I know. Maybe there is a plugin for that. But you could create a new 
namespace for the NFS storage and use the config


  mailbox Junk {
special_use = \Junk
  }

in that namespace.

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBVSvHCHz1H7kL/d9rAQJxXgf+KvqVSR+bZZ0koCfquVR8fllU0TjbmS9h
QcZ/9WH4OYpQrqU+T1c6NjHrVa693pTeDH6lQkzeeA/ZC7Fv33z9TcSf3dZtX9Vs
71vJ/o2gTGODJS9Hdjs41O/75FaKc+S71ueNX6DMb8rZ6CiFhki4HLrnxKQdxBgA
62O1Xl4uWhI1iGwY+VI4tH+eMBUQkLPUT40iLuUNCj/xJQII5dU9yGUBZU7ljRuK
p2ZLqXLoggYt795VhXuyauYf+mkO5JcOpoe1EN1OTWf2KxKQ7BenqeV3Kv7h0sII
qtZHGWPb/a2yn2GknTOtpXRVQa9gdD0/igNb5ci6+OBq7IpLOxnzzw==
=PcWW
-END PGP SIGNATURE-


Re: special_use folders

2015-04-12 Thread Gedalya

On 04/12/2015 08:08 PM, Roman Gelfand wrote:

My setup is postfix mail gateway/spamassassin on one machine and dovecot
mail box server on another machine.

Will the following configuration work?

1.  On the mail gateway, I install dovecot-lmtp and use it to deliver
locally spam.
2.  On the mailbox server, I configure special use junk folder to point
mail gateway's spam folder via nfs.

If this is correct, how can I configure special use folder to point to a
path (variable based on email) which is different from default path?

If there is a different way to handle this, I would interested.

Thanks in advance


Do you have some special motivation here? It's not quite clear in your post.
Why would you want to store junk mail on the gateway box and not just 
deliver it along with everything else?
If you do need to have a folder in separate storage, that can be done 
with namespaces, see http://wiki2.dovecot.org/Namespaces


special_use folders

2015-04-12 Thread Roman Gelfand
My setup is postfix mail gateway/spamassassin on one machine and dovecot
mail box server on another machine.

Will the following configuration work?

1.  On the mail gateway, I install dovecot-lmtp and use it to deliver
locally spam.
2.  On the mailbox server, I configure special use junk folder to point
mail gateway's spam folder via nfs.

If this is correct, how can I configure special use folder to point to a
path (variable based on email) which is different from default path?

If there is a different way to handle this, I would interested.

Thanks in advance