Problem solved.

Thank you,

 Francisco "Paco" Peralta



----- Original Message ----
From: Eric Shubert <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, September 2, 2008 12:14:07 PM
Subject: Re: [qmailtoaster] qtp-clean-spam generates hourly email

Francisco Paco Peralta wrote:
> Hello List,
> 
> I have been getting an hourly email from cron hourly containing the
> following text:
> 
> ***********************
>  
> /etc/cron.hourly/qtp-clean-spam:
> 
> bayes: synced databases from journal in 0 seconds: 139 unique entries
> (197 total entries)
> 
> ************************
> 
> The number of entries naturally changes every hour but I am getting
> tired of deleting the emails every hour. 
> 
> Is there a way to silence this email? 
> 
> I am really only interested in getting the email if something is not
> working correctly.
> 
> Thank you,
> 
> Francisco "Paco" Peralta
> 

At the end of your /etc/cron.hourly/qtp-clean-spam script, change
sudo -u vpopmail -H sa-learn --sync
to
sudo -u vpopmail -H sa-learn --sync >/dev/null 2>&1

That should do it.

I've changed the qtp script accordingly.
-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to