Re: [vchkpw] SATA NAS for vpop cluster
On Wed, 30 Jun 2004 11:16:02 -0700, Jay Tortorelli <[EMAIL PROTECTED]> wrote: > I'll chime in a say that I have had great success setting up > Qmail/Vpopmail/etc that stores on an nfs mount from a two machine mirror > using drbd/heartbeat to provide mirroring and failover. > http://www.drbd.org/ > > Using commodity hardware, it really does save you a lot of money over > the Netapps with clustering and I wouldn't even consider it a > gamble...just based on my experiences. > > Jay I played with drbd when it was first being developed but haven't touched it since. I am just curious if have any statistics on the max and average NFS operations per second your drbd/nfs host is doing? At a previous job we had NetApp 840 Filers and were doing 35k nfs op/sec on average with spikes to 60k. -- Sean
Re: [vchkpw] Problems configuring courier imap with vpopmail
On Tue, 15 Jun 2004 11:41:40 +0100, Mario Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > I can't configure courier imap, i always get this error: > > "configure: error: /home/vpopmail/etc/lib_deps does not exist - upgrade > vpopmail to the current version or fix the permissions on this file" > > But the file is there in its right place. > Already gave it 777 permissions as well to /home/vpopmail/etc > Already included this path in ld.so.conf and ran ldconfig, but no good. Don't forget to make sure that the directories below the file allow permission to access the directories/files inside them. ls -ld /home /home/vpopmail/ /home/vpopmail/etc -- Sean
Re: [vchkpw] Logs
On Tue, 15 Jun 2004 00:49:32 +0100, Mário Gamito <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm not sure if this is the right place to pose this questions, but it seems > that qmailmrtg7 doesn't have a mailing list. > > So, i want to monitor SPAM and virus through qmailmrtg7. > > Well, i'm unable to monitor both SPAM and virus. > > SPAM: > > --- > > What is the file to filter ? > /var/spool/qmailscan/qmail-queue.log ? or > /var/spool/qmailscan/quarantine.log ? > > If i run *as root": > # /usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/qmail-queue.logor > #/usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/quarantine.log > > i get this error: > > "failed to open dir /var/spool/qmailscan/qmail-queue.log" > > If i run *as root* > usr/bin/mrtg /etc/mrtg/qmail.mrtg.cfg I just downloaded the latest version that includes the clamav, and spamassasin support. If you look in the qmail.mrtg.cfg file supplied it shows for you to use the actual clamav, and spamd log files, not your qmail-scanner logs (they will not be the appropriate format for the parser). >From qmail.mrtg.cfg: Target[clamd]: `/usr/local/bin/qmailmrtg7 C /var/log/clamd` Target[spamd]: `/usr/local/bin/qmailmrtg7 S /var/log/spamd` -- Sean
[vchkpw] Question about MAX_PW_DOMAIN evaluation in vadddomain function.
Hello, Earlier today we had a customer with a long domain name sign up for our services (.com). I used the following command and arguments to add the domain to vpopmail. vadddomain -q10M -b .com. When adding them using the vpopmail tool vadddomain command I received the following error "Error: dir too long". We are currently using vpopmail version 5.3.30, and the source code for this version is the basis for my real question. When reading the source code I found that within vpopmail.c this error is generated when the vadddomain function evaluates dir, DOMAINS_DIR, and DomainSubDir as greater then or equal to MAX_PW_DOMAIN. Which is defined by default as 64 in vpopmail.h. if (strlen(dir)+strlen(DOMAINS_DIR)+strlen(DomainSubDir) >= MAX_PW_DOMAIN) { /* back out of changes made so far */ dec_dir_control(dir_control_for_uid, uid, gid); chdir(calling_dir); return(VA_DIR_TOO_LONG); } Should this not be evaluated against say the MAX_PW_DIR definition? I am not very familiar with the insides of vpopmail, so I am more or less just interested in if I should do one of two things. 1) Increase the size of MAX_PW_DOMAIN beyond 64. 2) Change the evaluation in vadddomain() to use MAX_PW_DIR instead of MAX_PW_DOMAIN. Or has this been changed fixed in newer versions of vpopmail? Take care, and thank you in advance for taking the time to respond to my inquiry. -- Sean