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



Reply via email to