Re: [Dovecot] Can't get it working

2011-01-26 Thread Per Jessen
Stan Hoeppner wrote:

 Jerrale G put forth on 1/25/2011 7:34 PM:
 
 --
 Stan, the guy doesn't know english very well; cut him a break.
 
 And you don't know how to reply to an email.  See that -- ?  That
 tells an MUA
 to ignore everything after the signature in a reply.  Thus, my reply
 to you may not be threaded properly unless my manual edit is correct. 

AFAIK, threading is usually based on message-id and the References
header. 

 Your MUA apparently doesn't mind, as you just added a comma to my sig,
 and started composing your email.  Please don't do this in the future.
 
 
 I find it hard to believe the OP doesn't know English very well:
 
 ~$ whois suddenlink.net
 
 Registrant:
 Suddenlink Communications
12444 Powerscourt Dr
St. Louis, MO 63131
US

Lives in country X doesn't imply speaks language of X very well. 
Plenty of expats around here to prove that :-(


/Per Jessen, Zürich



[Dovecot] Multiple Concurrent IMAP Connections For Same User

2011-01-26 Thread Nigel Webber

Hi

I've been using courier for some time, but have just built a new box and 
am using dovecot (V1.2.9), Ubuntu 10.04LTS. I have a question regarding 
multiple concurrent imap connections and how to get dovecot to behave in 
the same way that courier does. I have searched the wiki, but find 
little relevant to my specific issue.


Courier-Imap Behaviour

If I have thunderbird pointed at the 'Inbox' folder via IMAP, then 
connect another IMAP client to the same mail account (in this case an 
iPhone), and then delete an email using the iphone, then after a couple 
of seconds, the inbox shown by Thunderbird updates, removing the now 
deleted email. It does this without my having to touch Thunderbird.


Dovecot behaviour

Performing the same test on a different mailbox, this time hosted via 
Dovecot, I again see the two views, one in Thunderbird and one on the 
iPhone, but when I delete the email on the iPhone, the change is not 
reflected in the view on Thunderbird. If I select the email on 
Thunderbird, then it has no content. If I restart thunderbird, the 
deleted email is still shown. I have to delete (the already deleted) the 
email also in thunderbird before it finally dissapears.


How can I get the courier behaviour where the inbox in one email client 
automagically reflects the changes made to that inbox in another client? 
If I am better sticking to Courier to get this functionality, thats 
fine, but if I can configure the behaviour I desire and still retail the 
benefits of dovecot then thats even better!


Kind Regards

Nigel


Re: [Dovecot] Multiple Concurrent IMAP Connections For Same User

2011-01-26 Thread Giles Coochey

On 26/01/2011 11:47, Nigel Webber wrote:

Hi

I've been using courier for some time, but have just built a new box 
and am using dovecot (V1.2.9), Ubuntu 10.04LTS. I have a question 
regarding multiple concurrent imap connections and how to get dovecot 
to behave in the same way that courier does. I have searched the wiki, 
but find little relevant to my specific issue.


Courier-Imap Behaviour

If I have thunderbird pointed at the 'Inbox' folder via IMAP, then 
connect another IMAP client to the same mail account (in this case an 
iPhone), and then delete an email using the iphone, then after a 
couple of seconds, the inbox shown by Thunderbird updates, removing 
the now deleted email. It does this without my having to touch 
Thunderbird.


Dovecot behaviour

Performing the same test on a different mailbox, this time hosted via 
Dovecot, I again see the two views, one in Thunderbird and one on the 
iPhone, but when I delete the email on the iPhone, the change is not 
reflected in the view on Thunderbird. If I select the email on 
Thunderbird, then it has no content. If I restart thunderbird, the 
deleted email is still shown. I have to delete (the already deleted) 
the email also in thunderbird before it finally dissapears.


How can I get the courier behaviour where the inbox in one email 
client automagically reflects the changes made to that inbox in 
another client? If I am better sticking to Courier to get this 
functionality, thats fine, but if I can configure the behaviour I 
desire and still retail the benefits of dovecot then thats even better!



I use dovecot.

I don't have an iPhone, but use the Android mail application.

I can't replicate your problem.

Either it's iPhone specific, or something to do with your dovecot 
configuration.





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Can't get it working

2011-01-26 Thread Joseba Torre
El Tuesday 25 January 2011, llwy...@suddenlink.net dijo:
 But it shows nothing in  the log files except it's running.
 Here's the log and other info:

Maybe you're looking at the wrong file. With

doveadm log find

you'll get the actual log files.

HTH
-- 
Joseba Torre. Vicegerencia de TICs, área de Explotación


Re: [Dovecot] Multiple Concurrent IMAP Connections For Same User

2011-01-26 Thread Nigel Webber
I should have mentioned that this is not iPhone specific, the same 
behaviour may be observed for 2 simultanious connections from 2 separate 
machines running Thunderbird.


TLS/SSL is used on both.

dovecot config file below:

Nigel

# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-028stab069.5 x86_64 Ubuntu 10.04 LTS
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imaps
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_privileged_group: mail
mail_location: maildir:~/Maildir
mailbox_idle_check_interval: 5
mbox_write_locks: fcntl dotlock
auth default:
  mechanisms: plain login
  passdb:
driver: pam
  userdb:
driver: passwd
  socket:
type: listen
client:
  path: /var/spool/postfix/private/auth-client
  mode: 432
  user: postfix
  group: postfix


Re: [Dovecot] Multiple Concurrent IMAP Connections For Same User

2011-01-26 Thread Giles Coochey

On 26/01/2011 13:08, Giles Coochey wrote:

On 26/01/2011 12:29, Nigel Webber wrote:
I should have mentioned that this is not iPhone specific, the same 
behaviour may be observed for 2 simultanious connections from 2 
separate machines running Thunderbird.


TLS/SSL is used on both.

dovecot config file below:

mbox_write_locks: fcntl dotlock


try reducing mbox_write_locks to just fcntl


And if you're using postfix... you may need to make changes there...

http://wiki.dovecot.org/MboxLocking


   Postfix

Postfix has two different ways to deliver to mboxes. One is the 
mailbox transport and another one is the virtual transport.


# postconf|grep mailbox_delivery_lock
mailbox_delivery_lock = fcntl, dotlock
# postconf|grep virtual_mailbox_lock
virtual_mailbox_lock = fcntl

In the above case, if you used the mailbox transport, you'd have to 
change Dovecot's configuration to mbox_write_locks = fcntl dotlock or 
vice versa for Postfix.


If you used the virtual transport, it doesn't really matter if the 
dotlock is missing, since the fcntl is common with Dovecot and Postfix.




--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature


[Dovecot] Offtopic: Mac Mail Autoconfigure

2011-01-26 Thread stefan novak
Hello,

i know its a little bit Offtopic, but i know many Mailadmins are reading here ;)

Does anybody know howto autoconfigure Mac Mail als ISP Provider.
We have troubles with the default Settings of Mac Mail (POP3s with
APOP) and want to change them via autodiscover.

Is there something simular to Thunderbirds Config Site:
https://developer.mozilla.org/en/Thunderbird/Autoconfiguration

google just offers similar problems, but no solutions :(
http://groups.google.com/group/macenterprise/browse_thread/thread/a8829433131a7bca/7d391ec890c8b988?lnk=raotfwc=1pli=1

thx for your help
Stefan


Re: [Dovecot] Offtopic: Mac Mail Autoconfigure

2011-01-26 Thread Robert Schetterer
Am 26.01.2011 13:15, schrieb stefan novak:
 Hello,
 
 i know its a little bit Offtopic, but i know many Mailadmins are reading here 
 ;)
 
 Does anybody know howto autoconfigure Mac Mail als ISP Provider.
 We have troubles with the default Settings of Mac Mail (POP3s with
 APOP) and want to change them via autodiscover.
 
 Is there something simular to Thunderbirds Config Site:
 https://developer.mozilla.org/en/Thunderbird/Autoconfiguration
 
 google just offers similar problems, but no solutions :(
 http://groups.google.com/group/macenterprise/browse_thread/thread/a8829433131a7bca/7d391ec890c8b988?lnk=raotfwc=1pli=1
 
 thx for your help
 Stefan

ask apple, you paid for it

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


[Dovecot] Iphone IMAP access

2011-01-26 Thread 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 ?




Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
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

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Eduardo M KALINOWSKI

On Qua, 26 Jan 2011, Frank Bonnet wrote:

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 ?


I don't own an iPhone, but I remember reading that that's the way it is.

You can complain to Apple. If you are lucky, you might get a rude  
response from Steve Jobs himself.


Or you could look for another mail client that honours subscriptions.  
But I'm not sure if the App Store allows other mail clients that  
compete with the built-in one.




--
/*
 * Buddy system. Hairy. You really aren't expected to understand this
 *
 */
-- From /usr/src/linux/mm/page_alloc.cA

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
Am 26.01.2011 13:25, schrieb Eduardo M KALINOWSKI:
 On Qua, 26 Jan 2011, Frank Bonnet wrote:
 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 ?
 
 I don't own an iPhone, but I remember reading that that's the way it is.

so you cant verify

 
 You can complain to Apple. If you are lucky, you might get a rude
 response from Steve Jobs himself.

 
 Or you could look for another mail client that honours subscriptions.
 But I'm not sure if the App Store allows other mail clients that
 compete with the built-in one.
 
 
 


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread 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: postmas...@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




Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Eduardo M KALINOWSKI

On Qua, 26 Jan 2011, Robert Schetterer wrote:

so you cant verify


I can't, but the OP can, opening his mail account with a program that  
respects subscriptions, like Thunderbird.




--
Virtue is not left to stand alone.  He who practices it will have neighbors.
-- Confucius

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Giles Coochey

On 26/01/2011 13:33, Eduardo M KALINOWSKI wrote:

On Qua, 26 Jan 2011, Robert Schetterer wrote:

so you cant verify


I can't, but the OP can, opening his mail account with a program that 
respects subscriptions, like Thunderbird.



Google Verifies:

http://www.google.com/#q=iphone+imap+subscribed+folders



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
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: postmas...@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
-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Stephan Bosch

Op 26-1-2011 13:25, Eduardo M KALINOWSKI schreef:

On Qua, 26 Jan 2011, Frank Bonnet wrote:

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 ?


I don't own an iPhone, but I remember reading that that's the way it is.

You can complain to Apple. If you are lucky, you might get a rude 
response from Steve Jobs himself.




Oh yeah, I remembered something about that on the imap-protocol mailing 
list. Here it is:


http://mailman2.u.washington.edu/pipermail/imap-protocol/2010-October/001294.html

The attached mail from mr. Jobs (there is a url at the bottom) is what 
you want to look at.


Regards,

Stephan.


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread 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: postmas...@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



--

Frank BONNET

01.45.92.66.17

Service des Moyens Informatique Generaux

ESIEE PARIS
Cité Descartes / BP 99
93162 NOISY-LE-GRAND Cedex
http://www.esiee.fr http://www.esiee.fr/



Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
Am 26.01.2011 14:01, schrieb Stephan Bosch:
 Op 26-1-2011 13:25, Eduardo M KALINOWSKI schreef:
 On Qua, 26 Jan 2011, Frank Bonnet wrote:
 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 ?

 I don't own an iPhone, but I remember reading that that's the way it is.

 You can complain to Apple. If you are lucky, you might get a rude
 response from Steve Jobs himself.

 
 Oh yeah, I remembered something about that on the imap-protocol mailing
 list. Here it is:
 
 http://mailman2.u.washington.edu/pipermail/imap-protocol/2010-October/001294.html
 
 
 The attached mail from mr. Jobs (there is a url at the bottom) is what
 you want to look at.
 
 Regards,
 
 Stephan.

apple has a long tradition of imap bugs, dont by it , dont use it, dont
recommend for imap use



-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Frank Bonnet

On 01/26/2011 03:03 PM, Robert Schetterer wrote:

Am 26.01.2011 14:01, schrieb Stephan Bosch:

Op 26-1-2011 13:25, Eduardo M KALINOWSKI schreef:

On Qua, 26 Jan 2011, Frank Bonnet wrote:

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 ?

I don't own an iPhone, but I remember reading that that's the way it is.

You can complain to Apple. If you are lucky, you might get a rude
response from Steve Jobs himself.


Oh yeah, I remembered something about that on the imap-protocol mailing
list. Here it is:

http://mailman2.u.washington.edu/pipermail/imap-protocol/2010-October/001294.html


The attached mail from mr. Jobs (there is a url at the bottom) is what
you want to look at.

Regards,

Stephan.

apple has a long tradition of imap bugs, dont by it , dont use it, dont
recommend for imap use




what do I do ??? sells my new Iphone 4 and get an Android ?
:-)


--

Frank BONNET

01.45.92.66.17

Service des Moyens Informatique Generaux

ESIEE PARIS
Cité Descartes / BP 99
93162 NOISY-LE-GRAND Cedex
http://www.esiee.fr http://www.esiee.fr/



Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
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: postmas...@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


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Giles Coochey

On 26/01/2011 15:13, Frank Bonnet wrote:


what do I do ??? sells my new Iphone 4 and get an Android ?
:-)




My Android HTC Desire works a dream with Dovecot... However, problems I 
have with the mail app on there is that I can't find a way to bottom 
post (will only top-post), and it strips the thread-ids of mailing list 
posts... so not so good for mailing lists like this one. Having said 
that - works great for normal IMAP email.


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
Am 26.01.2011 15:13, schrieb Frank Bonnet:
 On 01/26/2011 03:03 PM, Robert Schetterer wrote:
 Am 26.01.2011 14:01, schrieb Stephan Bosch:
 Op 26-1-2011 13:25, Eduardo M KALINOWSKI schreef:
 On Qua, 26 Jan 2011, Frank Bonnet wrote:
 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 ?
 I don't own an iPhone, but I remember reading that that's the way it
 is.

 You can complain to Apple. If you are lucky, you might get a rude
 response from Steve Jobs himself.

 Oh yeah, I remembered something about that on the imap-protocol mailing
 list. Here it is:

 http://mailman2.u.washington.edu/pipermail/imap-protocol/2010-October/001294.html



 The attached mail from mr. Jobs (there is a url at the bottom) is what
 you want to look at.

 Regards,

 Stephan.
 apple has a long tradition of imap bugs, dont by it , dont use it, dont
 recommend for imap use



 what do I do ??? sells my new Iphone 4 and get an Android ?
 :-)
 
 
i simply dont mail with mobiles , getting off my pc is free time
i never would like to have mail everywhere *g

is their alternate imap client in apple app store
like k9 in android ( which native mail app is not much better then apples )

these companies m$, apple, google have no real intension
that you use other mail then their services/servers etc
dont await change in this

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Eduardo M KALINOWSKI

On Qua, 26 Jan 2011, Giles Coochey wrote:
My Android HTC Desire works a dream with Dovecot... However,  
problems I have with the mail app on there is that I can't find a  
way to bottom post (will only top-post), and it strips the  
thread-ids of mailing list posts... so not so good for mailing lists  
like this one. Having said that - works great for normal IMAP email.


Profimail (http://www.lonelycatgames.com/?app=profimail) has been  
ported to Android. It's quite capable for a mobile app.



--
667:
The neighbor of the beast.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: [Dovecot] Offtopic: Mac Mail Autoconfigure

2011-01-26 Thread Brad Hards
On Wed, 26 Jan 2011 04:15:24 am stefan novak wrote:
 Does anybody know howto autoconfigure Mac Mail als ISP Provider.
 We have troubles with the default Settings of Mac Mail (POP3s with
 APOP) and want to change them via autodiscover.
I'm not sure if its the same autodiscover, but if you're seeing HTTP get / 
put to autodiscover as a hostname, then its probably the microsoft mail 
autodiscover protocol.

That is document in MS-OXDISCO and MS-OXDSCLI specs, which you can download off 
MSDN. The first spec shows how to find what the query location is, and the 
other 
shows the XML blobs you send / parse. See 
http://tracker.openchange.org/projects/openchange/wiki/Autodiscover_investigation
 
for an example.

So you can probably make your DNS and web server create the right XML blob for 
whatever configuration you'd like to give to the client (assuming that the 
client is something that knows how to do the microsoft autodiscover protocol). 

Brad


Re: [Dovecot] Multiple Concurrent IMAP Connections For Same User

2011-01-26 Thread Timo Sirainen
On 26.1.2011, at 12.47, Nigel Webber wrote:

 How can I get the courier behaviour where the inbox in one email client 
 automagically reflects the changes made to that inbox in another client?

Try talking IMAP protocol manually:

telnet localhost 143
a login user pass
b select inbox
c idle

Then do changes in another client. Are any written to the telnet session?

mailbox_idle_check_interval is the only setting related to this, and since you 
have set it to 5 seconds it really should be sending changes. If no changes are 
sent, I guess it's a bug in v1.2.9.



Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Timo Sirainen
On 26.1.2011, at 16.17, Giles Coochey wrote:

 My Android HTC Desire works a dream with Dovecot...

Getting off topic, but K-9 mail (and IIRC the original) often can't open some 
of my mails, just says downloading... - mail is still on server, but then 
it can open the next mail just fine. I haven't tried to debug it yet. And it 
can't save messages to Sent box (and I'm too lazy to set up bcc).



Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread J4K
On 01/26/2011 03:51 PM, Timo Sirainen wrote:
 On 26.1.2011, at 16.17, Giles Coochey wrote:

 My Android HTC Desire works a dream with Dovecot...
 Getting off topic, but K-9 mail (and IIRC the original) often can't open some 
 of my mails, just says downloading... - mail is still on server, but 
 then it can open the next mail just fine. I haven't tried to debug it yet. 
 And it can't save messages to Sent box (and I'm too lazy to set up bcc).

I'm using k9 with Dovecot 1:1.2.15-3  (Debian Squeeze repo) all day
long.  Never had any problems. I am willing to test things and check the
logs for oddities if someone wishes. But its not Dovecot version 2.n


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Ralph Seichter
On 26.01.11 15:03, Robert Schetterer wrote:

 apple has a long tradition of imap bugs, dont by it , dont use it, dont
 recommend for imap use

Sigh... iOS 4.1 works fine with Dovecot (IMAP w/ SSL, use path prefix /).

-Ralph


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Timo Sirainen
On 26.1.2011, at 16.51, Timo Sirainen wrote:

 Getting off topic, but K-9 mail (and IIRC the original) often can't open some 
 of my mails, just says downloading... - mail is still on server, but 
 then it can open the next mail just fine. I haven't tried to debug it yet.

Oh, right, it can't show PGP/MIME emails at all, that's the problem.



Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread J4K
On 01/26/2011 04:06 PM, Timo Sirainen wrote:
 On 26.1.2011, at 16.51, Timo Sirainen wrote:

 Getting off topic, but K-9 mail (and IIRC the original) often can't open 
 some of my mails, just says downloading... - mail is still on server, 
 but then it can open the next mail just fine. I haven't tried to debug it 
 yet.
 Oh, right, it can't show PGP/MIME emails at all, that's the problem.

Disagree. I use K9 for PGP Emails all the time.  No problems here ;)


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Giles Coochey

On 26/01/2011 16:28, J4K wrote:

On 01/26/2011 04:06 PM, Timo Sirainen wrote:

On 26.1.2011, at 16.51, Timo Sirainen wrote:


Getting off topic, but K-9 mail (and IIRC the original) often can't open some of my mails, just says 
downloading... -  mail is still on server, but then it can open the next 
mail just fine. I haven't tried to debug it yet.

Oh, right, it can't show PGP/MIME emails at all, that's the problem.


Disagree. I use K9 for PGP Emails all the time.  No problems here ;)

I did send an example email to the list, but I think it ended up in the 
moderator bin for size reasons... it was a multi-part MIME message 
though... and it gets the message left on server message with the 
original android mail application.


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Willie Gillespie

On 01/26/2011 05:21 AM, Frank Bonnet wrote:

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 ...


Correct.  The iPhone mail application shows _ALL_ folders.  As far as I 
know, there is no requirement that an IMAP client must only show 
subscribed folders, so it is not doing anything illegal.


Re: [Dovecot] Offtopic: Mac Mail Autoconfigure

2011-01-26 Thread Robert Schetterer
Am 26.01.2011 15:37, schrieb Brad Hards:
 On Wed, 26 Jan 2011 04:15:24 am stefan novak wrote:
 Does anybody know howto autoconfigure Mac Mail als ISP Provider.
 We have troubles with the default Settings of Mac Mail (POP3s with
 APOP) and want to change them via autodiscover.
 I'm not sure if its the same autodiscover, but if you're seeing HTTP get / 
 put to autodiscover as a hostname, then its probably the microsoft mail 
 autodiscover protocol.
 
 That is document in MS-OXDISCO and MS-OXDSCLI specs, which you can download 
 off 
 MSDN. The first spec shows how to find what the query location is, and the 
 other 
 shows the XML blobs you send / parse. See 
 http://tracker.openchange.org/projects/openchange/wiki/Autodiscover_investigation
  
 for an example.
 
 So you can probably make your DNS and web server create the right XML blob 
 for 
 whatever configuration you'd like to give to the client (assuming that the 
 client is something that knows how to do the microsoft autodiscover 
 protocol). 
 
 Brad

last time i looked in this  some iphone users reported not to work
( may changed now )
with active sync windows/microsoft mobile autodiscover working
after all you check your auto setup here for outlook and win mobiles

https://www.testexchangeconnectivity.com/

in php this is something like
this for outlook isp styled
on apache vhosts with aliases ( or may use iis which should default
layouts for this ),
and related dns entries

?php
//get raw POST data so we can extract the email address
$data = file_get_contents(php://input);
preg_match(/\EMailAddress\(.*?)\\/EMailAddress\/, $data, $matches);

//set Content-Type
header(Content-Type: application/xml);
?
Autodiscover
xmlns=http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006;
  Response
xmlns=http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a;
Account
  AccountTypeemail/AccountType
  Actionsettings/Action
  Protocol
TypeIMAP/Type
Serverimap.mailspooler.com/Server
Port993/Port
LoginName?php echo $matches[1]; ?/LoginName
DomainRequiredoff/DomainRequired
SPAoff/SPA
SSLon/SSL
AuthRequiredon/AuthRequired
  /Protocol
Protocol
TypePOP3/Type
Serverpop.mailspooler.com/Server
Port995/Port
DomainRequiredoff/DomainRequired
DomainName/DomainName
SPAoff/SPA
SSLon/SSL
AuthRequiredon/AuthRequired
/Protocol
  Protocol
TypeSMTP/Type
Serversmtp.mailspooler.com/Server
Port465/Port
LoginName?php echo $matches[1]; ?/LoginName
DomainRequiredoff/DomainRequired
SPAoff/SPA
SSLon/SSL
AuthRequiredon/AuthRequired
UsePOPAuthon/UsePOPAuth
SMTPLastoff/SMTPLast
  /Protocol
/Account
  /Response
/Autodiscover

this is for mobile

?php
//get raw POST data so we can extract the email address
$data = file_get_contents(php://input);
preg_match(/\EMailAddress\(.*?)\\/EMailAddress\/, $data, $matches);

//set Content-Type
header(Content-Type: application/xml);
?
Autodiscover
xmlns=http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006;
  Response
xmlns=http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a;
Account
  AccountTypeemail/AccountType
  Actionsettings/Action
  Protocol
TypeIMAP/Type
Serverimap.mailspooler.com/Server
Port993/Port
LoginName?php echo $matches[1]; ?/LoginName
DomainRequiredoff/DomainRequired
SPAoff/SPA
SSLon/SSL
AuthRequiredon/AuthRequired
  /Protocol
Protocol
TypePOP3/Type
Serverpop.mailspooler.com/Server
Port995/Port
DomainRequiredoff/DomainRequired
DomainName/DomainName
SPAoff/SPA
SSLon/SSL
AuthRequiredon/AuthRequired
/Protocol
  Protocol
TypeSMTP/Type
Serversmtp.mailspooler.com/Server
Port465/Port
LoginName?php echo $matches[1]; ?/LoginName
DomainRequiredoff/DomainRequired
SPAoff/SPA
SSLon/SSL
AuthRequiredon/AuthRequired
UsePOPAuthon/UsePOPAuth
SMTPLastoff/SMTPLast
  /Protocol
/Account
  /Response
/Autodiscover


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
Am 26.01.2011 15:51, schrieb Timo Sirainen:
 On 26.1.2011, at 16.17, Giles Coochey wrote:
 
 My Android HTC Desire works a dream with Dovecot...
 
 Getting off topic, but K-9 mail (and IIRC the original) often can't open some 
 of my mails, just says downloading... - mail is still on server, but 
 then it can open the next mail just fine. I haven't tried to debug it yet. 
 And it can't save messages to Sent box (and I'm too lazy to set up bcc).
 

really sad to hear this , but its much better then the native android
mail app anyway

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Robert Schetterer
Am 26.01.2011 16:06, schrieb Timo Sirainen:
 On 26.1.2011, at 16.51, Timo Sirainen wrote:
 
 Getting off topic, but K-9 mail (and IIRC the original) often can't open 
 some of my mails, just says downloading... - mail is still on server, 
 but then it can open the next mail just fine. I haven't tried to debug it 
 yet.
 
 Oh, right, it can't show PGP/MIME emails at all, that's the problem.
 

wasnt that depended to a bug in a few android versions?
-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Timo Sirainen
On 26.1.2011, at 17.28, J4K wrote:

 Oh, right, it can't show PGP/MIME emails at all, that's the problem.
 Disagree. I use K9 for PGP Emails all the time.  No problems here ;)

It's of course possible that I installed K-9, configured it and tried it once, 
and then forgot to change the shortcut to it on desktop and the next time I 
used mail a few weeks later I thought the default mail app was K-9 ;)



Re: [Dovecot] Questiosn about dbox

2011-01-26 Thread Daniel L. Miller

On 1/24/2011 12:45 PM, Javier de Miguel Rodríguez wrote:


Any known issues with mdbox and zlib plugin in lda  imap? I have 
read about mbox is /read-only/ with zlib plugin. What about mdbox 
with a high rotate interval (almost a mbox)? How does this work? Is 
the entire mdbox file loaded into ram and decompressed or a temp file 
in the filesystem is used?




I've been having errors with the combination of single-instance storage, 
mdbox, and zlib.  I don't THINK I'm losing mail - but a lot of errors in 
the logs.

--
Daniel


Re: [Dovecot] Best Cluster Storage

2011-01-26 Thread Luben Karavelov
On Thu, 13 Jan 2011 10:33:34 -0200, Henrique Fernandes 
sf.ri...@gmail.com wrote:

I use ocfs2 with 3 dovecots. one only for mailman.


We have problens with IO. Have about 4k active users.


We are now testing more ocfs2 clusters, becasue one of yours theorys 
is that
iff all mail resides in only one ocfs2 cluster, it takes too long to 
find

the file. ocfs2 i guess does not support index. using ocfs2 1.4



My last production environment using OCFS2 was with quite recent 
ocfs2/dovecot -

linux 2.6.35 and dovecot 1.2.15 with dbox mail storage. We got a lot of
problems - high IO, fragmentation and exponential grow of access time 
etc. We

tested also with directory indexes but this hasn't helped a lot.

Finaly we scrapped the ocfs2 setup and moved to less advanced setup:
We created distinct volumes for every worker on the SAN, formated it 
with with
XFS. The volumes got mounted on different mountpoints on workers. We 
setup a
Pacemaker as cluster manager on the workers, so if worker dies its 
volume

gets mounted on another worker and its service IP is brought up there.

As a result we are using a fraction of the IO compared with OCFS, the 
wait time

on the workers dropped significantly, the service got better.

You have different options to distribute mailboxes through the workers. 
In owr
setup the load is distributed by domain, because we are servicing 
hundreds of
domains. So every domain MX/pop3/imap was changed to the service IP of 
the
worker. If there are a lot of mailboxes in one domain you should put a 
balancer
that knows on which server the mailbox is located and forward the 
requests

there.


So now, we are gettins smallers luns from your storages and mounting
3 ocfs2
clusters that way we think the DLM will work better.



Sorry if i did not answer your question.


Anyway, we had some tests with NFS and it wasn't good also. We 
prefere

sticky with ocfs2.


My test with NFS3/NFS4 were not good also, so it was not considered an 
option.




We are balacing with IPVS, not using dovecot director.



With IPVS you could not stick the same mailbox to the same server - 
this is

important with ocfs setup because of filesystem caches and the locks.
We were using nginx as proxy/balancer that could stick the same mailbox 
to
the same backend - we did this before there was director service in 
dovecot

but now you could use the director.

Best regards

--
Luben Karavelov


[Dovecot] bsdauth + dovecot-sieve

2011-01-26 Thread Gonzalo Rodriguez
Hi all,

I have a problem with my dovecot/postfix configuration:

here is my dovecot -n


# /usr/local/sbin/dovecot -n
# 1.1.20: /etc/dovecot.conf
Warning: fd limit 128 is lower than what Dovecot can use under full
load (more than 768). Either grow the limit or change
login_max_processes_count and max_mail_processes settings
# OS: OpenBSD 4.7 amd64  ffs
base_dir: /var/dovecot/
log_path: /var/log/dovecot
protocols: imaps pop3s
ssl_cert_file: /etc/ssl/dovecotcert.pem
login_dir: /var/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_user: _dovecot
mail_location: maildir:/var/www/datos/correo/qbit.com.ar/%n:LAYOUT=fs
mail_debug: yes
mbox_write_locks: fcntl
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_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
imap_client_workarounds(default): delay-newmail outlook-idle
netscape-eoh tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
lda:
  mail_plugins: cmusieve
  postmaster_address: postmas...@bla.com
  log_path: /var/log/dovecot-deliver-errors.log
  info_log_path: /var/log/dovecot-deliver.log
auth default:
  mechanisms: login plain
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
driver: bsdauth
  userdb:
driver: static
args: uid=vmail gid=vmail home=/var/www/datos/correo/bla.com/%n
  socket:
type: listen
client:
  path: /var/spool/postfix/private/auth
  mode: 432
  user: _postfix
  group: _postfix
master:
  path: /var/dovecot/auth-master
  mode: 384
  user: vmail
  group: vmail
plugin:
  sieve_global_dir: /var/sieve
  sieve_global_path: /var/sieve/global-default.sieve
  sieve: /var/sieve/%n.sieve


I use bsdauth to system users auth againts Active-Directory, now I
want to create vacation mails with dovecot-sieve, but have issues.

Can I use in dovecot deliver (master.cf) with parameters -d if I use
bsdauth to auth without passdb (the are system users)?

if I put this in my master.cf


dovecot   unix  -   n   n   -   -   pipe
  flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver
-f ${sender} -d ${recipient}

I get:

deliver(prue...@bla.com): Jan 25 15:17:24 Error: Auth lookup returned failure

If I change the  -d ${recipient} for  -a ${recipient}

dovecot use the user (vmail) who run dovecot to storage the storage:
/var/www/datos/correo/bla.com/vmail/INBOX, so I get...

deliver(vmail): Jan 25 15:54:46 Info: maildir:
data=/var/www/datos/correo/qbit.com.ar/vmail:LAYOUT=fs

deliver replace %n for the user who run dovecot, so don't save the
mail in deliver(vmail): Jan 25 15:54:46 Info: maildir:
data=/var/www/datos/correo/qbit.com.ar/prueba2:LAYOUT=fs

This works properly if a use virtual_transport = virtual.

some idea?

cheers.


Re: [Dovecot] Best Cluster Storage

2011-01-26 Thread Stan Hoeppner
Luben Karavelov put forth on 1/26/2011 1:21 PM:

 Finaly we scrapped the ocfs2 setup and moved to less advanced setup:
 We created distinct volumes for every worker on the SAN, formated it with with
 XFS. The volumes got mounted on different mountpoints on workers. We setup a
 Pacemaker as cluster manager on the workers, so if worker dies its volume
 gets mounted on another worker and its service IP is brought up there.
 
 As a result we are using a fraction of the IO compared with OCFS, the wait 
 time
 on the workers dropped significantly, the service got better.

That's obviously not a perfectly load balanced system, but it is an intriguing
solution nonetheless.  XFS will obviously be much faster than OCFS2.

Are you using the -o delaylog mount option?  Are you seeing an increase in
metadata performance due to it?

-- 
Stan


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Eray Aslan
On 2011-01-26 5:28 PM, J4K wrote:
 On 01/26/2011 04:06 PM, Timo Sirainen wrote:
 Oh, right, it can't show PGP/MIME emails at all, that's the problem.

 Disagree. I use K9 for PGP Emails all the time.  No problems here ;)

Nope.  K-9 uses APG which does not support PGP/MIME but only inline
signing/ecryption.

-- 
Eray Aslan


Re: [Dovecot] Iphone IMAP access

2011-01-26 Thread Frank Cusack

On 1/26/11 8:35 AM -0700 Willie Gillespie wrote:

On 01/26/2011 05:21 AM, Frank Bonnet wrote:

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 ...


Correct.  The iPhone mail application shows _ALL_ folders.  As far as I
know, there is no requirement that an IMAP client must only show
subscribed folders, so it is not doing anything illegal.


Yup.  I posted about this quite awhile ago (more than a year), and STILL
have not gotten around to implementing the feature idea I had:

Allow ':' to separate the user name from a named module which will
limit the folders shown to the client.  eg by logging in as
'frank:subscribed' instead of 'frank', the IMAP client is never
even informed of non-subscribed folders.  The module names are
arbitrary and 'subscribed' in my example is just that, an example.

':' is generally an illegal username character so using it as a
separator should prove to not be a problem.

Doing some kind of shared folder thing on the server would probably
work as a hack today.  Login as the alternate user, who has permissions
on the subscribed folders of the real user, to see only those folders.


Re: [Dovecot] Best Cluster Storage

2011-01-26 Thread Henrique Fernandes
Ldirector and IPVS can sticky same ip to same server, so the ocfs2 cache
still good.

We are trying to saparete the DLM network to ssee any performance issue!


[]'sf.rique


On Wed, Jan 26, 2011 at 6:42 PM, Stan Hoeppner s...@hardwarefreak.comwrote:

 Luben Karavelov put forth on 1/26/2011 1:21 PM:

  Finaly we scrapped the ocfs2 setup and moved to less advanced setup:
  We created distinct volumes for every worker on the SAN, formated it with
 with
  XFS. The volumes got mounted on different mountpoints on workers. We
 setup a
  Pacemaker as cluster manager on the workers, so if worker dies its volume
  gets mounted on another worker and its service IP is brought up there.
 
  As a result we are using a fraction of the IO compared with OCFS, the
 wait time
  on the workers dropped significantly, the service got better.

 That's obviously not a perfectly load balanced system, but it is an
 intriguing
 solution nonetheless.  XFS will obviously be much faster than OCFS2.

 Are you using the -o delaylog mount option?  Are you seeing an increase
 in
 metadata performance due to it?

 --
 Stan



[Dovecot] Thunderbird doesn't popup on new mail

2011-01-26 Thread Adrian Stoica
I have a question : i've upgrade dovecot from 1.1.4 to 2.0.9 and 
everything is fine except thunderbird clients , that no longer show a 
popup when new mail arrives. Anyone know why ?


doveconf -n:
# 2.0.9: /usr/dovecot2/etc/dovecot/dovecot.conf
# OS: Linux 2.6.35.4 i686
auth_cache_negative_ttl = 10 secs
auth_cache_size = 10 M
auth_cache_ttl = 1 mins
auth_mechanisms = plain login cram-md5
auth_socket_path = /var/run/dovecot/auth-userdb
auth_verbose_passwords = plain
base_dir = /var/run/dovecot/
default_client_limit = 5000
default_internal_user = vmail
default_login_user = nobody
default_process_limit = 200
deliver_log_format = mail from=%f subject=%s msgid=%m: %$
dict {
  acl = mysql:/usr/dovecot2/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
first_valid_uid = 1
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
mail_location = maildir:~/Maildir
mail_plugins =  quota acl trash notify mail_log
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

namespace {
  inbox = yes
  location =
  prefix =
  separator = /
  subscriptions = yes
  type = private
}
namespace {
  hidden = no
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
passdb {
  args = /usr/dovecot2/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  acl = vfile
  acl_shared_dict = proxy::acl
  autocreate = Trash
  autocreate2 = Drafts
  autocreate3 = Sent
  autosubscribe = Trash
  autosubscribe2 = Drafts
  autosubscribe3 = INBOX
  autosubscribe4 = Sent
  mail_log_events = delete mailbox_delete mailbox_rename
  mail_log_group_events = yes
  quota = maildir:User quota
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=95%% quota-warning 90 %u
  quota_warning3 = storage=85%% quota-warning 85 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  trash = /usr/dovecot2/etc/dovecot/dovecot-trash.conf.ext
}
postmaster_address = postmas...@dacris.net
protocols = imap
rejection_subject = Rejected: %s: %r
service auth {
  unix_listener auth-userdb {
mode = 0660
user = vmail
  }
}
service dict {
  unix_listener dict {
user = vmail
  }
}
service imap-login {
  process_min_avail = 16
  service_count = 1
}
service imap {
  process_limit = 2048
  vsz_limit = 512 M
}
service quota-warning {
  executable = script /bin/quota_warning.sh
  unix_listener quota-warning {
user = vmail
  }
  user = vmail
}
ssl_cert = /etc/ssl/certs/dovecot.pem
ssl_key = /etc/ssl/private/dovecot.pem
userdb {
  args = /usr/dovecot2/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lda {
  mail_plugins =  quota acl trash notify mail_log sieve autocreate
}
protocol imap {
  mail_plugins =  quota acl trash notify mail_log imap_quota imap_acl
}
attachment: adrian_stoica.vcf