Hi,
I'm currently managing an qmail-ldap mail server and it has been
having problem getting messages from AOL. Some of the email went
through, while other get delayed and eventually bounced. I'm
suspecting something to do with multiple simultaneous connection done
by AOL to my server. I have environmental variable set for MAXCONNC
and MAXCONNIP for use with TCPSERVER (I did not install this myself. Previous administrator left). I can't see where these variables are
used as they are not showing on the run statement.
#!/bin/sh exec 2>&1 \ envdir ./env \ sh -c ' case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac exec \ envuidgid qmaild \ softlimit ${DATALIMIT+"-d$DATALIMIT"} \ /usr/local/bin/tcpserver \ -vDU"$H$R" \ ${LOCALNAME+"-l$LOCALNAME"} \ ${BACKLOG+"-b$BACKLOG"} \ ${CONCURRENCY+"-c$CONCURRENCY"} \ -xtcp.cdb \ -- "${IP-0}" "${PORT-25}" \ /var/qmail/bin/pbscheck \ /var/qmail/bin/qmail-smtpd '
This run file is resting on /service/smtpd/ while the environment variable is at /service/smtpd/env/.
Anyone have any experience in working with the TCPSERVER MAXCONNC and MAXCONNIP and know how they are implemented? I'm wondering if it actually works when I'm just changing these two values. Do I need to recompile the cdb file?
I'm using ucspi-tcp-0.88 with tcpserver-limits-2004-01-24 for service and qmail-ldap-1.03-20040301a.
Thanks in advance.
Well, then there must be a file with value for environment variable "CONCURRENCY" and "BACKLOG" in that directory (/service/smtpd/env).
If your system supports SYN cookies, backlog (-b) would be irrelevant. If your system doesn't support SYN cookies, but you have a problem with email delivery - I would not use backlog either. With concurrency (-c), I would suggest you try to increase it to about 90 and see if that helps.
Also, if I were you, I would probably stick to the style of "Life With Qmail" run scripts. Much more convenient and far easier to manage in my opinion.
O, and here is the "man" page for tcpserver - http://cr.yp.to/ucspi-tcp/tcpserver.html
