I am having a problem along the lines.  I can't get it to rebuild the file
at all.  the open-smtp file is updated, but tcprules seems to never run, and
the tcp.smtp.cdb file is never updated. I was missing the
"--enable-tcpserver-file=~vpopmail/etc/tcp.smtp" in my config file, so I
hope using that helps.

By following the vpopmail instructions, when someone pops in, the open-smtp
file is updated with the dynamic info.  The tcp.smtp is the static IP
addresses that will always be allowed to relay.  Will these files be merged
by tcprules?

Thanks
Jim
----- Original Message -----
From: "Gourgen Hakobian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 12:05 PM
Subject: vchkpw tcp.smtp rebuild problem (possibly)


Hi there

  Here is the problem... I already spent a ton of time and searched
  the entire web for answer but the problem still persists. So any
  help will be greatly appreciated.

  The thing is that right after roaming POP user enters pop auth password,
vchkpw
  locks and takes 100% of CPU;-) It writes user's IP and timestamp to
  ~vpopmail/etc/open-smtp, but when it's time to rebuild tcp.smtp via
  tcprules, it stops and doesn't even exit. This happens only if it needs
  to rebuild tcp.smtp (e.g. new IPs only).

  System: FreeBSD 4.2, Qmail 1.03, vpopmail 4.9.10, ucspi-tcpi 0.88,
  qmail-pop3d

  Vpopmail compile options:

  ./configure --enable-roaming-users=y  --enable-tcprules-prog
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
  --enable-hardquota=15000000000

  Startup scripts:

#!bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
/usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u1003 -g1003 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

/usr/local/bin/tcpserver -H -R -u 1009 -g 1005 0 pop3 \
/var/qmail/bin/qmail-popup digital.am \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir \
2>&1 | /var/qmail/bin/splogger pop3 3  &

--
Best regards,
 Gourgen Hakobian                          mailto:[EMAIL PROTECTED]





Reply via email to