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] How to run multiple qmail-queue

2005-10-30 Thread John Simpson

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.  |
--




PGP.sig
Description: This is a digitally signed message part


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

2005-10-29 Thread John Simpson

On 2005-10-28, at 0800, Ingo Claro wrote:
Your could have many instances of qmail running in different ports.  
and

with smtproutes deliver some domains to the qmails...


no. you can have many instances of qmail-smtpd running on different  
IP addresses and/or ports, but it's still just the one instance of  
qmail. there can be only one qmail-send process (which is what i  
understood the original question to be about when he said qmail- 
queue- i followed his terminology so he would understand what i was  
saying, meaning to correct him at the end but i forgot.)


for the record, qmail-queue is the program called by qmail-smtpd,  
qmail-queue, qmail-qmtpd, qmail-qmqpd, and (if you have the mess822  
package installed) qmail-ofmipd program. it handles adding messages  
to the queue.


what the original question was asking about, as near as i could tell,  
was qmail-send. this is the program which manages the messages in  
the queue, once they've been added. this process handles scheduling  
all deliveries, either to a mailbox (i.e. a local delivery) or to  
another mail server (i.e. a remote delivery.)


by default, qmail-send will not schedule more than 20 remote  
deliveries at the same time. if you need to have more outbound  
deliveries happen at once, you can create or change the /var/qmail/ 
control/concurrencyremote file. this file should contain the number  
of remote deliveries you want to see at once. there is an upper limit  
of 120 on this value, if you need it higher you will need to edit the  
source code and re-compile qmail.


--
| 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.  |
--




PGP.sig
Description: This is a digitally signed message part


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

2005-10-29 Thread Ingo Claro
but if you install many qmails in different directories (/var/qmail,
/var/qmail2, ...) you can have multiple queues. the qmail listening on port
25 with smtp routes to the others qmails (running in other ports) can
distribute the mails, this way handling different priority queues
depending on the domain... 
for example domain1 and domain2 goes to qmail2 and all the rest to qmail3.

you need the change also concorrencylocal and concurrency remote for
parallel dispatching.

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



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

On 2005-10-28, at 0800, Ingo Claro wrote:
 Your could have many instances of qmail running in different ports.  
 and
 with smtproutes deliver some domains to the qmails...

no. you can have many instances of qmail-smtpd running on different IP
addresses and/or ports, but it's still just the one instance of qmail. there
can be only one qmail-send process (which is what i understood the original
question to be about when he said qmail-
queue- i followed his terminology so he would understand what i was saying,
meaning to correct him at the end but i forgot.)

for the record, qmail-queue is the program called by qmail-smtpd,
qmail-queue, qmail-qmtpd, qmail-qmqpd, and (if you have the mess822  
package installed) qmail-ofmipd program. it handles adding messages to the
queue.

what the original question was asking about, as near as i could tell, was
qmail-send. this is the program which manages the messages in the queue,
once they've been added. this process handles scheduling all deliveries,
either to a mailbox (i.e. a local delivery) or to another mail server
(i.e. a remote delivery.)

by default, qmail-send will not schedule more than 20 remote deliveries at
the same time. if you need to have more outbound deliveries happen at once,
you can create or change the /var/qmail/ control/concurrencyremote file.
this file should contain the number of remote deliveries you want to see at
once. there is an upper limit of 120 on this value, if you need it higher
you will need to edit the source code and re-compile qmail.

--
| 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] How to run multiple qmail-queue

2005-10-28 Thread John Simpson

On 2005-10-27, at 0404, Manish Jain wrote:


I have installed netqmail+vpopmail+qmailadmin on RHEL 3.0
I have configured multile domains on the server. And using  
smtproutes in /var/qmail/control to route the mails of different  
domains to the clients mailsrevers in remote.
I am facing problem, when one PPP link goes down to a customer all  
the incoming mails from the internet stucks in the qmail-queue as  
qmail not able to make smtp connection to the client server. In  
this case mail delivery to all other domain servers get delayed.
To resolve the problem I want to run multiple qmai-queue for each  
domain so that one domain get unaffected from the another's queue.


qmail was designed to have exactly one qmail-queue process running at  
a time. if you want to change this you will have to make some fairly  
major changes to qmail-queue itself.


instead of trying to have two qmail-queue processes, you need to run  
more qmail-remote processes. raise your concurrencyremote value.  
read man qmail-queue if you don't know how this works (and add  
MANPATH /var/qmail/man to your /etc/man.config file if man qmail- 
queue doesn't work.)


--
| 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.  |
--




PGP.sig
Description: This is a digitally signed message part


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

2005-10-28 Thread Ingo Claro
 Your could have many instances of qmail running in different ports. and
with smtproutes deliver some domains to the qmails...


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



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

On 2005-10-27, at 0404, Manish Jain wrote:

 I have installed netqmail+vpopmail+qmailadmin on RHEL 3.0 I have 
 configured multile domains on the server. And using smtproutes in 
 /var/qmail/control to route the mails of different domains to the 
 clients mailsrevers in remote.
 I am facing problem, when one PPP link goes down to a customer all the 
 incoming mails from the internet stucks in the qmail-queue as qmail 
 not able to make smtp connection to the client server. In this case 
 mail delivery to all other domain servers get delayed.
 To resolve the problem I want to run multiple qmai-queue for each 
 domain so that one domain get unaffected from the another's queue.

qmail was designed to have exactly one qmail-queue process running at a
time. if you want to change this you will have to make some fairly major
changes to qmail-queue itself.

instead of trying to have two qmail-queue processes, you need to run more
qmail-remote processes. raise your concurrencyremote value.  
read man qmail-queue if you don't know how this works (and add MANPATH
/var/qmail/man to your /etc/man.config file if man qmail- queue doesn't
work.)

--
| 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.  |
--