Jake has a great tip in a video about making a QMT run more efficiently. Putting the simscan directory on a RAM disk speeds up scanning big time. I would recommend this tweak if you're needing to start so many spamd children. Check out the video for details.

nicole thomson wrote:

thanks eric


it did the job.





 > To: [email protected]
 > From: [email protected]
 > Date: Mon, 9 Nov 2009 07:53:53 -0700
 > Subject: [qmailtoaster] Re: Spam issues
 >
 > Nicole,
 > You need to add a --max-children=8 (for example) parameter to the
 > command you've shown. See "man spamd" for details, as there are some
 > factors with this parameter that you should be aware of.
 > --
 > -Eric 'shubes'
 >
 > nicole thomson wrote:
 > >
 > > This is showing the message as rejected, but I do see an error in your
 > > spamd log that may be causing you some grief:
> > info: prefork: server reached --max-children setting, consider raising it > > You set a limit on the number of children spawnable in your run file and
 > > you're exceeding that. You either need to tune your system to process
 > > messages faster, or raise that limit in your run file.
 > >
> > (As a side note, is there a way to make your MSN auto wrap message lines
 > > that are too long?)
 > >
 > >
> > jake, can you please tell me where should i change the settings for the
 > > above recommendations?
 > >
 > >
> > btw i am using putty to access the machine, i dont use MSN at work place.
 > >
 > >
 > >
 > >
 > > my spamd/run contents as follows
 > >
 > >
 > >
 > > #!/bin/sh
 > > exec /usr/bin/spamd -x -u vpopmail -s stderr 2>&1
 > >
 > >
 > >
 > >
 > >
 > >
 > >
> > ------------------------------------------------------------------------
 > > Date: Fri, 6 Nov 2009 07:38:38 -0500
 > > From: [email protected]
 > > To: [email protected]
 > > Subject: Re: [qmailtoaster] Spam issues
 > >
 > > nicole thomson wrote:
 > >
 > > from smtp
 > >
 > > @400000004af3c9c62ff93254 simscan:[16170]:SPAM REJECT
 > > (16.30/12.00):25.1791s:We Provide Nice Choice Of Affordable
 > > Soft.:222.254.140.77:[email protected]:[email protected]:
> > <mailto:Soft.:222.254.140.77:[email protected]:[email protected]:>
 > > @400000004af3c9c62ff99014 qmail-smtpd: qq hard reject (Your email is
 > > considered spam (16.30 spam-hits)): MAILFROM:<[email protected]>
 > > <mailto:[email protected]> RCPTTO:[email protected]
 > > <mailto:RCPTTO:[email protected]>
 > > @400000004af3c9c70707fed4 tcpserver: end 16170 status 256
 > > @400000004af3c9c7070806a4 tcpserver: status: 2/50
 > > @400000004af3c9d51b8ed904 tcpserver: end 16336 status 0
 > > @400000004af3c9d51b8f32dc tcpserver: status: 1/50
 > > @400000004af3c9e51b78d44c tcpserver: end 16335 status 0
 > > @400000004af3c9e51b79226c tcpserver: status: 0/50
 > >
 > >
 > > from spamd
 > >
 > > @400000004af3c9c62f9c703c [16157] info: spamd: identified spam
 > > (16.3/12.0) for clamav:508 in 9.9 seconds, 4446 bytes.
 > > @400000004af3c9c62f9e21d4 [16157] info: spamd: result: Y 16 -
> > BAYES_99,HELO_LOCALHOST,HTML_MESSAGE,RDNS_NONE,URIBL_AB_SURBL,URIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SC_SURBL,URIBL_WS_SURBL > > scantime=9.9,size=4446,user=clamav,uid=508,required_score=12.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=52586,mid=<000d01ca5eae$d178b630$6400a...@molests>,bayes=1.000000,autolearn=spam
 > > @400000004af3c9c6314a9d3c [2460] info: prefork: child states: BBBBB
 > > @400000004af3c9c6314aa50c [2460] info: prefork: server reached
 > > --max-children setting, consider raising it
 > > @400000004af3c9c631727c44 [16157] info: spamd: connection from
 > > localhost.localdomain [127.0.0.1] at port 52596
 > > @400000004af3c9c631f423ac [16157] info: spamd: processing message
 > > <008c01ca5eae$f2cd4620$d867d2...@com> for vpopmail:508
 > > @400000004af3c9c917309794 [12120] info: spamd: clean message
 > > (-3.2/12.0) for vpopmail:508 in 4.2 seconds, 53607 bytes.
 > > @400000004af3c9c917325cb4 [12120] info: spamd: result: . -3 -
 > > AWL,BAYES_00,HTML_MESSAGE,NO_RELAYS
> > scantime=4.2,size=53607,user=vpopmail,uid=508,required_score=12.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=52591,mid=<00b101ca5eae$e1c22d00$a54687...@com>,bayes=0.000000,autolearn=unavailable
 > >
 > >
 > >
 > > This is showing the message as rejected, but I do see an error in your
 > > spamd log that may be causing you some grief:
> > info: prefork: server reached --max-children setting, consider raising it > > You set a limit on the number of children spawnable in your run file and
 > > you're exceeding that. You either need to tune your system to process
 > > messages faster, or raise that limit in your run file.
 > >
> > (As a side note, is there a way to make your MSN auto wrap message lines
 > > that are too long?)
 > >
> > ------------------------------------------------------------------------ > > New Windows 7: Simplify what you do everyday. Find the right PC for you.
 > > <http://windows.microsoft.com/shop>
 >
 >
> --------------------------------------------------------------------------------- > Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com)
 > Vickers Consulting Group offers Qmailtoaster support and installations.
 > If you need professional help with your setup, contact them today!
> ---------------------------------------------------------------------------------
 > Please visit qmailtoaster.com for the latest news, updates, and packages.
 >
 > To unsubscribe, e-mail: [email protected]
 > For additional commands, e-mail: [email protected]
 >
 >

------------------------------------------------------------------------
Windows 7: Find the right PC for you. Learn more. <http://windows.microsoft.com/shop>


--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to