Re: Is there a limit on incoming messages on a single connection?

2010-11-13 Thread mouss

Le 12/11/2010 20:03, Victor Duchovni a écrit :

On Fri, Nov 12, 2010 at 10:06:46AM -0800, Rob Tanner wrote:


Our admissions office sends out mass mailings to prospective students,
anywhere from 5,000 to 25,000 at a time.  They are mail-merged and sent via
outlook to the postfix server, one recipient per message.


I am skeptical that it is in fact one recipient per message. Check your
logs carefully. Do all the recipients get different queue-ids?


The user reports
that outlook sends out 500 messages and then stops.  If he restarts outlook,
it will send out another 500 and then stop again.  If he leaves it
overnight, it might send several more thousand by morning.  When I look in
the mail logs, somewhere around 500 messages, followed by a disconnect.


The client disconnects voluntarily, unless it exceeded an error counter.
Postfix has a hard and soft error limit, but these are reset after each
successful delivery. So exceeding the limits on consecutive errors should
be infrequent.


What I don?t know is whether outlook is disconnecting or whether postfix is
closing the connection.  Is there a limit, configurable or otherwise, to the
number of messages postfix can receive on a single connection?  And at that
point, does postfix close the connection to the client?


Postfix would log the reason if it forced a client disconnect.



I bet it's the anti-virus software on the client box...


Re: Is there a limit on incoming messages on a single connection?

2010-11-13 Thread Jonathan Tripathy


On 13/11/10 08:53, mouss wrote:

Le 12/11/2010 20:03, Victor Duchovni a écrit :

On Fri, Nov 12, 2010 at 10:06:46AM -0800, Rob Tanner wrote:


Our admissions office sends out mass mailings to prospective students,
anywhere from 5,000 to 25,000 at a time.  They are mail-merged and 
sent via

outlook to the postfix server, one recipient per message.


I am skeptical that it is in fact one recipient per message. Check your
logs carefully. Do all the recipients get different queue-ids?


The user reports
that outlook sends out 500 messages and then stops.  If he restarts 
outlook,

it will send out another 500 and then stop again.  If he leaves it
overnight, it might send several more thousand by morning.  When I 
look in

the mail logs, somewhere around 500 messages, followed by a disconnect.


The client disconnects voluntarily, unless it exceeded an error counter.
Postfix has a hard and soft error limit, but these are reset after each
successful delivery. So exceeding the limits on consecutive errors 
should

be infrequent.

What I don?t know is whether outlook is disconnecting or whether 
postfix is
closing the connection.  Is there a limit, configurable or 
otherwise, to the
number of messages postfix can receive on a single connection?  And 
at that

point, does postfix close the connection to the client?


Postfix would log the reason if it forced a client disconnect.



I bet it's the anti-virus software on the client box...


More specifically, I know for a fact that AVast Anti-Virus has issues 
with sending large amount of email to a postfix server from outlook.


Is there a limit on incoming messages on a single connection?

2010-11-12 Thread Rob Tanner
Hi,

Our admissions office sends out mass mailings to prospective students,
anywhere from 5,000 to 25,000 at a time.  They are mail-merged and sent via
outlook to the postfix server, one recipient per message.  The user reports
that outlook sends out 500 messages and then stops.  If he restarts outlook,
it will send out another 500 and then stop again.  If he leaves it
overnight, it might send several more thousand by morning.  When I look in
the mail logs, somewhere around 500 messages, followed by a disconnect.
What I don¹t know is whether outlook is disconnecting or whether postfix is
closing the connection.  Is there a limit, configurable or otherwise, to the
number of messages postfix can receive on a single connection?  And at that
point, does postfix close the connection to the client?

Thanks,


Rob Tanner
UNIX Services Manager
Linfield College, McMinnville Oregon




Re: Is there a limit on incoming messages on a single connection?

2010-11-12 Thread Jeroen Geilman

On 11/12/2010 07:06 PM, Rob Tanner wrote:

Hi,

Our admissions office sends out mass mailings to prospective students, 
anywhere from 5,000 to 25,000 at a time.  They are mail-merged and 
sent via outlook to the postfix server, one recipient per message. 
 The user reports that outlook sends out 500 messages and then stops. 
 If he restarts outlook, it will send out another 500 and then stop 
again.  If he leaves it overnight, it might send several more thousand 
by morning.  When I look in the mail logs, somewhere around 500 
messages, followed by a disconnect.  What I don't know is whether 
outlook is disconnecting or whether postfix is closing the connection.


Examine the log more carefully.
If the client disconnects, this is logged as postfix/smtpd[PID]: 
disconnect from hostname[IP].


Unless the client exceeded a configured error limit, postfix will not 
disconnect the client.


 Is there a limit, configurable or otherwise, to the number of 
messages postfix can receive on a single connection?  And at that 
point, does postfix close the connection to the client?


How do you know it is a single connection ?

If this known-to-be-fairly-braindead MUA sends each message on a new 
SMTP connection, postfix may well exceed the configured error limit and 
start throttling the client.


You need to figure out what is really happening :)



Thanks,


*Rob Tanner
*UNIX Services Manager
Linfield College, McMinnville Oregon




--
J.



Re: Is there a limit on incoming messages on a single connection?

2010-11-12 Thread Victor Duchovni
On Fri, Nov 12, 2010 at 10:06:46AM -0800, Rob Tanner wrote:

 Our admissions office sends out mass mailings to prospective students,
 anywhere from 5,000 to 25,000 at a time.  They are mail-merged and sent via
 outlook to the postfix server, one recipient per message.

I am skeptical that it is in fact one recipient per message. Check your
logs carefully. Do all the recipients get different queue-ids?

 The user reports
 that outlook sends out 500 messages and then stops.  If he restarts outlook,
 it will send out another 500 and then stop again.  If he leaves it
 overnight, it might send several more thousand by morning.  When I look in
 the mail logs, somewhere around 500 messages, followed by a disconnect.

The client disconnects voluntarily, unless it exceeded an error counter.
Postfix has a hard and soft error limit, but these are reset after each
successful delivery. So exceeding the limits on consecutive errors should
be infrequent.

 What I don?t know is whether outlook is disconnecting or whether postfix is
 closing the connection.  Is there a limit, configurable or otherwise, to the
 number of messages postfix can receive on a single connection?  And at that
 point, does postfix close the connection to the client?

Postfix would log the reason if it forced a client disconnect.

-- 
Viktor.


Re: Is there a limit on incoming messages on a single connection?

2010-11-12 Thread Rob Tanner
On 11/12/10 10:27 AM, Jeroen Geilman jer...@adaptr.nl wrote:

 On 11/12/2010 07:06 PM, Rob Tanner wrote:
  Is there a limit on incoming messages on a single connection? Hi,
  
 Our admissions office sends out mass mailings to prospective students,
 anywhere from 5,000 to 25,000 at a time.  They are mail-merged and sent via
 outlook to the postfix server, one recipient per message.  The user reports
 that outlook sends out 500 messages and then stops.  If he restarts outlook,
 it will send out another 500 and then stop again.  If he leaves it overnight,
 it might send several more thousand by morning.  When I look in the mail
 logs, somewhere around 500 messages, followed by a disconnect.  What I don¹t
 know is whether outlook is disconnecting or whether postfix is closing the
 connection.
 
 Examine the log more carefully.
 If the client disconnects, this is logged as postfix/smtpd[PID]: disconnect
 from hostname[IP].
 
 Unless the client exceeded a configured error limit, postfix will not
 disconnect the client.
 
   Is there a limit, configurable or otherwise, to the number of messages
 postfix can receive on a single connection?  And at that point, does postfix
 close the connection to the client?
  
 
 How do you know it is a single connection ?
 
The connects and disconnects are logged and I don¹t see multiple connects
from the client (i.e., I don¹t see a connect followed by another connect
without a disconnect in between).  And from your comments above, it¹s clear
that the client disconnected from the server and not the other way around
which strongly suggests that this is an outlook/user issue and not at all
related to the server.
 
 If this known-to-be-fairly-braindead MUA sends each message on a new SMTP
 connection, postfix may well exceed the configured error limit and start
 throttling the client.
 
 You need to figure out what is really happening :)
 
 
 Thanks,
  
  
  Rob Tanner
  UNIX Services Manager
 Linfield College, McMinnville Oregon