[vchkpw] system quota
Hi, I want to use system quota for domain quota. I write a patch for vpopmail-5.4.10 and CVS's latest vdelivermail.c (Rev. 1.11.2.4, It will be a part of vpopmail-5.4.12?). patches will return over quota message to sender. The patch for 5.4.10 worked on my system. sorry for my english. Best Regurds. -- Toshihiko Kyoda [EMAIL PROTECTED] vpopmail-5.4.10_system_quota.patch Description: Binary data vdelivermail-1.11.2.4_system_quota.patch Description: Binary data
[vchkpw] Re: block non-relay from remote to local?
Hello Billy, On Saturday, July 2, 2005 at 6:32:47 PM Billy wrote: N.B.: Number of authentication should not play a role in accessing your cdb-file, if you're configured vpopmail to only use MySQL the cdb will be as static as your kernel: unless *you* change it, it won't change. (I'm going by memory, so this is a paraphrase.) If you aren't familiar with the Matt Simerson mysql patch, it was born because there can be major lookup problems with the cdb file, especially using POP before SMTP. Have tested it a long time ago and know why it was developed, albeit I don't actively use it. Mysql has no problem with the above scenario, as it is designed for heavy accesses and changes to its tables. Absolutely right. But: what's the matter with 'POP-before-SMTP done through MySQL' and additionally using a .cdb-file for static entries? Does the patch nevertheless a MySQL-lookup, even if something is found in .cdb-file? In this case a .cdb-file in fact wouldn't make much sense, except the fact the answer from MySQL could kept short (no result) and some parsing time could be spared. -- Best regards Peter Palmreuther An authority: someone who knows lots of things you could care less about.
Re: [vchkpw] Segmentation fault on one domain
On Jul 2, 2005, at 12:34 PM, [EMAIL PROTECTED] wrote: I'm using cdb for the password database. This domain was working fine up until Thursday. Which on Wendsday I was working on removing and readding some accounts with quotas enabled through the vqadmin web interface. Try deleting vpasswd.cdb and then see what happens. If you still have problems, look at the vpasswd file for corruption, especially the entries before and after the qwerty1234 user. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ You don't need a laptop to troubleshoot high-speed Internet: sniffter.com
Re: [vchkpw] Segmentation fault on one domain
I found the problem. It was in the vpasswd file. Some how there was an ^G at the end of one of the lines along with a space between it and the next user. Thanks for the info. -- Joseph Clark Systems Administrator SimplePC (www.SimplePC.com) Office: (864) 229-2447 Cell: (864) 980-3631 Email: [EMAIL PROTECTED] On Jul 2, 2005, at 12:34 PM, [EMAIL PROTECTED] wrote: I'm using cdb for the password database. This domain was working fine up until Thursday. Which on Wendsday I was working on removing and readding some accounts with quotas enabled through the vqadmin web interface. Try deleting vpasswd.cdb and then see what happens. If you still have problems, look at the vpasswd file for corruption, especially the entries before and after the qwerty1234 user. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ You don't need a laptop to troubleshoot high-speed Internet: sniffter.com
[vchkpw] default action on all mailboxes
Hello guys is there a way to execute a default action like to capture a word running a perl or shell script and if the word is captured then delete or move the message to a different mailbox. I would like to have this globally and not per users. Thanks, Remo
Re: [vchkpw] Re: block non-relay from remote to local?
Peter Palmreuther wrote: Hello Billy, On Saturday, July 2, 2005 at 6:32:47 PM Billy wrote: N.B.: Number of authentication should not play a role in accessing your cdb-file, if you're configured vpopmail to only use MySQL the cdb will be as static as your kernel: unless *you* change it, it won't change. (I'm going by memory, so this is a paraphrase.) If you aren't familiar with the Matt Simerson mysql patch, it was born because there can be major lookup problems with the cdb file, especially using POP before SMTP. Have tested it a long time ago and know why it was developed, albeit I don't actively use it. Mysql has no problem with the above scenario, as it is designed for heavy accesses and changes to its tables. Absolutely right. But: what's the matter with 'POP-before-SMTP done through MySQL' and additionally using a .cdb-file for static entries? Does the patch nevertheless a MySQL-lookup, even if something is found in .cdb-file? In this case a .cdb-file in fact wouldn't make much sense, except the fact the answer from MySQL could kept short (no result) and some parsing time could be spared. Well, I had to look up the stuff myself. I'm not completely positive, but it looks like you can still use -x and the (Matt Simerson hack) -S, too. See http://www.tnpi.biz/internet/mail/toaster/patches/tcpserver-mysql.shtml I use a lot of Matt's stuff, but as you can see, this hack is for the big leagues. (I just looked at my service run files, which are automatically generated. No -S, just -x /usr/local/vpopmail/etc/tcp.smtp.cdb -- I don't do pop-before-smtp) But using both, you do two reads per SMTP access. Only consider that if the cdb file is static, that small of a file will be resident in your memory cache almost assuradly. I think you are splitting hairs, until you get a 10,000+ user system and benchmark it. You will need to see the source hack to see what is done, when, and how, or benchmark it. Or ask Matt! Billy