All of a sudden I have users receiving others email in large amounts. We have had times when the mail server would send out old mail, but always to the correct recipient. Now I have users receiving mail from and to two different employees. This only started happening since the restart after running 10.6.5 server upgrade.
The Open Directory log does not say anything unusual:
even though user sjpapa cannot authenticate on IMAP only.
tried to create a new user test. Neither This user could authenticate on IMAP.
Nov 17 2010 10:31:54 USER: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} is the current user.
Nov 17 2010 10:31:54 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} CRAM-MD5 authentication succeeded.
Nov 17 2010 10:32:04 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} DHX authentication succeeded.
Nov 17 2010 10:32:05 RSAVALIDATE: success.
Nov 17 2010 10:32:05 USER: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} is the current user.
Nov 17 2010 10:32:05 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} CRAM-MD5 authentication succeeded.
Nov 17 2010 10:32:08 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} DHX authentication succeeded.
Nov 17 2010 10:32:08 RSAVALIDATE: success.
Nov 17 2010 10:32:08 USER: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} is the current user.
Nov 17 2010 10:32:08 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} CRAM-MD5 authentication succeeded.
Nov 17 2010 10:33:05 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} DHX authentication succeeded.
Nov 17 2010 10:33:05 RSAVALIDATE: success.
Nov 17 2010 10:33:05 USER: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} is the current user.
Nov 17 2010 10:33:05 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} CRAM-MD5 authentication succeeded.
Nov 17 2010 10:50:34 RSAVALIDATE: success.
Nov 17 2010 10:50:34 USER: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} is the current user.
Nov 17 2010 10:50:34 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} CRAM-MD5 authentication succeeded.
Nov 17 2010 10:50:34 RSAVALIDATE: success.
Nov 17 2010 10:50:34 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} DHX authentication succeeded.
Nov 17 2010 10:50:34 RSAVALIDATE: success.
Nov 17 2010 10:50:34 USER: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} is the current user.
Nov 17 2010 10:50:34 AUTH2: {0x4ce0e8076b8b45670000000400000004, MacMini.sip.com.gr$} CRAM-MD5 authentication succeeded.
The only Errors I get are on the McBook Mail Connection doctor (SMTP success, IMAP fail):
WROTE Nov 17 11:16:52.737 [kCFStreamSocketSecurityLevelTLSv1SSLv3] -- host:mail.sip.com.gr -- port:25 -- socket:0x1168e62d0 -- thread:0x116482cd0
QUIT
READ Nov 17 11:16:53.322 [kCFStreamSocketSecurityLevelNone] -- host:mail.sip.com.gr -- port:143 -- socket:0x116b2d290 -- thread:0x116033b60
2.18 NO Authentication failed.
For the time being, forwarded all email to the admin account, and login in as admin@domain to IMAP to get the mail of the user.
This workaround is being used until I find out why all other normal users cannot authenticate on IMAP, even though their accounts authenticate on SMTP.
Investigated DNS, and Open Directroy Master. No progress.
Also repaired permissions, a substantial number of permissions has been corrected, after restrt no progress either.
Its is very strange! All users authenticate on SMTP correctly,
only admins authenticate on IMAP, normal users fail IMAP authentication....
*Solution found.*
First check the your DNS is properly setup. [Mine was not, but this did not affect the IMAP issue]
The problem was that in Server Admin > Access tab [top menubar to the left of Services]
mail was allowed only to admins. *Click "allow all users and groups"*, this immediately solved the problem. I trust the upgrade to 10.6.5 changed this setting???