Hello: I have found some problems with my qmail+vpopmail instalation. The system don't create the open.smtp files but it's update the tcp.smtp.cdb file.
I compiled vpopmail like this:
--enable-mysql=y --enable-roaming-users=y --enable-valias=y
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=60
My service run script files:
_qmail-pop3d_
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 \
softlimit ${DATALIMIT+"-d$DATALIMIT"} \
/usr/local/bin/tcpserver -u89 -g89 \
0 110 \
/var/qmail/bin/qmail-popup "${POPUPHOST-`sed 1q /var/qmail/control/me`}" \
/home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d "${MAILDIRNAME-Maildir}"
'
_qmail-smtpd_
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec softlimit -m 2000000 \
tcpserver -v -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u89 -g89 0 smtp qmail-smtpd 2>&1
I put uid/gid of vpopmail on the scripts.
When vpopmail is compiled and installed, i create -by hand- the tcp.smtp for 127.0.0.1
and then the tcp.smtp.cdb, i tried to create .cdb by hand and with cleanopensmtp. If I
make the cdb with tcprules the relay is correct, i cant send mail to a non local
domain, but if i create the cdb with bin/cleanopensmtp (before "pop3ing") the smptd is
open, a great spam victim. I suppose that the server is open because there aren't any
open.smtp on etc �?
When I "poping" to my pop3d it update the tcp.smtp.cdb but don't create the
open.smtp/open.smtp.lock files; i try to create that files by hand but vpopmail don't
update them. The directory /home/vpopmail/etc has the correct permissions and owners.
I was reading the list history in http://marc.theaimsgroup.com/?l=vchkpw and I think
that I make all that u had said on it.
The log of smtpd & pop3 don't show any bad thing, and all "poping" & "smtping" is
right without errors.
Perhaps, u can say something that I can try to do.
Tks in advance,
---
Roberto Bravo
ARD System S.L.
Madrid - Spain
pd Excuse my english, i know that it's bad.
pgp00000.pgp
Description: PGP signature
