Interesting, My configuration file is
[LMTP]
EFFECTIVE_USER=nobody # the user that dbmail-lmtpd will run as
(need to be root to bind to a port<1024)
EFFECTIVE_GROUP=nogroup # the group that dbmail-lmtpd will run as
BINDIP=* # the ipaddress the dbmail-lmtpd server has to
bind
# to, * for all adresses. Use 127.0.0.1 to only
# bind to localhost.
PORT=24 # the port number the dbmail-lmtpd server
has to bind to.
NCHILDREN=20 # default number of LMTP handlers (each is
a process)
MAXCHILDREN=10 # max. number of LMTP handlers
MINSPARECHILDREN=2
MAXSPARECHILDREN=4
MAXCONNECTS=10000 # the maximum number of connections a
default childs makes
TIMEOUT=300 # the time (s) before the dbmail-lmtpd
should shutdown a connection which is being idle.
RESOLVE_IP=yes # if yes, the lmtp daemon resolves IP
numbers to DNS names in the log
TRACE_LEVEL=2
MAX_ERRORS=500
[POP]
EFFECTIVE_USER=nobody # the user that dbmail-pop3d will run as
(need to be root to bind to a port<1024)
EFFECTIVE_GROUP=nogroup # the group that dbmail-pop3d will run as
BINDIP=* # the ipaddress the dbmail-pop3d server
has to bind to, * for all addresses
PORT=110 # the port number the dbmail-pop3d server
has to bind to.
NCHILDREN=50 # default number of POP3 handlers (each is
a process)
MAXCHILDREN=200 # mac. number of POP3 handlers
MINSPARECHILDREN=2
MAXSPARECHILDREN=4
MAXCONNECTS=10000 # the maximum number of connections a
default childs makes
TIMEOUT=300 # the time (s) before the dbmail-pop3d
should shutdown a connection which is being idle.
RESOLVE_IP=yes # if yes, the pop daemon resolves IP
numbers to DNS names in the log
POP_BEFORE_SMTP=yes
TRACE_LEVEL=2
[IMAP]
EFFECTIVE_USER=nobody
EFFECTIVE_GROUP=nogroup
BINDIP=*
PORT=143
NCHILDREN=50
MAXCHILDREN=200 # mac. number of IMAPD handlers
MINSPARECHILDREN=2
MAXSPARECHILDREN=4
MAXCONNECTS=10000 # the maximum number of connections a
default childs makes
TIMEOUT=4000 # the time (s) before the dbmail-imapd
should shutdown a connection which is being idle.
RESOLVE_IP=yes # if yes, the imap daemon resolves IP
numbers to DNS names in the log
IMAP_BEFORE_SMTP=yes
TRACE_LEVEL=2
So Am I going over board?
----- Original Message -----
From: "jose javier parra sanchez" <[EMAIL PROTECTED]>
To: "DBMail mailinglist" <[email protected]>
Sent: Friday, February 16, 2007 8:05 PM
Subject: Re: [Dbmail] Best Gentoo Installation Method and Questions about
2.2
Hi, i had a similar problem, even with 2.2, after a small period of
time, the imap server stop to respond, and the cause was the
dbmail.conf file. The default parameters where just to low for my
needs, so i changed them to :
NCHILDREN=25 # Default number of child processes to start.
MAXCHILDREN=30 # Maximum number of child processes allowed.
MINSPARECHILDREN=4 # Unused children to always have availale.
MAXSPARECHILDREN=25 # Maximum unused children allowed to be active.
MAXCONNECTS=1000 # Child process is restarted after handling
this many connections.
MAX_ERRORS=50 # Child process will restart after this many
connection errors.
TIMEOUT=300 # Idle time allowed before a connection is shut
off.
Anyway, you should consider making NCHILDREN higher, like 200, as you
have more permanent conections like me. Also on the database you need
to change the number of maximum conections availables, i think the
default is 100, you probably need more.
I hope it helps.
2007/2/16, Sunny Koh <[EMAIL PROTECTED]>:
Hello,
My current DBMail system is getting very unstable and needs a full reset
every now and then with the system complianting about not having enough
database connections or imap connections that fail after a few seconds.
(Currently usinbg 2.0.10 on Gentoo Linux with postfix/mysql) Also, my
nightly cleanup database script is currently running for 55 minutes at
midnight and no one is able to check their mail during that time of day.
For some reference, I have about 60 real users and my Database size is
about 2 to 4GB runing on a Pentium-III 1Ghz with 1GB RAM.
The base OS is patched for a few years, I am going to do a fuull reimage
and reinstallation. And hopefully most of these problems would be gone.
My first question would be what would be the best method to do the
install, download the .tar.gz, follow the normal method or use portage?
(I am aware that dbmail is not in the main portage database, but if I am
going to use the ebuilt, what are the commands/step I should be taking?)
And which init script files should I be using. (I was using the posted
Gentoo ones from the mailing list a few years ago)
Second question is is 2.2 stable enough? I don't want a confidence lost
with my users when I perform the upgrade. I am very interested in the
LDAP as I want to implement a groupware package during this round of
upgrades.
My Third question is, it is possible to use a second machine to do
anti-spam filtering? I am considering doing this as it gives some
redundancy to my mail setup as I can set the primary reciever to this
machine and it forwards to the real mail server. (As well as keeping the
email server nice and simple) Any community views on this?
Thank you all
Regards
Mr. Sunny Koh
Executive System Administrator
Acorn Eduatinment Pte Ltd
Part of
The NurtureCraft Group
Singapore
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail