Re: Handle of "subscription" file/folder for IMAP
On 11/21/2014 05:19 PM, Jorge Bastos wrote:
Hi,
Ok you're right about it, let me simplify it.
There's some files in the Maildir, that are from dovecot, like the dovecot.sieve, subscriptions, and these are files, but here are shown an being folders to be subcribed.
Question was if it is possible to deny the show of this info in IMAP globally.
If I subscribe, for example to "subscriptions", it created the folder, and in the Maildir creates ".subscriptions" with its own structure, so no colision, so far so good.
But I'd like to hide "subscriptions" and "dovecot.sieve" from users.
Possible?
Havent found any info about this,
OK that's better, the screenshot helps too. There are a number of funny things here. First of all, dovecot.sieve belongs in the *home* directory, not in Maildir. The home directory can be, typically, the parent directory of the Maildir. Like in: domains/example.com/user1/Maildir - the user1/ is the home directory and dovecot.sieve lives there.
Would you please post your complete dovecot config (output of the command: dovecot -n) and also an example output of ls -la of your directory structure?
See also http://dovecot.org/mailinglists.html
OK that's better, the screenshot helps too. There are a number of funny things here. First of all, dovecot.sieve belongs in the *home* directory, not in Maildir. The home directory can be, typically, the parent directory of the Maildir. Like in: domains/example.com/user1/Maildir - the user1/ is the home directory and dovecot.sieve lives there.
Would you please post your complete dovecot config (output of the command: dovecot -n) and also an example output of ls -la of your directory structure?
See also http://dovecot.org/mailinglists.html
Sure, here it is:
root@fastmail:/home/mail/a.com/a@a.com# l total 108 drwx------ 13 5000 5000 4096 Nov 20 22:19 ./ drwx------ 3 5000 5000 4096 Nov 3 23:06 ../ drwx------ 2 5000 5000 4096 Nov 20 22:07 cur/ -rw------- 1 5000 5000 9920 Nov 21 03:25 dovecot.index.cache -rw------- 1 5000 5000 12908 Nov 20 22:19 dovecot.index.log -rw------- 1 5000 5000 202 Nov 10 22:35 .dovecot.lda-dupes -rw------- 1 5000 5000 312 Nov 10 22:23 dovecot.mailbox.log lrwxrwxrwx 1 5000 5000 23 Nov 9 12:21 .dovecot.sieve -> sieve/managesieve.sieve -rw------- 1 5000 5000 461 Nov 9 12:28 .dovecot.sieve.log -rw------- 1 5000 5000 270 Nov 9 15:43 .dovecot.svbin -rw------- 1 5000 5000 782 Nov 19 23:26 dovecot-uidlist -rw------- 1 5000 5000 8 Nov 8 16:32 dovecot-uidvalidity -r--r--r-- 1 5000 5000 0 Nov 3 23:06 dovecot-uidvalidity.54580a72 drwx------ 5 5000 5000 4096 Nov 8 16:33 .Drafts/ drwx------ 5 5000 5000 4096 Nov 8 16:33 .Junk/ drwx------ 5 5000 5000 4096 Nov 8 18:50 .Junk E-mail/ drwx------ 2 5000 5000 4096 Nov 19 23:44 new/ drwx------ 5 5000 5000 4096 Nov 8 16:33 .ola ' aaaa \r/ drwx------ 5 5000 5000 4096 Nov 8 16:33 .Sent Items/ drwx------ 3 5000 5000 4096 Nov 9 15:42 sieve/ -rw------- 1 5000 5000 69 Nov 10 22:23 subscriptions drwx------ 5 5000 5000 4096 Nov 8 21:15 .subscriptions/ drwx------ 2 5000 5000 4096 Nov 19 23:26 tmp/ drwx------ 5 5000 5000 4096 Nov 8 21:15 .Trash/ root@fastmail:/home/mail/a.com/a@a.com#
doveconf: # 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 3.14.23x x86_64 Debian 7.6 ext4 auth_mechanisms = plain login dict { sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } disable_plaintext_auth = no listen = * login_greeting = myserver mail_location = maildir:/home/mail/%d/%u mail_plugins = quota mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { quota = dict:User Quota::proxy::sqlquota quota_exceeded_message = Quota exceeded (mailbox for user is full) / Conta de destino cheia (o email de destino tem a caixa cheia) quota_rule = *:storage=100M sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_max_script_size = 10M } postmaster_address = trash@email.pt protocols = imap lmtp pop3 sieve service dict { unix_listener dict { mode = 0777 } } service imap { process_limit = 1024 } service lmtp { inet_listener lmtp { address = 0.0.0.0 port = 24 } process_min_avail = 10 unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0666 user = postfix } } service pop3-login { inet_listener pop3 { port = 110 } } service pop3 { process_limit = 1024 } ssl = no ssl_cert =
participants (2)
-
Gedalya
-
Jorge Bastos