Skip to content

Uno-Code

Month: April 2009

Uncategorized

How to set up Spamassasin-FuzzyOcr for Gentoo

April 24, 2009 unocode_pnz3cj

After seeing a increase in image spam, I decided to add the Fuzzy OCR plugin for spamassassin. Basically, it will read the image and see if there are any words or phrases that are labeled as spam and append a score to it. I was surprised that I didn’t see any how tos for Gentoo,… Continue reading How to set up Spamassasin-FuzzyOcr for Gentoo

Uncategorized

Grep the line and the line before or after.

April 10, 2009 unocode_pnz3cj

Here is a sweet trick I learned to day to grab the line you’re looking for as well as the line after or before. It’s using the -A or -B flag within grep. Glad I found this before writing a stupid script using awk, etc. grep 'some value in a line' -B 1 /var/log/messages This… Continue reading Grep the line and the line before or after.

Uncategorized

Dealing with Qmail’s TAI64N format

April 10, 2009 unocode_pnz3cj

Today I had to do some work on my qmail, which I hate to work with. Basically, I needed to go through the logs and and verify some deliveries, etc. Well, the timestamps for qmail is using TAI64N (which I just learned about). You can use tai64nlocal to convert them to readable timestamps. Again, this… Continue reading Dealing with Qmail’s TAI64N format

Recent Posts

  • Static Route for Windows 11 and VPN
  • initramfs with dracut
  • Setting up ccache for llvm package only
  • net.eth0 does not exist? ifconfig shows enp4s0?
  • Replace primary drive how-to (2021)

Archives

  • February 2025
  • July 2024
  • December 2022
  • August 2022
  • October 2021
  • August 2021
  • July 2021
  • June 2021
  • June 2020
  • April 2020
  • January 2013
  • January 2012
  • December 2011
  • August 2011
  • March 2011
  • January 2011
  • December 2010
  • August 2010
  • May 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • May 2009
  • April 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • November 2006
  • October 2006
  • September 2006
  • August 2006

Categories

  • Apache
  • Gentoo
  • Hosting
  • Networking
  • Postfix
  • Security
  • System
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress · Theme: Button by Automattic.