« May 2007 | Main | July 2007 »

June 2007 Archives

June 5, 2007

New VI Command

1,$s/$/xyz/

From a : command line, will append string "xyz" to the end of every line of the current file.

June 14, 2007

Add X-Originating-Ip Header in Postfix

I couldn't believe the lack of any helpful Google results for how to implement this, given that it seems to be fairly commonly accepted by other email hosts.

The idea is that you can specify the original sending IP of a piece of email your server is then forwarding elsewhere. Remote mail systems that support it *should* then pay attention to that IP rather than yours when it comes to spam reporting.

After a bit of tinkering, we came up with these two lines added to Postfix's header_checks.regexp file:

/^X-Originating-Ip:/i IGNORE
/^Received: from.*\[(.*)\].*by gate.*\.(?:emai|m)lsrvr\.com \(SMTP Server\) with/i PREPEND X-Originating-Ip: [$1]

The first line strips out any already-existing X-Originating-Ip line and the second adds a new one based on the last Received line in the message header. Obviously, for use on another mail system, the regex would need to be tailored to the naming scheme of the server being configured.

June 15, 2007

New VI Command

!xyz

From a : command line, will execute command xyz from the shell and then prompt you to press Enter to return to VI.

Is this a Sign of the Apocalypse?

This was my first thought when I was flipping through the channels just now and found that Hitch was on TNT and TBS at the same time. "What manner of sorcery is this?!"

But, apparently this was done on purpose. Are there really that many people out there who a) want to watch Hitch on network TV on a Friday night and b) have either TNT or TBS but not both?

I need to put this out of my mind before it explodes.

June 17, 2007

Restaurants We Need in Blacksburg/Christiansburg

Just got back from the park with Dexter, and I'm tired and hungry. As tends to happen when I'm in this state, I start thinking about different restaurants I got so used to having nearby in NoVA. We really need a wider variety of places to eat around here. Of the places I might beg to form a presence here:

  • Chipotle - Fast Mexican food that's about a billion times tastier than Taco Bell. I wouldn't say I'd kill for a barbacoa (spicy shreeded pork) burrito, but I might be close.
  • Super Pollo - I never met a spiced Peruvian-style chicken that I didn't like.
  • Fuddruckers - Red Robin comes close as far as tasty burgers go, but Fuddruckers is still my fave. Salem is a bit too far to drive for a burger, though.
  • Baja Fresh - Another fast Mexican place, again much tastier than Taco Bell and with a different variety of items than Chipotle.
  • Boston Market - It's no Peruvian chicken, but their sandwiches are pretty darn tasty.
  • Uno Chicago Grill - Probably the tastiest pizza I've ever had.
  • Popeye's - I don't know what happened to KFC, but it's both smelled and tasted like garbage the last couple times I've been.

And, yes, I've already cast my votes on MyRetailRoanoke.com. Here's hoping that some of these places pay attention.

Two New VI Commands

H

Move the cursor to the top of the current page.

L

Move the cursor to the bottom of the current page.

June 18, 2007

New VI Command

J

Join the current line with the next line. Can be preceded with an integer X to join X lines.

VI Command #13 (Wooo!)

R

Begin entering text in overwrite mode rather than insert mode.

June 27, 2007

Hating Loving the iPhone

Yes, I'll admit it, I've been stoked about the iPhone ever since Jobs first unveiled and proceeded to prank call Starbucks on it. This may have come as a surprise to those who know me as a die-hard Mac-hater.

While I don't agree with them a lot of the time, I have a pretty deep respect for what Apple does design-wise. I have an iPod and am in a bit of a love/hate relationship with it -- I adore the clickwheel controls but could do without being tied down to iTunes or gtkPod (the Linux iPod software that I've had the most success with). I had an iBook for a while and can appreciate what Apple tries to do with OS X, but they simplify the interface so much (why do they still not have a real taskbar?) it's pretty much unusable.

That doesn't mean that I don't think their hardware and software isn't beautiful; but there's a big difference between beauty and usability. For a PC, I'm not willing to sacrifice as much usability as I'd need to. For an MP3 player, there are enough third-party iPod sync programs around these days that the sacrifice isn't nearly as great as it was when the iPod was first introduced.

So, where does the iPhone stand? It is, no doubt, a thing of beauty, but I'm being steered away from it because of the sacrifices in usability:

  • No support for Flash or Java - For a device touted as displaying, "the REAL internet," this is a pretty big piece of it missing.
  • No expandable memory - I know it holds 4GB/8GB, but how hard would it be to add an SD slot?
  • Stuck on AT&T - My past experience with AT&T was pretty awful, and that's what I seem to be hearing from most, that their network still sucks big-time. I need a signal all along I81 between here and NoVA. If they can do that like Verizon can, maybe then we'll talk.
  • Slow Data Rates - I'm not all too familiar with EDGE, but the the consensus I'm seeing is that it's painfully slow compared to even AT&T's own other wireless data protocols.
  • Built-in battery - It's a downer, but not so hard to live with, at least until it's two years down the road and the iPhone has to be sent off to Apple to have the battery replaced.
  • No SSH client - At least, not yet... I'm sure one will come along before too long, but I want my next phone to do SSH.
  • No IM, MMS, or setting MP3s as ringtones - Again, not yet... though I'd hope Apple would add these capabilities in the near future.

What really hurts is how much I want to disregard all the above in favor of Apple's multi-touch, wi-fi-enabled, and all-around snazzy device. But I believe I'll let the most-hyped gadget launch I've ever seen come and go. I'll be here waiting and hoping that Verizon can conjure up something even remotely as cool to compete that will make up in some of the above areas where the iPhone falters.

June 28, 2007

Silly Spammers

Spammers can be an amusing bunch sometimes. I had the following correspondence with a person who attempted to place a hosting order with someone else's name, a nine-digit phone number under a Denver area code, an address in Boston, and an IP in Nigeria:


Subject: i want to start making use of my webmail
tell me how to go about my webmail


Thanks for contacting us today. Do you have an email account hosted with us that you are experiencing difficulty with? If so, could you let us know what your email address is that is hosted with us and what sort of issue you are experiencing?


Subject: this is the email i got after getiing my credit card billed i want to use the webmail service
(Forward of an order-on-hold and pending review notice)


I do not see that you are the contact person we have on file for that domain. The order for ********** is currently on hold, as we have not been able to verify the order with the listed contact by phone.

Are you in contact with the person who placed this order? If so, we need a valid phone number to reach them at. The one provided did not have the correct number of digits.


Subject: i am the contact person
i want you to understand that ia my phone number and you can send back for me to verify if there is any mistake


The phone number that was submitted did not contain the correct number of digits. Could you let us know what phone number the admin contact for this domain can be reached at so that we can verify the order by phone?


Sadly, he seems to have given up and isn't writing back anymore.

About June 2007

This page contains all entries posted to NuclearDonkey.net in June 2007. They are listed from oldest to newest.

May 2007 is the previous archive.

July 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34