Hello...
Im having a problem configuring smtp after pop for remote virtual users.
Pop3 checking seems to be working, and users are allowed to read their
mail. However vchkpw doesn't seem to be updating ~vpopmail/etc/open-smtp or
updating the ~vpopmail/etc/tcp.smtp.cdb. I am using xinetd to handle the
pop3 connection, but using tcpserver to handle the smtp connection.
heres my xinetd conf:
service pop3
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /var/qmail/bin/qmail-popup
server_args = nightskyent.com /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir
log_type = FILE /var/log/xinetd.log
log_on_success = HOST
log_on_failure = HOST RECORD
}
and my /var/qmail/supervise/qmail-smtpd/run file
#!/bin/sh
QMAILUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 4000000 \
/usr/local/bin/tcpserver -v -p -x /home/vpopmail/etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1
When I had changed the ~qmail/supervise/qmail-smtpd/run file to what was on
inter7's site it caused a infinite loop. But this should do the same, right?
Anywyas the problem seems to be that vchkpw just isnt updating the
open-smtp file and updating the tcp.smtp.cdb file. Any hints? Thanks.
--Photocon
Conrad Hunziker III
www.nightskyent.com