Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

how to manage the qmail queue

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


hlocap at gmail

May 12, 2010, 12:52 AM

Post #1 of 8 (1904 views)
Permalink
how to manage the qmail queue

Hello,
i've a problem with a isp domain. When i try to send message to this domain,
mail is queued, and it can stay in the queue for a long time.
Sometimes mail to that domain is sent quickly.
If i send a newsletter of 5000 emails, where 1000 email address are for that
domain, i found 5000 (in real case, i've more than 1000, and less than 5000)
emails blocked in the queue.
I've tried with "qmailctl flush" or "qmHandle -a" to flush the queue, but
i've always the queue blocked.
Is possible to send the 4000 good emails?
My solutions for now is use "qmail-remove -r -p @bad_domain". After this
command, the other 4000 good emails are sent.
Why qmail don't send the good email in the queue?
Is there a patch o configuration for this?
Can i set a priority?

Thanks,

Luca.


christopher at ias

May 12, 2010, 5:26 PM

Post #2 of 8 (1812 views)
Permalink
Re: how to manage the qmail queue [In reply to]

On Wednesday, May 12, 2010 03:52 PM, mario fibbi wrote:
> Hello,
> i've a problem with a isp domain. When i try to send message to this
> domain, mail is queued, and it can stay in the queue for a long time.
> Sometimes mail to that domain is sent quickly.
> If i send a newsletter of 5000 emails, where 1000 email address are for
> that domain, i found 5000 (in real case, i've more than 1000, and less
> than 5000) emails blocked in the queue.
> I've tried with "qmailctl flush" or "qmHandle -a" to flush the queue,
> but i've always the queue blocked.
> Is possible to send the 4000 good emails?
> My solutions for now is use "qmail-remove -r -p @bad_domain". After this
> command, the other 4000 good emails are sent.
> Why qmail don't send the good email in the queue?
> Is there a patch o configuration for this?

Depends.


> Can i set a priority?

No.

What is happening I suspect is that all your remote slots have been
occupied by this domain that is maybe tarpitting or otherwise holding
your smtp connections.

You can either increase your current concurrencyremote to 255 or, if it
is already 255, apply the big-concurrency patch and set it to maybe 1000...


hlocap at gmail

May 13, 2010, 4:18 AM

Post #3 of 8 (1813 views)
Permalink
Re: how to manage the qmail queue [In reply to]

>> Hello,
>> i've a problem with a isp domain. When i try to send message to this
>> domain, mail is queued, and it can stay in the queue for a long time.
>> Sometimes mail to that domain is sent quickly.
>> If i send a newsletter of 5000 emails, where 1000 email address are for
>> that domain, i found 5000 (in real case, i've more than 1000, and less
>> than 5000) emails blocked in the queue.
>> I've tried with "qmailctl flush" or "qmHandle -a" to flush the queue,
>> but i've always the queue blocked.
>> Is possible to send the 4000 good emails?
>> My solutions for now is use "qmail-remove -r -p @bad_domain". After this
>> command, the other 4000 good emails are sent.
>> Why qmail don't send the good email in the queue?
>> Is there a patch o configuration for this?

>Depends.

>> Can i set a priority?

>No.

Ok.

>What is happening I suspect is that all your remote slots have been
>occupied by this domain that is maybe tarpitting or otherwise holding
>your smtp connections.

>You can either increase your current concurrencyremote to 255 or, if it
>is already 255, apply the big-concurrency patch and set it to maybe 1000...

I've notice this error in smtpd log file:
Connected to 212.52.xxx.xxx but connection died (#4.4.2)
How can i debug more in depth this error?

Thanks,
Luca.


hugo.monteiro at fct

May 13, 2010, 4:26 AM

Post #4 of 8 (1803 views)
Permalink
Re: how to manage the qmail queue [In reply to]

On 05/13/2010 12:18 PM, mario fibbi wrote:
>
> I've notice this error in smtpd log file:
> Connected to 212.52.xxx.xxx but connection died (#4.4.2)
> How can i debug more in depth this error?
>
> Thanks,
> Luca.

Hello Luca,

I would bet that the remote end is dropping the connection. Verify that
your server isn't listed in any RBL, or has a poor reputation among the
top anti-spam appliance manufacturer, like barracuda.

R's,

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email : hugo.monteiro [at] fct
Telefone : +351 212948300 Ext.15307
Web : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.fct.unl.pt apoio [at] fct

fct.unl.pt:~# _


hlocap at gmail

May 13, 2010, 5:43 AM

Post #5 of 8 (1819 views)
Permalink
Re: how to manage the qmail queue [In reply to]

2010/5/13 Hugo Monteiro <hugo.monteiro [at] fct>

> On 05/13/2010 12:18 PM, mario fibbi wrote:
>
>>
>> I've notice this error in smtpd log file:
>> Connected to 212.52.xxx.xxx but connection died (#4.4.2)
>> How can i debug more in depth this error?
>>
>> Thanks,
>> Luca.
>>
>
> Hello Luca,
>
> I would bet that the remote end is dropping the connection. Verify that
> your server isn't listed in any RBL, or has a poor reputation among the top
> anti-spam appliance manufacturer, like barracuda.
>
>
Hello Hugo,
i've check my ip reputation, but it's ok . I've this problem with
mxlibero3.libero.it mail server.
The other mailserver, of this and other domains, are ok. I've two
opportunities:
1) fix the problem
2) exclude this mailserver
but i haven't solutions!!
Help me please.

Thanks,

Luca.


hugo.monteiro at fct

May 13, 2010, 6:19 AM

Post #6 of 8 (1806 views)
Permalink
Re: how to manage the qmail queue [In reply to]

On 05/13/2010 01:43 PM, mario fibbi wrote:
> 2010/5/13 Hugo Monteiro <hugo.monteiro [at] fct
> <mailto:hugo.monteiro [at] fct>>
>
> On 05/13/2010 12:18 PM, mario fibbi wrote:
>
>
> I've notice this error in smtpd log file:
> Connected to 212.52.xxx.xxx but connection died (#4.4.2)
> How can i debug more in depth this error?
>
> Thanks,
> Luca.
>
>
> Hello Luca,
>
> I would bet that the remote end is dropping the connection. Verify
> that your server isn't listed in any RBL, or has a poor reputation
> among the top anti-spam appliance manufacturer, like barracuda.
>
>
> Hello Hugo,
> i've check my ip reputation, but it's ok . I've this problem with
> mxlibero3.libero.it <http://mxlibero3.libero.it> mail server.

Yep, looks like that MX is borked.

> The other mailserver, of this and other domains, are ok. I've two
> opportunities:
> 1) fix the problem

There's actually no fix, that i can think of. If you had a constant 4xx
reply from that server, which you don't, you could use Matthias Andree's
patch available at
http://www-dt.e-technik.uni-dortmund.de/~ma/qmail/patch-qmail-1.03-rfc2821.diff.
However, your connection simply gets timedout. So read on...

> 2) exclude this mailserver

You can do this by using smtproutes. Choose an MX that you know that's
working and just route all mail for that domain into that same MX server.


Hope it helps,

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email : hugo.monteiro [at] fct
Telefone : +351 212948300 Ext.15307
Web : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.fct.unl.pt apoio [at] fct

fct.unl.pt:~# _


hlocap at gmail

May 13, 2010, 6:48 AM

Post #7 of 8 (1803 views)
Permalink
Re: how to manage the qmail queue [In reply to]

2010/5/13 Hugo Monteiro <hugo.monteiro [at] fct>

> On 05/13/2010 01:43 PM, mario fibbi wrote:
>
> 2010/5/13 Hugo Monteiro <hugo.monteiro [at] fct>
>
>> On 05/13/2010 12:18 PM, mario fibbi wrote:
>>
>>>
>>> I've notice this error in smtpd log file:
>>> Connected to 212.52.xxx.xxx but connection died (#4.4.2)
>>> How can i debug more in depth this error?
>>>
>>> Thanks,
>>> Luca.
>>>
>>
>> Hello Luca,
>>
>> I would bet that the remote end is dropping the connection. Verify that
>> your server isn't listed in any RBL, or has a poor reputation among the top
>> anti-spam appliance manufacturer, like barracuda.
>>
>>
> Hello Hugo,
> i've check my ip reputation, but it's ok . I've this problem with
> mxlibero3.libero.it mail server.
>
>
> Yep, looks like that MX is borked.
>
>
> The other mailserver, of this and other domains, are ok. I've two
> opportunities:
> 1) fix the problem
>
>
> There's actually no fix, that i can think of. If you had a constant 4xx
> reply from that server, which you don't, you could use Matthias Andree's
> patch available at
> http://www-dt.e-technik.uni-dortmund.de/~ma/qmail/patch-qmail-1.03-rfc2821.diff<http://www-dt.e-technik.uni-dortmund.de/%7Ema/qmail/patch-qmail-1.03-rfc2821.diff>.
> However, your connection simply gets timedout. So read on...
>
> 2) exclude this mailserver
>
>
> You can do this by using smtproutes. Choose an MX that you know that's
> working and just route all mail for that domain into that same MX server.
>
>
Great!!!!!. This is what i wanted.
Thank you very much!!! :) :) :) :)


christopher at ias

May 13, 2010, 5:51 PM

Post #8 of 8 (1822 views)
Permalink
Re: how to manage the qmail queue [In reply to]

> >You can either increase your current concurrencyremote to 255 or, if it
> >is already 255, apply the big-concurrency patch and set it to maybe
> 1000...
>
> I've notice this error in smtpd log file:
> Connected to 212.52.xxx.xxx but connection died (#4.4.2)
> How can i debug more in depth this error?
>

You want to look at the qmail-send's log for remote smtp connections. It
will tell you how many of the remote connection slots are in use (number
of slots controlled by number in concurrencyremote) and you probably
want to look into this because setting up a fixed mx in smtproutes in
that problem domain won't be automatically handled when they change
things on their side.

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.