Re: [Dovecot] Problems with Apple Mail: Enter Password for Account ...

2013-05-26 Thread francwalter

Am 23.05.2013 um 09:48 schrieb Thomas Leuxner:
 
 
 Mail.App is known to utilize many concurrent connections. Look again, most 
 likely it maxes out the limit:
 
 protocol imap {
  mail_max_userip_connections = 10
 }
 
 Regards
 Thomas

OK, along another advice I put the limit (there was none previously in my conf) 
to 1000, and try it a while.
Thank you for the hint!

franc

Re: [Dovecot] Problems with Apple Mail: Enter Password for Account ...

2013-05-26 Thread francwalter
At Wed May 22 18:16:44 EEST 2013 Professa Dementia professa wrote:
 This is one of my pet peeves about Apple Mail and to some extent,
 outlook.  If *any* error occurs during the authentication phase, Apple
 Mail, usually mistakenly, displays the error about bad login credentials.

Ok, this is already a relief, that not my good Dovecot is the main problem :)

 These errors may include such things as network problems, DNS issues,
 local mailstore errors or corruption, issues with the mail server not
 related to authentication, such as file locks, etc.

This makes the search a bit more difficult, I guess.

 Besides being annoying, and misleading, Apple Mail will invalidate your
 saved password, requiring you to enter it again.

And I didn’t enter it again, but just cancelled the message, I wonder that mail 
would really has invalidated it.


 First look in your logs (Finder  Applications/Utilities  Console) to
 see if there are any errors.  

Where exactly? I don’t know where I find the apple mail logs, I have to try 
system.log and secure.log the next time. 

 ... temporarily use a non-SSL connection for
 mail and a network sniffer like Wireshark to watch the transaction….
 Dem

I will try this next time!
Thank you very much, Dem.

frank

Re: [Dovecot] Problems with Apple Mail: Enter Password for Account ...

2013-05-23 Thread Thomas Leuxner
* Frank Röhm francwal...@gmx.net 2013.05.22 16:44:

 In the logfiles of Dovecot I don't find anything about this.

Mail.App is known to utilize many concurrent connections. Look again, most 
likely it maxes out the limit:

protocol imap {
  mail_max_userip_connections = 10
}

Regards
Thomas


signature.asc
Description: Digital signature


[Dovecot] Problems with Apple Mail: Enter Password for Account ...

2013-05-22 Thread Frank Röhm
Hello

I have on Ubuntu 12.04 a postfix 2.9.3-2 mailserver with dovecot 2.0.19

I get email from my pc (thunderbird), my smartphone (k9mail) and my
MacBook (Apple Mail 4.6 - 1085 on Mac OS 10.6.8) all with IMAP and SSL.

All is working normally but sometimes I get an error message from my
MacBook, which is irritating. It says this (more or less):

Enter Password for Account
...

The IMAP-Server ... rejected the password
for user ...

Enter your password again or cancel.
...
o Remember this password in my keychain

The password was NOT wrong, but anyway, if reenter it, Apple Mail won't
accept it, the message will come again and again.

I guess that dovecot blocks apple mail maybe because the other two
clients try to login at the same time?

Is there any setting where I could adjust this blocking (if it is
blocking) in dovecot?
Only if this really is the reason.

The issue is coming not regularily but when it comes, often for half an
hour I cannot check mails for this account (other accounts on apple mail
won't be touched).
If I restart Apple Mail, the problem could be fixed, but maybe not.

In the logfiles of Dovecot I don't find anything about this.

Thank you and kind regards

frank


Re: [Dovecot] Problems with Apple Mail: Enter Password for Account ...

2013-05-22 Thread Professa Dementia
On 5/22/2013 7:44 AM, Frank Röhm wrote:
 Hello
 
 I have on Ubuntu 12.04 a postfix 2.9.3-2 mailserver with dovecot 2.0.19
 
 I get email from my pc (thunderbird), my smartphone (k9mail) and my
 MacBook (Apple Mail 4.6 - 1085 on Mac OS 10.6.8) all with IMAP and SSL.
 
 All is working normally but sometimes I get an error message from my
 MacBook, which is irritating. It says this (more or less):
 
 Enter Password for Account
 ...
 
 The IMAP-Server ... rejected the password
 for user ...
 
 Enter your password again or cancel.
 ...
 o Remember this password in my keychain
 
 The password was NOT wrong, but anyway, if reenter it, Apple Mail won't
 accept it, the message will come again and again.

This is one of my pet peeves about Apple Mail and to some extent,
outlook.  If *any* error occurs during the authentication phase, Apple
Mail, usually mistakenly, displays the error about bad login credentials.

These errors may include such things as network problems, DNS issues,
local mailstore errors or corruption, issues with the mail server not
related to authentication, such as file locks, etc.

Besides being annoying, and misleading, Apple Mail will invalidate your
saved password, requiring you to enter it again.  If you have chosen a
strong password, you may not remember it, which can be a real pain in
the tuchus.

First look in your logs (Finder  Applications/Utilities  Console) to
see if there are any errors.  Second, if you can and it does not create
a security problem for you, temporarily use a non-SSL connection for
mail and a network sniffer like Wireshark to watch the transaction.
Right click on a packet and select Follow TCP Stream, which is
particularly useful to see the interaction and any errors that may occur
during the interaction between Mail and the server.

The above also applies to similar problems with outlook.  Wireshark also
runs on windows, although mail error logging is not quite as good on
windows.

Dem