Re: [vchkpw] Troubleshooting enable-roaming-users
Ah ha, so it is in the database rather than /home/vpopmail/etc/open-smtp. And...the database contains the IPs! mysql> select * from relay; +++ | ip_addr| timestamp | +++ | 83.167.100.41 | 1162456105 | | 69.236.80.73 | 1162455951 | | 63.195.16.136 | 1162445324 | | 67.161.162.12 | 1162455940 | | 71.139.185.158 | 1162449362 | | 71.202.165.159 | 1162447742 | | 208.53.81.33 | 1162454384 | | 24.61.40.57| 1162455976 | +++ 8 rows in set (0.00 sec) Now checking tcp.smtp.cdb... [EMAIL PROTECTED]/0 ~]$grep 63.195.16.136 /etc/tcprules.d/tcp.smtp.cdb Binary file /etc/tcprules.d/tcp.smtp.cdb matches And my IP address is found! So...it *should* be working, but it's not. Arrr! Anything else I can look at? Quinn On Thu, 02 Nov 2006 08:24:57 +0100, andrej wrote: >> Yes! >> > then you should check if you have the 'relay' table (and whats written > there) in your vpopmail mysql table. You can also look at tcp.smtp.cdb > with cat tcp.smtp.cdb. You find the listed IPs at the end of the dump. > > cheers > andrej > > >
Re: [vchkpw] Troubleshooting enable-roaming-users
> 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
Re: [vchkpw] Troubleshooting enable-roaming-users
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 1200 \ /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 900 \ /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 > >
Re: [vchkpw] Troubleshooting enable-roaming-users
On Nov 2, 2006, at 2:59 PM, Quinn Comendant wrote: 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. You probably just need to recompile/reinstall courier so it relinks libvpopmail and picks up the correct setting for roaming users. My guess is that your initial install didn't support roaming users, but you updated vpopmail later to enable it. libvpopmail is always statically linked (for now) so updating vpopmail requires updates to Courier-IMAP, QmailAdmin and any other app that links to libvpopmail. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/