New VI Command
1,$s/$/xyz/
From a : command line, will append string "xyz" to the end of every line of the current file.
« May 2007 | Main | July 2007 »
1,$s/$/xyz/
From a : command line, will append string "xyz" to the end of every line of the current file.
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.
!xyz
From a : command line, will execute command xyz from the shell and then prompt you to press Enter to return to VI.
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.
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:
And, yes, I've already cast my votes on MyRetailRoanoke.com. Here's hoping that some of these places pay attention.
H
Move the cursor to the top of the current page.
L
Move the cursor to the bottom of the current page.
J
Join the current line with the next line. Can be preceded with an integer X to join X lines.
R
Begin entering text in overwrite mode rather than insert mode.
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:
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.
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.
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.