[email protected] wrote:

 Hello,

I have a very strange problem now with Dmail. I have been authenticating to mssql via odbcauth for some time now, and it has been working fine. I recently switched to MYsql still using odbcauth and now I can login and get the mail sometimes, but most of the time I receive this error:
'-ERR problem with open or lock of your mail file - maildrop failed check'

I have tried using mysqlauth, however, my users passwords are in clear text, 
and I have not been able to get mysql to use clear text passwords. (even though 
it says in the manual that clear text is default)

I will include a log at the bottom of this email for inspection.  Please let me 
know if anyone has any idea what is causing this asap as this is affecting more 
that 4000 clients.


I believe the problem is dmail is not coping with the long response from the 
authent module, if you modify
your odbcauth.ini to only return fields that are required by the mail server 
then that should fix the
problem.

I strongly recommend upgrading to surgemail at some point.

        ChrisP.

Thank you very much,

Ben

log 21 16:17:57 [1] Debug: tcp_to={x.x.x.x}

log 21 16:17:57 [1] Debug: No match for {x.x.x.x} searched 6

log 21 16:17:57 [1] Debug: set domain for user testuser to mail.whatever.com 
(did = 0)

log 21 16:17:57 [1] Debug: Found cache entry 16 for testuser

log 21 16:17:57 [1] Debug: Checking testuser

log 21 16:17:57 [1] Debug: Lower cased user name to {testuser} as 
lowercase_username true.

log 21 16:17:57 [1] Debug: bindir for user testuser is now {C:\dmail\mail}

log 21 16:17:57 [1] Debug: do_hash: drop_dir is C:\dmail\mail

log 21 16:17:57 [1] Debug: old-style check: username to hash on is, testuser
log 21 16:17:57 [1] Debug: reading uinfo for user testuser to obtain hbna

log 21 16:17:57 [1] Debug: opening inf file: C:\dmail\mail\testuser_inf

log 21 16:17:57 [1] Debug: hbna not found in old .idx file, so using hbna 0 
from C:\dmail\mail\testuser_inf

log 21 16:17:57 [1] Debug: blocking look up for testuser

log 21 16:17:57 [1] Info: Error too many chars available 1879, max 200, 
throwing some away.

log 21 16:17:57 [1] Debug: Auth request: lookup testuser

log 21 16:17:57 [1] Debug: Writing data 11 bytes

log 21 16:17:57 [1] Debug: Writing data done

log 21 16:17:57 [1] Info: Rejected testuser, authent said address="" city="" state="" zip="" country="" comments="Created Manually through SQL by:" enabled="yes" authcode="45646546" refID="4654646464" added="no" referer="" processor="admin" 
beta="no" diskspace="0" ip_address="" ccverify="" gid="5003" gecos="45646546" whater="/asdfdas" field32="/blaa/blaaaa" lstchg="1" uid="1111" min="0" max="99999" warn="0" inact="0" expire="-1" flag="0" 
cryptpass=""

log 21 16:17:57 [1] Error: achan_lookup for user 'testuser' failed

log 21 16:17:57 [1] Debug: achan_lookup returned {}

log 21 16:17:57 [1] Error: set_drop_dir() failed, so preventing login in 
mdrop_check()

log 21 16:17:57 [1] Info: Failed maildrop check for user testuser, problem was 
not due to locking.

log 21 16:17:57 [1] Info: Informed user: '-ERR problem with open or lock of 
your mail file - maildrop failed check'

log 21 16:17:57 [1] Info: tcp: Socket closed by remote end [1] 2072

log 21 16:17:57 [1] Debug: Closing pchan [1] testuser

log 21 16:17:57 [1] Debug: tcp_doclose: chan 1




Reply via email to