A backup failed so I disabled the host, but the status page still listed the failure.
To delete this entry:
- Stop backuppc – /etc/init.d/backuppc stop
- Search /var/lib/backuppc/log/status.pl for the failed host and delete the entry.
- Restart backuppc – /etc/init.d/backuppc start
If you upgrade Perl to 5.13.5 or beyond, backuppc will begin to spew this warning at every oppurtunity. Debian/wheezy currently has these warnings on startup and in backuppc logs.
Debian bug #650522 suggests surrounding each use of qw(…) with rounded parenthesis: (qw(…)). There are a lot these used throughout backuppc, so I took a slightly less ingenious but just as effective route.
By adding: “
no warnings 'deprecated';” to the beginning of each file that uses qw(…), the warnings are suppressed. This change can be scripted by using the following one-liner:
grep -ril 'qw(' /usr/share/backuppc/lib/BackupPC/|while read file; do sed -i "1i no warnings 'deprecated';" $file; done
The location /usr/share/backuppc/lib/BackupPC/ is used on Debian/wheezy and may need adjusting for other distros.
I upgraded to Firefox 4 and found the default google search was sending me to google.com. This meant US shopping results in dollars, amongst other things.
In your Firefox directory,
C:\Program Files\Firefox or C:\Program Files (x86)\Firefox
You will find a folder called “searchplugins“. In there is google.xml
Make a copy of this and edit the contents so that each mention of “google.com” changes to “google.co.uk”. Also change the title (ShortName) from “Google” to “Google UK”.
In linux this is easy,
sed -e 's/google.com/google.co.uk/g; s/ShortName>Google/ShortName>Google UK/' google.xml | tee google-uk.xml
In windows it maybe a little more tricky as UAC gets in the way. The easiest way to do it, is to copy google.xml to your desktop, rename it to google-uk.xml, open it in notepad, make the changes and move it back.
Alternatively you can download google-uk.xml from here and place it in the searchplugins folder and restart Firefox.
google-uk.xml (2.3 KiB, 1,129 hits)
I spent the time to build the latest (as of 12th June 2011) drivers for Xen GPLPV seeing as the ones available at http://www.meadowcourt.org/downloads/ are 8 months out of date.
I used the source code available at http://xenbits.xensource.com/ext/win-pvdrivers, specifically the version tagged 0.11.0.295.
Built using defaults with the 7600.1 Windows SDK.
(2.5 MiB, 1,704 hits) gplpv_2003x64_0.11.0.295.msi
(3.1 MiB, 1,269 hits) gplpv_Vista2008x32_0.11.0.295.msi
(2.5 MiB, 2,274 hits) gplpv_Vista2008x64_0.11.0.295.msi
(3.1 MiB, 1,958 hits) gplpv_XP_0.11.0.295.msi
(2.5 MiB, 2,178 hits)
Postfix -> DSPAM -> Amavis/Spamassassin -> Postfix
Spamassassin can add scores depending on the DSPAM output by reading the headers that DSPAM adds.
These rules can be added to local.cf. They read confidence and result headers. Edit the scores to suit your setup.
# DSPAM RULES ###############
# Confidence #
header DSPAM_CONFIDENCE_8X X-DSPAM-Confidence =~ /^0.8/
describe DSPAM_SPAM_8X DSPAM is moderately confident
score DSPAM_CONFIDENCE_8X 0.001
header DSPAM_CONFIDENCE_9X X-DSPAM-Confidence =~ /^0.9[0-8]/
describe DSPAM_SPAM_9X DSPAM is very confident
score DSPAM_CONFIDENCE_9X 0.001
header DSPAM_CONFIDENCE_99 X-DSPAM-Confidence =~ /^0.99/
describe DSPAM_SPAM_99 DSPAM is extremely confident
score DSPAM_CONFIDENCE_99 0.001
# Spam #
header DSPAM_SPAM X-DSPAM-Result =~ /^Spam$/
describe DSPAM_SPAM DSPAM claims it is spam
score DSPAM_SPAM 5
meta DSPAM_SPAM_8X (DSPAM_SPAM && DSPAM_CONFIDENCE_8X)
score DSPAM_SPAM_8X 1.5
meta DSPAM_SPAM_9X (DSPAM_SPAM && DSPAM_CONFIDENCE_9X)
score DSPAM_SPAM_9X 3.0
meta DSPAM_SPAM_99 (DSPAM_SPAM && DSPAM_CONFIDENCE_99)
score DSPAM_SPAM_99 5.0
# Ham #
header DSPAM_HAM X-DSPAM-Result =~ /^Innocent$/
describe DSPAM_HAM DSPAM claims it is ham
score DSPAM_HAM -0.1
meta DSPAM_HAM_9X (DSPAM_HAM && DSPAM_CONFIDENCE_9X)
score DSPAM_HAM_9X -1.5
meta DSPAM_HAM_99 (DSPAM_HAM && DSPAM_CONFIDENCE_99)
score DSPAM_HAM_99 -5.0
# Whitelist #
header DSPAM_WHITELIST X-DSPAM-Result =~ /^Whitelisted$/
describe DSPAM_WHITELIST DSPAM has whitelisted this mail
score DSPAM_WHITELIST -2.0
meta DSPAM_WHITELIST_9X (DSPAM_WHITELIST && DSPAM_CONFIDENCE_9X)
score DSPAM_WHITELIST_9X -1.5
meta DSPAM_WHITELIST_99 (DSPAM_WHITELIST && DSPAM_CONFIDENCE_99)
score DSPAM_WHITELIST_99 -5.0