RE: [vchkpw] How to run multiple qmail-queue

2005-10-31 Thread Ingo Claro
John:

i'm not suggesting to have a qmail for each domain, i agree that would be a
nightmare...
you can have just a qmail for premium domains and a qmail for regular
domains. 

Manish: is that what you want?


regards,
Ingo Claro 
Gerente de Operaciones
[EMAIL PROTECTED] 
(+56-2) 43 00 155



-Mensaje original-
De: John Simpson [mailto:[EMAIL PROTECTED] 
Enviado el: Domingo, 30 de Octubre de 2005 7:24
Para: vchkpw@inter7.com
Asunto: Re: [vchkpw] How to run multiple qmail-queue

On 2005-10-29, at 1623, Ingo Claro wrote:
 but if you install many qmails in different directories (/var/qmail, 
 /var/qmail2, ...) you can have multiple queues.

i understand that. i also understand (from direct experience) that it's an
administrative nightmare, and it's a lot more work than he needs to do in
order to solve the underlying problem.

the point of my original answer was that setting up multiple queues is not
the best solution for the problem that he's having. a much better solution
is to raise the concurrencyremote value, which will create more delivery
slots, making it less likely that any one domain's messages would exhaust
all of the delivery slots before the normal tcpto mechanism decides to
blacklist the non-responsive IP address for an hour (which is why all of the
other domains' mail is stopping on his server.)

but you seem to be an expert on this. rather than trying to sell me on the
idea (you won't, because i don't really care- it's not my
server) why don't you answer the original question? explain to him, in terms
he will understand, how to successfully get two or more copies of qmail
running on the same machine. i'm sure he's waiting for somebody to do just
that, and i'm not going to do it because i don't think it's the right
solution for his problem.

 this way handling different priority queues
 depending on the domain...
 for example domain1 and domain2 goes to qmail2 and all the rest to 
 qmail3.

out of curiosity, how would you set the relative priority of each instance
of qmail-send in relation to the others? what makes one queue move faster
than the others?

and if the idea is to have a separate queue for each domain in order to
prevent one domain's mail from interfering with another domain's deliveries,
what is your answer for an ISP whose mail server handles mail for thousands
of domains- would you have them set up a separate instance of qmail for each
domain, so that each domain would have their own queue?

--
| John M. Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/   [EMAIL PROTECTED] |
--
| Mac OS X proves that it's easier to make UNIX  |
| pretty than it is to make Windows secure.  |
--





Re: [vchkpw] qmail+vpopmail on redhat 7.3 server gets very busy

2005-10-31 Thread Remo Mattei



did u check your kernel? there are some 
hackers that may exploit your server check your /tmp directory if you are also 
running apache and see if you see some hidden directories, etc.. 

just my 2 cents.

Remo

  - Original Message - 
  From: 
  Sam 
  To: vchkpw@inter7.com 
  Sent: Sunday, October 30, 2005 
18:01
  Subject: [vchkpw] qmail+vpopmail on 
  redhat 7.3 server gets very busy
  
  Hi,
  We have vpopmail version 5.2.1 with qmail 1.03 + 
  mysql 3.23 on Redhat 7.3. 
  It was running fine for the past 3 years until 
  now. 
  Lately the server at random getsslow and 
  verybusy and could not be accessed until restarted with ahard 
  reset.
  
  The only thing I can think of is rebuilding the 
  system.
  Any ideas as to why this is 
  happening?
  
  Thanks,
  Sam
  


Re: [vchkpw] .qmail- files not processed

2005-10-31 Thread Remo Mattei
who owns the .qmail file? do u use mysql as backend? there is not enough info 
in your email. 

Remo


- Original Message - 
From: Fred McIntyre [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Sunday, October 30, 2005 19:10
Subject: [vchkpw] .qmail- files not processed


 Hi,
 I'll appreciate any pointers regarding my problem. Searching the archives of 
 this list, and Googling, haven't helped. If all you do
 is point me to better search terms, I'll be happy :-)
 
 Summary: It appears that .qmail-* files are not being processed. I have 
 .qmail files with | preline /path/to/program and
 [EMAIL PROTECTED] in them. Apparently neither is processed.
 
 This problem arose after vpopmail was installed. And, I have another server 
 without vpopmail on it, where I do not have this
 problem.
 
 I have also sent this to the qmail list.
 
 Email to the following addresses (details follow) apparently vaporizes:
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 In fact, email to any address which should be handled by a .qmail file 
 apparently vaporizes. At least, I can't figure out what is
 happening to it. Email to [EMAIL PROTECTED] added by vadddomain and vadduser 
 get delivered fine. But, I need to have addresses where
 email is forwarded based on a .qmail file, or sent to a program based on a 
 .qmail file.
 
 Details:
 It does not matter where the .qmail file is located. Some examples:
 /home/vpopmail/domains/naxum.com/.qmail-frederick
 /var/rep/data/backoffice.gonewnetmail.com/qmailalias/.qmail-achievers
 /var/qmail/alias/.qmail-fred
 
 Each of the above .qmail files contains [EMAIL PROTECTED] on a single 
 line, nothing else in the file.
 
 Each of the above files, and the directory they are in, are owned, 
 respectively, by:
 vpopmail:vchkpw
 gonewnetmail:mailgroup
 root:qmail
 
 with permissions of -rw--- for files, and drwxr-sr-x for the directories.
 
 In control/virtualdomains:
 naxum.com:naxum.com
 fredandfaye.com:fredandfaye.com
 gonewnetmail.com:gonewnetmail
 nxmserver.com:alias
 
 In users/assign
 +naxum.com-:naxum.com:89:89:/home/vpopmail/domains/naxum.com:-::
 +fredandfaye.com-:fredandfaye.com:89:89:/home/vpopmail/domains/fredandfaye.com:-::
 .
 
 Notes on the domains and users:
 naxum.com is handled by vpopmail
 [EMAIL PROTECTED] has NOT been created with vadduser.
 [EMAIL PROTECTED] has been created with vadduser, and email to [EMAIL 
 PROTECTED] is delivered fine
 The path for .qmail-achievers is the home directory of the user gonewnetmail
 gonewnetmail.com is not handled by vpopmail
 nxmserver.com is not handled by vpopmail
 
 Here are log entries for email sent to relevant addresses for the above 
 examples:
 
 2005-10-30 17:01:14.063604500 new msg 36022
 2005-10-30 17:01:14.063607500 info msg 36022: bytes 947 from [EMAIL 
 PROTECTED] qp 29077 uid 81
 2005-10-30 17:01:14.063608500 starting delivery 59: msg 36022 to local [EMAIL 
 PROTECTED]
 2005-10-30 17:01:14.063610500 status: local 1/20 remote 0/400
 2005-10-30 17:01:14.069296500 delivery 59: success: 
 /var/rep/data/backoffice.gonewnetmail.com/qmailalias,achievers,gonewnetmail.com/
 2005-10-30 17:01:14.069594500 status: local 0/20 remote 0/400
 2005-10-30 17:01:14.069596500 end msg 36022
 2005-10-30 17:01:14.070010500 new msg 36069
 2005-10-30 17:01:14.070012500 info msg 36069: bytes 1039 from [EMAIL 
 PROTECTED] qp 29081 uid 708
 2005-10-30 17:01:14.070013500 starting delivery 60: msg 36069 to local 
 @mx2.tafmail.com
 2005-10-30 17:01:14.070014500 status: local 1/20 remote 0/400
 2005-10-30 17:01:14.070427500 delivery 60: success:
 2005-10-30 17:01:14.070429500 status: local 0/20 remote 0/400
 2005-10-30 17:01:14.070430500 end msg 36069
 
 2005-10-30 16:56:45.825027500 new msg 36022
 2005-10-30 16:56:45.825030500 info msg 36022: bytes 929 from [EMAIL 
 PROTECTED] qp 28984 uid 81
 2005-10-30 16:56:45.825031500 starting delivery 42: msg 36022 to local [EMAIL 
 PROTECTED]
 2005-10-30 16:56:45.825032500 status: local 1/20 remote 0/400
 2005-10-30 16:56:45.828190500 delivery 42: success: 
 /home/vpopmail/domains/naxum.com,frederick,naxum.com/
 2005-10-30 16:56:45.828482500 status: local 0/20 remote 0/400
 2005-10-30 16:56:45.828484500 end msg 36022
 2005-10-30 16:56:45.828897500 new msg 36069
 2005-10-30 16:56:45.828899500 info msg 36069: bytes 1020 from [EMAIL 
 PROTECTED] qp 28987 uid 89
 2005-10-30 16:56:45.828900500 starting delivery 43: msg 36069 to local 
 @mx2.tafmail.com
 2005-10-30 16:56:45.828901500 status: local 1/20 remote 0/400
 2005-10-30 16:56:45.829309500 delivery 43: success:
 2005-10-30 16:56:45.829311500 status: local 0/20 remote 0/400
 2005-10-30 16:56:45.829312500 end msg 36069
 
 2005-10-30 16:57:13.900139500 new msg 36022
 2005-10-30 16:57:13.900141500 info msg 36022: bytes 931 from [EMAIL 
 PROTECTED] qp 28990 uid 81
 2005-10-30 16:57:13.900143500 starting delivery 44: msg 36022 to local [EMAIL 
 PROTECTED]
 2005-10-30 16:57:13.900144500 status: local 1/20 remote 0/400
 2005-10-30 16:57:13.903978500 

RE: [vchkpw] .qmail- files not processed

2005-10-31 Thread Fred McIntyre

 who owns the .qmail file? do u use mysql as backend? there is not enough info 
 in your email.

 Remo



Remo,
I do not use mysql. Please let me know what other info you need.

As noted in my original email, regarding the .qmail files:

  It does not matter where the .qmail file is located. Some examples:
  /home/vpopmail/domains/naxum.com/.qmail-frederick
  /var/rep/data/backoffice.gonewnetmail.com/qmailalias/.qmail-achievers
  /var/qmail/alias/.qmail-fred
 
  Each of the above .qmail files contains [EMAIL PROTECTED] on a single 
  line, nothing else in the file.
 
  Each of the above files, and the directory they are in, are owned, 
  respectively, by:
  vpopmail:vchkpw
  gonewnetmail:mailgroup
  root:qmail

The only domain that is handled by vpopmail, for the examples above, is 
naxum.com. So let's deal with just that one.

I have added naxum.com to the vpopmail with vadddomain.

vpopmail put naxum.com:naxum.com into virtualdomains, and the relevant entry 
into users/assign. Email to users added with vadduser
are delivered properly.

It is my understanding that any .qmail files, matching the user name in an 
incoming email, in /home/vpopmail/domains/naxum.com will
be used before the delivery instructions in .qmail-default. That is what is NOT 
happening.

Here is a dir listing of /home/vpopmail/domains/naxum.com
drwx--   10 vpopmail vchkpw   4096 Oct 30 17:17 .
drwx--7 vpopmail vchkpw   4096 Oct 24 22:24 ..
-rw-r--r--1 vpopmail vchkpw 34 Oct 22 15:18 .dir-control
drwx--3 vpopmail vchkpw   4096 May 28 08:47 fred
drwx--3 vpopmail vchkpw   4096 May 28 08:46 postmaster
-rw---1 vpopmail vchkpw 55 May 28 08:46 .qmail-default
-rw---1 vpopmail vchkpw 21 Oct 30 17:17 .qmail-frederick
-rw---1 vpopmail vchkpw843 Oct 20 11:07 vpasswd
-rw---1 vpopmail vchkpw   3067 Oct 20 11:07 vpasswd.cdb
-rw---1 vpopmail vchkpw  0 Oct 20 11:07 .vpasswd.lock

Email sent to [EMAIL PROTECTED] is fine. Email sent to [EMAIL PROTECTED] seems 
to vaporize. The file .qmail-frederick contains the
single line [EMAIL PROTECTED] (without the double quotes) which, based on my 
understanding, means that email to
[EMAIL PROTECTED] should be forwarded to [EMAIL PROTECTED] That does not happen.

The file .qmail-default contains the single line | 
/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox (without the double
quotes).

Please let me know what other information will help you help me.

Thanks,
Fred