<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Digitalquill - My Life and Times &#187; crontab</title> <atom:link href="http://www.matthouldsworth.com/tag/crontab/feed/" rel="self" type="application/rss+xml" /><link>http://www.matthouldsworth.com</link> <description>Affiliate Marketing, Wordpress Development, DIY and More</description> <lastBuildDate>Thu, 05 Jan 2012 20:53:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Getting Spamassasin To Learn From Emails In Mailbox Folder</title><link>http://www.matthouldsworth.com/2008/10/getting-spamassasin-to-learn-from-emails-in-mailbox-folder/</link> <comments>http://www.matthouldsworth.com/2008/10/getting-spamassasin-to-learn-from-emails-in-mailbox-folder/#comments</comments> <pubDate>Thu, 30 Oct 2008 12:47:20 +0000</pubDate> <dc:creator>Digitalquill</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Web/Mail Servers]]></category> <category><![CDATA[courier]]></category> <category><![CDATA[cron]]></category> <category><![CDATA[crontab]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[mail server]]></category> <category><![CDATA[postfix]]></category> <category><![CDATA[spamassasin]]></category> <guid
isPermaLink="false">http://www.matthouldsworth.com/?p=34</guid> <description><![CDATA[I use this command to learn from spam in a folder on a virtual mail box. sa-learn –spam /var/spool/postfix/virtual/DomainName.com/emailaddress/.Possible_Spam/cur/* –showdots This then runs on a Cron Tab each day. Care must be taken that no non-spam messages are added to this folder, so only use this with users you trust. I am working on a &#8230;</p><p><a
class="more-link block-button" href="http://www.matthouldsworth.com/2008/10/getting-spamassasin-to-learn-from-emails-in-mailbox-folder/">Continue reading &#187;</a> Related posts:<ol><li><a
href='http://www.matthouldsworth.com/2011/04/outlook-is-unable-to-download-folder-null/' rel='bookmark' title='Outlook Is Unable To Download Folder (null)'>Outlook Is Unable To Download Folder (null)</a> <small>We have recently had an issue with outlook 2003 working with a new Courier IMAP Server. Connections would be made to the server and emails...</small></li><li><a
href='http://www.matthouldsworth.com/2011/06/dont-unsubscribe-from-spam-emails/' rel='bookmark' title='Don&#8217;t Unsubscribe From Spam Emails'>Don&#8217;t Unsubscribe From Spam Emails</a> <small>In the interests of saving embarrassment, shall we say &#8216;A friend&#8217; has just clicked on an unsubscribe link in a SPAM email, and now has...</small></li><li><a
href='http://www.matthouldsworth.com/2011/03/spam-bait-posts/' rel='bookmark' title='Spam Bait Posts'>Spam Bait Posts</a> <small>We have all heard about link bait posts, but how about SPAM bait posts. The recent post I made &#8216;Are Nofollow Links Worthless?&#8216; has attracted...</small></li></ol>]]></description> <content:encoded><![CDATA[<p>I use this command to learn from spam in a folder on a virtual mail box.</p><p><code>sa-learn –spam /var/spool/postfix/virtual/DomainName.com/emailaddress/.Possible_Spam/cur/* –showdots</code></p><p>This then runs on a Cron Tab each day. Care must be taken that no non-spam messages are added to this folder, so only use this with users you trust.</p><p>I am working on a way that it will iterate through each mail box and find the possible_spam folders on all virtual boxes and learn from them all at once.</p><p>I also want to get postfix/courier to automatically create the possible_spam folders on all new mail boxes.</p><p>Related posts:<ol><li><a
href='http://www.matthouldsworth.com/2011/04/outlook-is-unable-to-download-folder-null/' rel='bookmark' title='Outlook Is Unable To Download Folder (null)'>Outlook Is Unable To Download Folder (null)</a> <small>We have recently had an issue with outlook 2003 working with a new Courier IMAP Server. Connections would be made to the server and emails...</small></li><li><a
href='http://www.matthouldsworth.com/2011/06/dont-unsubscribe-from-spam-emails/' rel='bookmark' title='Don&#8217;t Unsubscribe From Spam Emails'>Don&#8217;t Unsubscribe From Spam Emails</a> <small>In the interests of saving embarrassment, shall we say &#8216;A friend&#8217; has just clicked on an unsubscribe link in a SPAM email, and now has...</small></li><li><a
href='http://www.matthouldsworth.com/2011/03/spam-bait-posts/' rel='bookmark' title='Spam Bait Posts'>Spam Bait Posts</a> <small>We have all heard about link bait posts, but how about SPAM bait posts. The recent post I made &#8216;Are Nofollow Links Worthless?&#8216; has attracted...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.matthouldsworth.com/2008/10/getting-spamassasin-to-learn-from-emails-in-mailbox-folder/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Backing Up Mysql Databases On A Cron</title><link>http://www.matthouldsworth.com/2008/10/backing-up-mysql-databases-on-a-cron/</link> <comments>http://www.matthouldsworth.com/2008/10/backing-up-mysql-databases-on-a-cron/#comments</comments> <pubDate>Mon, 27 Oct 2008 19:58:39 +0000</pubDate> <dc:creator>Digitalquill</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[cron]]></category> <category><![CDATA[crontab]]></category> <category><![CDATA[database]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[sql]]></category> <guid
isPermaLink="false">http://www.matthouldsworth.com/?p=36</guid> <description><![CDATA[With all the websites that I run, keeping backups is essentail. I first wrote a bash script that I ran on a cron job whcih backed up each database and then zipped the sql file up: #!/bin/sh mysqldump -uroot -ppwd --opt db1 &#62; /sqldata/db1.sql mysqldump -uroot -ppwd --opt db2 &#62; /sqldata/db2.sql cd /sqldata/ tar -zcvf &#8230;</p><p><a
class="more-link block-button" href="http://www.matthouldsworth.com/2008/10/backing-up-mysql-databases-on-a-cron/">Continue reading &#187;</a> Related posts:<ol><li><a
href='http://www.matthouldsworth.com/2011/06/how-to-check-if-you-are-ready-for-wordpress-3-2/' rel='bookmark' title='How To Check If You Are Ready For WordPress 3.2'>How To Check If You Are Ready For WordPress 3.2</a> <small>If you have ready my previous post about a first view of WordPress 3.2, you will have noted that there are some significant requirements changes...</small></li></ol>]]></description> <content:encoded><![CDATA[<p>With all the websites that I run, keeping backups is essentail.</p><p>I first wrote a bash script that I ran on a cron job whcih backed up each database and then zipped the sql file up:</p><p><code>#!/bin/sh<br
/> mysqldump -uroot -ppwd --opt db1 &gt; /sqldata/db1.sql<br
/> mysqldump -uroot -ppwd --opt db2 &gt; /sqldata/db2.sql</p><p>cd /sqldata/<br
/> tar -zcvf sqldata.tgz *.sql</code><br
/> This meant that I had to modify this backup script each time I added a database. I then found that you can use the &#8216;<span
class="code">&#8211;all-databases&#8217; option to backup all the databases at once:</span><br
/> <code>#!/bin/sh<br
/> mysqldump -uroot -ppwd </code><span
class="code">&#8211;all-databases</span><code> &gt; /sqldata/data.sql</p><p>cd /sqldata/<br
/> tar -zcvf sqldata.tgz *.sql</code><br
/> This works perfectly.</p><p>After creating the Tar file I store it on the server where a secondary script runs copying thes backups off site and deleting fiels older than 21 days, meanind that I have a rolling 3 week backup both on the server and off the server.</p><p>Related posts:<ol><li><a
href='http://www.matthouldsworth.com/2011/06/how-to-check-if-you-are-ready-for-wordpress-3-2/' rel='bookmark' title='How To Check If You Are Ready For WordPress 3.2'>How To Check If You Are Ready For WordPress 3.2</a> <small>If you have ready my previous post about a first view of WordPress 3.2, you will have noted that there are some significant requirements changes...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.matthouldsworth.com/2008/10/backing-up-mysql-databases-on-a-cron/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
