I'm getting a lot of errors like this in dbmail.err:

dbmail-lmtpd[29423]: Error:[lmtp] lmtp.c,lmtp_handle_connection(+205):
client timed, connection closed

I'm using dbmail 2.2.11, squirrelmail, postfix, dovecot.  

I was looking into the log file because almost every time that squirrelmail
does an auto-refresh of the folders pane, it doesn't work and instead just
says "Connection dropped by imap server".  Does anyone know if these two are
related?  Any idea on the problem?

Here is my dbmail.conf:

[DBMAIL] 
driver               = mysql
authdriver           = sql
host                 = localhost 
sqlport              = 3306
sqlsocket            = /var/lib/mysql/mysql.sock 
user                 = dbmail             
pass                 = *
db                   = dbmail               
table_prefix         = dbmail_   
#encoding             = utf8
#default_msg_encoding = utf8

postmaster           = [email protected]
sendmail              = /usr/sbin/sendmail     

TRACE_SYSLOG          = 5
TRACE_STDERR          = 5

EFFECTIVE_USER        = nobody
EFFECTIVE_GROUP       = nobody

BINDIP                = 127.0.0.1

NCHILDREN             = 2             
MAXCHILDREN           = 10          
MINSPARECHILDREN      = 2      
MAXSPARECHILDREN      = 4      
MAXCONNECTS           = 10000       
MAX_ERRORS            = 500          
TIMEOUT               = 4000             
login_timeout         = 60
RESOLVE_IP            = yes
IMAP_BEFORE_SMTP         = yes 
logfile               = /var/log/dbmail.log        
errorlog              = /var/log/dbmail.err        
pid_directory         = /var/run
state_directory       = /var/run
library_directory       = /usr/local/lib/dbmail

[LMTP]
PORT                  = 24000                 

[IMAP]
PORT                  = 21430                
TIMEOUT               = 4000            
idle_timeout          = 30
capability              = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE CHILDREN 
SORT QUOTA
THREAD=ORDEREDSUBJECT UNSELECT IDLE

[SIEVE]
# 
# Port to bind to.
#
PORT                  = 2000               

[LDAP]
PORT                  = 389
VERSION               = 3
HOSTNAME              = ldap
BASE_DN               = ou=People,dc=mydomain,dc=com

# 
# If your LDAP library supports ldap_initialize(), then you can use the
# alternative LDAP server DSN like following.
#
# URI                = ldap://127.0.0.1:389
# URI                = ldapi://%2fvar%2frun%2fopenldap%2fldapi/

# 
# Leave blank for anonymous bind.
# example: cn=admin,dc=mydomain,dc=com     
#
BIND_DN               = 

# 
# Leave blank for anonymous bind.
#
BIND_PW               = 
SCOPE                 = SubTree
USER_OBJECTCLASS      = top,account,dbmailUser
FORW_OBJECTCLASS      = top,account,dbmailForwardingAddress
CN_STRING             = uid
FIELD_PASSWD          = userPassword
FIELD_UID             = uid
FIELD_NID             = uidNumber
MIN_NID               = 10000
MAX_NID               = 15000
FIELD_CID             = gidNumber
MIN_CID               = 10000
MAX_CID               = 15000
FIELD_MAIL            = mail
FIELD_QUOTA           = mailQuota
FIELD_FWDTARGET       = mailForwardingAddress

[DELIVERY]
# 
# Run Sieve scripts as messages are delivered.
#
SIEVE                 = no               

# 
# Use 'user+mail...@domain' format to deliver to a mailbox.
#
SUBADDRESS            = yes          

# 
# Turn on/off the Sieve Vacation extension.
#
SIEVE_VACATION        = yes      

# 
# Turn on/off the Sieve Notify extension
#
SIEVE_NOTIFY          = yes

# 
# Turn on/off additional Sieve debugging.
#
SIEVE_DEBUG           = no          

# 
# Use the auto_notify table to send email notifications.
#
AUTO_NOTIFY           = no          

# 
# Use the auto_reply table to send away messages.
#
AUTO_REPLY            = no           
# 
# Defaults to "NEW MAIL NOTIFICATION"
#
#AUTO_NOTIFY_SUBJECT        =    

# 
# Defaults to POSTMASTER from the DBMAIL section.
#
#AUTO_NOTIFY_SENDER        =   

# 
# If you set this to 'yes' dbmail will check for duplicate
# messages in the relevant mailbox during delivery using 
# the Message-ID header
#
suppress_duplicates     = no


# end of configuration file


Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/dbmail-lmtpd-error-tp23574134p23574134.html
Sent from the dbmail users mailing list archive at Nabble.com.

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to