On Tue, 2008-07-15 at 10:22 -0500, Jerry M wrote:
> Two more quick questions before I get into the deeper issues....
> 
> 1) I noticed that the SMTP connection timeout in the default config file 
> is set to 360000.  (6 minutes?)  What was the rationale for selecting 
> such a long timeout as the default?  I can easily reduce it.  But my 
> fear is that if it was set to 6 minutes by the James dev team, there may 
> be something I'm overlooking and I possibly shouldn't change it (?).   
> Seems to me that 1 minute should be all any smtp client should be 
> allowed.  Am I missing something?

We've copied the default and it seems to work fine. Rationale I'll leave
to more qualified people.

> 2) I don't think that my problems are large emails.  Spam usually isn't 
> that large.  And the OOMs are occurring too regularly and too often to 
> be due to legitimate random huge emails.  However, I'm still going to 
> set a limit.  What limit would you recommend (and how do you specify it 
> in config?  as "K", "M", or just bytes?)

You want the <maxmessagesize>10240</maxmessagesize> element in
<smtpserver> / <handler>. Value is in kilobytes. 10MB is a standard
value, although some organisations insist on being able to send 200MB
emails.

HTH

Martin


Filtered by 3BClean from http://www.3bview.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to