It appears I have that correct too: #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` BLACKLIST=`cat /var/qmail/control/blacklists` SMTPD="/var/qmail/bin/qmail-smtpd" TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb" RBLSMTPD="/usr/bin/rblsmtpd" HOSTNAME=`hostname` VCHKPW="/home/vpopmail/bin/vchkpw"
exec /usr/bin/softlimit -m 12000000 \ /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1 UPDATE: I discovered the whole system DOES work if I connect via POP3, but if I connect via POP3-SSL my IP address is *not* added to the vpopmail.relay database. My POP3-SSL run file is thus: #!/bin/sh HOSTNAME=`hostname --fqdn`; rm -rf "./env/*"; cat /etc/courier/pop3d-ssl | /usr/bin/envconv; exec /usr/bin/envdir ./env/ \ /usr/bin/softlimit -m 9000000 \ /usr/bin/tcpserver -v -R -H -l $HOSTNAME 0 995 \ /usr/bin/couriertls -server -tcpd \ /usr/sbin/pop3login \ /usr/bin/pop3d Maildir 2>&1 Which doesn't use /home/vpopmail/bin/vchkpw, which would explain why POP3-SSL connections aren't being added to the database. So my question should then be: How to get Courier SSL connections to pass the connect message to vpopmail? I assume this is an issue for IMAP and IMAP-SSL users as well. Quinn On Thu, 02 Nov 2006 10:49:21 +0100, andrej wrote: > >> And my IP address is found! >> > > well that shows that the problem is not with vpopmail. If I remember > right your problem is that your clients cant do roaming so you will have > to check if your smtpd is checking the tcp.smtp.cdb at all. I assume you > use tcpserver... make sure that in your run script the command and path > are set correct: > tcpserver -x /path/to/your/tcp.smtp.cdb > > cheers > andrej > >