RE: 5.0 next to 4.10.x

2001-11-08 Thread Brad Dameron

I use a nfs server with 2 qmail box's using Maildir and vpopmail and I don't
see any issues with too many directories, etc. What kind of performance
issues are you seeing?

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



-Original Message-
From: Lu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 08, 2001 12:05 PM
To: [EMAIL PROTECTED]
Subject: RE: 5.0 next to 4.10.x


I appreciate everyone's feedback on this.

A couple of last things I need to ask:

Perhaps the downside of using NFS or other shared volume is at a certain
point, the number of directories and files it has to handle will be too
great whereas if I go with separate servers, this is not a problem and
likely an increase in performance.

I guess it all depends on the type of hardware one has but is this
something you take seriously ?

What about scalability ?

Thanks.





can you help me?

2001-11-08 Thread stone m.j



Hi [EMAIL PROTECTED]: 
I read vpopmail install guide, I need the "Matt Simersons tcpserver-mysql 
patch". Can you tell me where to download? Thank you a lot! Stone 
M.jNov 9,2001


Re: 5.0 next to 4.10.x

2001-11-08 Thread Ken Jones

If a site ever did get to the point where one machine
couldn't handle the disk/network I/O, you could
easily split up each domains user dirs across 1(default)
to 63 nodes. 0-9,A-Z,a-z.

Ken Jones

On Thu, 2001-11-08 at 21:11, Doug Clements wrote:
 This is offset by the risk of running non-redundant servers.
 
 We have a large NFS store running on FreeBSD (trying to get a Netapp).
 vpopmail provides a very effective directory structure which dynamically
 accounts for large amounts of domains and users. Also, with a dedicated NFS
 server, you can stuff it full of RAM and have it cache most directory
 accesses. This takes disk access load off the mail client. It also provides
 a central place to back everything up to. Back up one server, and one server
 only. If a node dies, you replace it. If the NFS server dies, replace it and
 restore a backup of data. We keep 2 IDE drives in the NFS server for
 rotating backups, so in a pinch, if the raid fails, we could mount a backup
 disk and be back online in minutes.
 
 Of course, with a clustered netapp solution, it makes things so much easier.
 They're kinda expensive, though.
 
 From the FreeBSD 4.4 release notes:
 A simple hash-based lookup optimization for large directories called dirhash
 has been added. Conditional on the UFS_DIRHASH kernel option, it improves
 the speed of operations on very large directories at the expense of some
 memory.
 
 So if you have tons of memory and still aren't happy with performance, you
 can tweak the server to be even faster :)
 
 --Doug
 
 
 
  -Original Message-
  From: Lu [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 08, 2001 12:05 PM
  To: [EMAIL PROTECTED]
  Subject: RE: 5.0 next to 4.10.x
  
  
  I appreciate everyone's feedback on this.
  
  A couple of last things I need to ask:
  
  Perhaps the downside of using NFS or other shared volume is at a certain
  point, the number of directories and files it has to handle will be too
  great whereas if I go with separate servers, this is not a problem and
  likely an increase in performance.
  
  I guess it all depends on the type of hardware one has but is this
  something you take seriously ?
  
  What about scalability ?
  
  Thanks.
  
  
  
 
 





Re: Restarting qmail-send in a cluster

2001-11-08 Thread Hendry D Lee

I believe that this could be done with dsh (the distributed shell) too.

http://packages.debian.org/testing/net/dsh.html

It needs a remote shell like ssh and rsh though. Once install, just define the 
group of servers, i.e. clusters, and then when it is time to issue kill -HUP 
signal to qmail[-send], just issue the command:

dsh -g clusters killall -HUP qmail-send or
dsh -g clusters svc -h /service/qmail

Hendry D. Lee

 Hey guys!  I had a brainstorm the other night when I was talking with Ken.
 Why not use tcpserver as a wrapper to hup qmail-send on all the smtp boxes
 in a cluster?
 
 I've played with it, and it works.  Here's how I did it:
 
 Standard disclaimer -- This works for me in a cluster of 7 Sun's, 3 of which
 handle SMTP, and the rest do POP and IMAP.  No warranties, blah blah blah
 
 First, I'm running qmail under daemontools, so my restart script is designed
 around it, but any shell script will work...

[...]





Re: Manually updating virtualdomain databases

2001-11-08 Thread Ken Jones

A slick way is to rsync almost the whole
/var/qmail/control and /var/qmail/users directories.
You can skip the control/me file if you want each 
server to tag emails with thier id. As long as
the OS's are the same then the all the files will
be compatible.

On Thu, 2001-11-08 at 18:21, Doug Clements wrote:
 Greetings,
I'm attempting to replicate vpopmail configurations across a cluster of 
 machines. I can copy over the rcpthosts, morercpthosts, virtualdomains, and 
 assign files to the slave server, but I can't figure out how to rebuild the 
 binary databases from these files.
 
 The /home/vpopmail directory is NFS mounted from a central place to provide 
 access to all domains to all servers, but I do not want to NFS mount 
 /var/qmail.
 
 If I replace these files, then add/delete a domain using the vpopmail tools 
 on the slave machine, it appears to update the binary files correctly, but I 
 would like to know the correct way to do this.
 
 Anyone have some ideas?
 
 --Doug
 





Re: Problems with Virtual IP domains and Courier-imap 1.3.11

2001-11-08 Thread Ken Jones

The key lies in the courier-imap preauthvchkpw.c file in
the authlib directory. Check if it is calling the vpopmail
function parse_email() or vset_default_domain(). If it
doesn't, I've got a copy that should have it.

These are the functions that set get the ip -- domain
mapping from vpopmail.


On Thu, 2001-11-08 at 15:40, Rick Macdougall wrote:
 Hi All,
 
 I've looked the the mailing lists, faq's etc and haven't been able to find
 an answer except MAYBE that the code needs to be revisited.
 
 Problem: domains on their own IP's cannot authenticate with the domain
 extension on the user name
 Example: test.axess.com = 216.162.64.210, vimap -a 216.162.64.210
 test.axess.com
 User: rickm can not authenticate via pop3, user [EMAIL PROTECTED] does
 without any problem.
 
 Courier running without -nodnslookup and I've even tried compiling
 authvchkpw and installing that in /usr/lib/courier/libexec/authlib and
 changing the pop3d config file to use that instead of authdaemon.  Same
 results either way.
 
 If I was clear, let me know and I'll elaborate.
 
 Regards,
 
 Rick
 
 
 





Re: can you help me?

2001-11-08 Thread hari_bhr



Read: http://matt.simerson.net/computing/qmail/qmail.toaster.shtml

  - Original Message - 
  From: 
  stone m.j 
  
  To: [EMAIL PROTECTED] 
  Sent: Friday, November 09, 2001 7:17 
  AM
  Subject: can you help me?
  
  Hi [EMAIL PROTECTED]: 
  I read vpopmail install guide, I need the "Matt Simersons 
  tcpserver-mysql patch". Can you tell me where to download? Thank you a 
  lot!Stone M.jNov 
9,2001


VQREGISTER

2001-11-08 Thread Jason Brunk

i have vqregister installed, and i was wondering, when i disable a pop
account with the vqregister it works ok, the pop access gets disabled, but
when i tell it to disable webmail, it doesn't disable it, anyone have any
thoughts?

jason




Re: Documentation (my 0.91 patch)

2001-11-08 Thread Bill Shupp

On Thursday, November 8, 2001, at 10:22 AM, Bill Shupp wrote:


 On Thursday, November 8, 2001, at 10:14 AM, ratMin wrote:


 sry, my mistake, I wasnt correct - qota isnt broken, just
 vpopmail and courier-imap does use different quota system.
 vdelivermail makes .current_size and courier-imap looks for
 maildirsize

 This is something I very much want as a configure option for 
 vdelivermail, and plan to take a stab at it soon.

 only thing I still miss for quota is domain-based default
 quota eg. one more line to .qmailadmin-limits file.

 Steve Fulton has talked about writing a patch for this, but it would be 
 built into vadduser I think, rather than something qmailadmin 
 specific.  Might want to ask him directly about it.

 I could patch qmailadmin to do this pretty easily, actually, since most 
 of the framework for domain defaults is already there.  Maybe I'll have 
 time to do that today...

Ok, I've patched qmailadmin to support default_quota quota in 
.qmailadmin-limits.  Works for me, but please test.  I also undid the 
change to QA_PACKAGE and QA_VERSION, as autoconf breaks it.  Compilation 
will fail if you ever run make distclean.  I'm sure there's a better way 
to get rid of the compilation warnings on FreeBSD, this just isn't it.

See INSTALL for info.

How to apply:

cd qmailadmin-0.90
lynx --source http://shupp.org/patches/0.91.patch.gz | patch -p0
./configure options
make
make install

Regards,

Bill Shupp




slen, scat, scopy

2001-11-08 Thread Mattias Brändström

Hello!

I am trying to compile qmailadmin but I can't get it to work. The build
fails with messages like this one:

alias.o: In function `delredirectnow':
/home/brasse/qmailadmin-0.45/alias.c:587: undefined reference to `slen'
/home/brasse/qmailadmin-0.45/alias.c:589: undefined reference to `scopy'
/home/brasse/qmailadmin-0.45/alias.c:590: undefined reference to `scat'

I am guessing that these functions are defined in libvpopmail. I am using
vpopmail 5.0. Does anyone know if these funstions are still defined in
that version? That's the only explanation I can find. The lib_deps and
inc_deps files are in /home/vpopmail/etc. The contents of them looks like
this:

inc_deps:
-I/home/vpopmail/include

lib_deps:
-L/home/vpopmail/lib -lvpopmail

Any suggestions?

Regards,
Mattias