[Dovecot] Iphone IMAP access
Robert Schetterer
robert at schetterer.org
Wed Jan 26 16:15:46 EET 2011
Am 26.01.2011 14:49, schrieb Frank Bonnet:
> OK in my configuration I have
>
> mail_location = mbox:%h/:INBOX=/var/mail/%u
>
> could you help to setup the rights namespaces to get it work ?
>
> thank you
>
>
> On 01/26/2011 01:37 PM, Robert Schetterer wrote:
>> Am 26.01.2011 13:29, schrieb Frank Bonnet:
>>> On 01/26/2011 01:23 PM, Robert Schetterer wrote:
>>>> Am 26.01.2011 13:21, schrieb Frank Bonnet:
>>>>> Hello
>>>>>
>>>>> When I use my iphone to access my IMAP folders I can see ALL folders
>>>>> in my userland and not only those listed in .subscriptions file ...
>>>>>
>>>>> Anyone has an explaination of this ?
>>>>>
>>>>> Might be a security/confidentiality hole isn't it ?
>>>>>
>>>>>
>>>> iphone bug , wrong dovecot config ?
>>>> show dovecot config , ask apple you paid for it
>>>>
>>> here is my dovecot config
>>>
>>> mail# dovecot -n
>>> # 1.2.16: /usr/local/etc/dovecot.conf
>>> # OS: FreeBSD 7.2-RELEASE amd64
>>> log_path: /var/log/dovecot/dovecot.log
>>> info_log_path: /var/log/dovecot/info.log
>>> protocols: imap imaps pop3 pop3s managesieve
>>> listen(default): *
>>> listen(imap): *
>>> listen(pop3): *
>>> listen(managesieve): *:2000
>>> disable_plaintext_auth: no
>>> login_dir: /var/run/dovecot/login
>>> login_executable(default): /usr/local/libexec/dovecot/imap-login
>>> login_executable(imap): /usr/local/libexec/dovecot/imap-login
>>> login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
>>> login_executable(managesieve):
>>> /usr/local/libexec/dovecot/managesieve-login
>>> login_processes_count: 20
>>> login_max_processes_count: 1024
>>> login_max_connections: 4096
>>> max_mail_processes: 4096
>>> verbose_proctitle: yes
>>> mail_privileged_group: mail
>>> mail_location: mbox:%h/:INBOX=/var/mail/%u
>>> mbox_read_locks: flock
>>> mbox_write_locks: flock
>>> mail_executable(default): /usr/local/libexec/dovecot/imap
>>> mail_executable(imap): /usr/local/libexec/dovecot/imap
>>> mail_executable(pop3): /usr/local/libexec/dovecot/pop3
>>> mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
>>> mail_plugin_dir(default): /usr/local/lib/dovecot/imap
>>> mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
>>> mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
>>> mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
>>> imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep
>>> imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep
>>> imap_client_workarounds(pop3):
>>> imap_client_workarounds(managesieve):
>>> pop3_uidl_format(default): %08Xu%08Xv
>>> pop3_uidl_format(imap): %08Xu%08Xv
>>> pop3_uidl_format(pop3): %08Xv%08Xu
>>> pop3_uidl_format(managesieve): %08Xu%08Xv
>>> managesieve_logout_format(default): bytes=%i/%o
>>> managesieve_logout_format(imap): bytes=%i/%o
>>> managesieve_logout_format(pop3): bytes=%i/%o
>>> managesieve_logout_format(managesieve): bytes ( in=%i : out=%o )
>>> lda:
>>> postmaster_address: postmaster at esiee.fr
>>> log_path: /var/log/dovecot/dovecot-lda.log
>>> info_log_path: /var/log/dovecot/dovecot-info-lda.log
>>> mail_plugins: sieve
>>> auth default:
>>> worker_max_count: 100
>>> passdb:
>>> driver: passwd
>>> userdb:
>>> driver: passwd
>>> plugin:
>>> sieve: ~/.dovecot.sieve
>>> sieve_dir: ~/sieve
>>>
>>>
>> read this might help
>>
>> http://support.apple.com/kb/HT1393
>>
>> perhaps namespace problem
>> http://wiki.dovecot.org/Namespaces
>>
>> cant see this in your conf
>
>
there is no right or wrong, there are different types of
as stated here
http://wiki.dovecot.org/Namespaces
try using or simular
namespace private {
separator = /
prefix = "/"
location = mbox:~/mail:INBOX=/var/mail/%u
inbox = yes
hidden = yes
}
you might play around with prefix
first try comment out mail_location for 1.x
or use
mail_location = mbox:~/mail:INBOX=/var/mail/%u
cant remember all i am on 2.0x now
--
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
More information about the dovecot
mailing list