RE: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Jonathan Viney
Add the -S switch to your qmail-smtpd script and restart the servers. You should now be running off the relay table in your database. cheers Shane Hi, Is it possible to use this patch in place of /etc/tcp.smtp.cdb for permanently allowed hosts? I had a look a while back and noticed

Re: [vchkpw] vpopmail courierIMAP auth from MySQL

2003-09-24 Thread Jonathan Viney
Hi, Is it possible to get vpopmail courierIMAP to auth from the same MySQL database? Yes, simply compile courier-imap with --with-authvchkpw to enable to auth against vpopmail. Cheers, Jonathan

Re: [vchkpw] Matt Simersons tcpserver-mysql patch how-to??

2003-09-24 Thread Jonathan Viney
Hi, I just checked Matt's patch, and he indeed added that code. So it will work. You cannot set ENV-vars though! Hi, It must set RELAYCLIENT though I would have thought just had a quick look at the code and yes: ! if(usemysql) { ! if(flagdeny==2) { !/* drop_db(); */ ! }

Re: [vchkpw] vpopmail maildrop

2003-09-26 Thread Jonathan Viney
Hi, On Sat, 2003-09-27 at 01:29, til wrote: Hi, after fiddling around with my mailserver configuration, everything seems to work now except for one thing. I'd like to Catch-All non existent accounts to postmaster, so i tried to change the delivery instruction in .qmail / .qmail-default

[vchkpw] Valias and maildrop/vdelivermail, and valias bug?

2003-09-30 Thread Jonathan Viney
Hi, I have been pondering this problem for a few days now and can't seem to find a solution. I am trying to implement per user spam/virus prefs using maildrop as the delivery agent. It is all working apart from two problems, aliases ad catchall. Maildrop script (partial): VPOP=|

Re: [vchkpw] Valias and maildrop/vdelivermail, and valias bug?

2003-10-01 Thread Jonathan Viney
Hi, What if valias exited with -1 if it's an invalid alias? I just changed it to do so in the CVS repository, and it will be in 5.3.28. Cheers, most appreciated :). I am still wondering about the catchall stuff though. If I can check valias as well then I could use something like:

Re: [vchkpw] Re: How to Stop Spam

2003-10-01 Thread Jonathan Viney
Hi, This will allow any valid vpopmail user to use their email address and password as an SMTP login. However, the most popular qmail-smtpd-auth patch has CRAM-MD5 as one of the auth methods and as far as I know vpopmail [at least in standard installation, where all passwords are

Re: [vchkpw] Vpopmail 5.3.28 released

2003-10-03 Thread Jonathan Viney
Hi, On Sat, 2003-10-04 at 06:57, Tom Collins wrote: To the best of my knowledge, the only critical errors holding up astable release are as follows: Great to see it moving to a stable release! One thing I just noticed is that configure appears to run again when running make. ie: ./configure

Re: [vchkpw] Vpopmail 5.3.28 released

2003-10-03 Thread Jonathan Viney
Hi, My guess is that it has to do with the date/timestamps on the various configure files. It shouldn't be a problem, since configure is re-run with the same options. This would appear to be right. Running touch ac* config* causes configure to only be run once although there

[vchkpw] Vadddomain should create limits entry in MySQL

2003-10-06 Thread Jonathan Viney
Hi, I have just checked with 5.3.28 and when creating a new domain with vadddomain, an entry is not added for the domain in the limits table. This means that the vmoddomlimits command doesn't work and fails with Failed to vget_limits. I suggest that either a) an entry is created with the domain

Re: [vchkpw] Vadddomain should create limits entry in MySQL

2003-10-06 Thread Jonathan Viney
Hi, This is easily fixed manually, just run 'INSERT INTO limits (domain) VALUES ('example.net')' to create an entry and vmoddomlimits works fine. It is just that this should be done automatically at some point. Failed to vget_limits. when i use vpopmail with enable-mysql-limits and try to

Re: [vchkpw] Vpopmail + Apache

2004-01-25 Thread Jonathan Viney
. Thanks, Jonathan -- Jonathan Viney Bluewire Solutions Position: Partner, Systems Admin Contact: 021 039 7515 Website: www.bluewire.net.nz Email: [EMAIL PROTECTED]

RE: [vchkpw] Vpopmail + Apache

2004-01-25 Thread Jonathan Viney
I have had that error a number of times but I've never seen it documented anywhere. Simply run 'touch /var/qmail/control/locals' to fix it. It happens when the locals file doesn't exist, ususally because the install of qmail didn't create it. As I mentioned to X-Istence, that's what I

Re: [vchkpw] XFS Problems

2004-05-07 Thread Jonathan Viney
On Fri, 2004-05-07 at 13:16 +0200, Alejandro Alfonso wrote: XFS don't seem to be the problem. Most of my mail servers works with XFS, over IDE, SCSI and even RAID by sofware. I agree, I've been using XFS with vpopmail for a while now and haven't had any problems. Jonathan

[vchkpw] Generate password in MySQL

2004-04-26 Thread Jonathan Viney
Hi all, Can someone tell me how I can generate a password which could be used in the pw_passwd field in MySQL? If possible, I'd like MySQL to generate the password, can anyone give me some pointers? Cheers, Jonathan

Re: [vchkpw] Generate password in MySQL

2004-04-26 Thread Jonathan Viney
Thanks for the replies (Michael and David). Very helpful. Cheers, Jonathan Michael Bowe wrote: - Original Message - From: Jonathan Viney [EMAIL PROTECTED] Hi all, Can someone tell me how I can generate a password which could be used in the pw_passwd field in MySQL? If possible