On Wed, May 16, 2007 at 04:55:30PM +0700, sato x wrote: > Dear guys, > > I have a qmail-ldap server that running well, except for its speed. > When a client sends a message (a simple one with text only), it will > take about 8 seconds for the email to disappear from the Outbox (I > mean, the time needed for email to get sent). > > I tried to raise the number of users into 23, and sent email in the > same time (a couple times). The average time needed to send those > emails raised to 16, 25, 50 seconds. It even took over 1 minute for > some users. The receivers were local and remote (e.g., gmail.com). >
For smtp deliveries qmail-smtpd is used and depending on the settings various DNS lookups and LDAP lookups are done. Slow behaviour is often a sign that either your DNS is not correctly setup (like only the secondary DNS server is working) or a problem with LDAP server (bad indexes or reverse DNS lookups that do not work). Also have a look at your rbllist file. Also try to use telnet and issue the various SMTP commands by hand perhaps you can identify which step takes way to long. -- :wq Claudio