Tags: email

09/08/09

  12:50:05 pm, by The Dreamer   , 144 words  
Categories: General, Software

Making getmail.php work in b2evo 3.3.1

Once again the stock getmail.php didn't work after a significant upgrade in b2evolution version.

After a long and complicated battle, I have something that should work....we'll find out tomorrow.

First I had to do was add these two lines to 'inc/_core/_class5.funcs.php':

PHP

'mime_parser_class' => $inc_path.'_ext/mime_parser/mime_parser.php',
'rfc822_addresses_class' => $inc_path.'_ext/mime_parser/rfc822_addresses.php',

Should be obvious where they go....

Next problem was 'Could not parse data header!':

Changed preg_match to be:

PHP

if(!preg_match('#^(.{3}, )?(\d{1,2}) (.{3}) (\d{4}) (\d{2}):(\d{2}):(\d{2})#'$ddate$match))

Probably wouldn't have tripped me up if I had waited until September 10th to work on things further.... :>>

Then the final was that the 'html' email did not have an 'Alternative'.

Try this for size:

PHP

// mail is html
if( $parsedMIME['Type'] == 'html'){
    if (array_key_exists('Alternative',$parsedMIME)){
        foreach ( $parsedMIME['Alternative'] as $alternative ){
            if( $alternative['Type'] == 'text' ){
                echo_message'HTML alternative message part saved as ' $alternative['DataFile'], INFO);
                $strbody imap_qprintfile_get_contents$alternative['DataFile'] ) );
                break; // stop after first alternative
            }
        }
    } else {
        $strbody strip_tags(file_get_contents$parsedMIME['DataFile'] ),'<img><p><br><i><b><u><em><strong><strike><font><span><div><ul><li><a>');
    }
}

06/19/09

  03:36:00 pm, by The Dreamer   , 710 words  
Categories: ReplayTV, Hardware, Computer, Networking, Home, Ubuntu

Guess that answers one question about 'box'.

This morning while I was at home waiting for the building owner to show up to see about some noises inside the wall behind kitchen sink/washer&dryer. UPS showed up with a box from TigerDirect.

That should be the off-lease IBM ThinkCenter S51 that I snapped up thinking I'd rebuild 'box' on a new machine.

The condo's quarterly pest control was going to be at 1:30pm today, so he was thinking of setting off some kind of pest control spray bomb in the utility room...which may or may not reach into the wet wall space of my condo. Or consult with the pest control company on what else to try. Later as I was listening closer to the noise, I wondered if it sounded like a feret...because there's a "Lost Ferret" sign out by the mailboxes. Turns out the "Lost Ferret" is from the unit above me.

I popped in to work for a bit, and then returned around 1:30pm for the pest control visit. I arrived to find that FedEx ground had been by and there was a box sitting by my front door. Meanwhile, the building owner said the neighbor upstairs wanted to take a look and see if he can get the ferret out, otherwise the ferret owner would pay to have an exterminator deal with it. There's no openings in the wall that I knew of, but I let him. Pest control guy later showed up to do some spraying.

Well, the box was the pulled/untested power supply that I had snagged off of ebay. All the power supplies that matched the part number online were of this 'untested/as-is' condition...or more than what I had original paid for the computer (and more than what the off-lease computer I just got). Alas, it didn't make 'box' work again. Either I got another dead power supply or there something else wrong with the system that is making the powersupply not turn on. Not have an ATX P/S tester handy, I can't tell if this is the case or not.

Anyways...that eliminates one option for getting 'box' back online.

I'm pretty much leaning towards installing the latest Ubuntu server....since it looks like the main things I'd require on the system are DNS (master), DHCP (wonder about setting up peering), NTP, ddclient x 2, and email relay to my outbound.mailhop.org account, vpnc. The ivs-status-sniff stuff will just go away. And, I'll gradually remove all evidence of it and simplify the configurations on my border routers (been close to running out of nvram on them).

Hmmm, just realized that I never changed the configs on the routers to account for the lack of the internal router 'box' to reach my ReplayTVs for IVS...not just they were (date) confused because they were doing NTP off of 'box'...and first DNS in the search list was 'box'....

Also not sure vpnc is needed now, since it won't be functioning as an internal router anymore. Someday I'll upgrade to a computer where it'll be safe to install a vpn client again. My windows boxes are both pretty dorked in the network config department. The W2K box is completely dorked...when 'lhaven' died...it became pretty usuable because I couldn't get into the configs to change my DNS server. I haven't found the install disk, so risking a repair install hasn't been an option. The other computer is also somewhat messed up, though not as bad.

Both messed up networking are connected to previous attempts to install VPN software (SecureRemote). It was largely flawed because they didn't support users with their own routers doing NAT. Largely because every IANA non-routeable ranges were being used somewhere within the worldwide network of the company, which was all NAT'd behind a single IP in Canada. Made location based (or restricted) services fun to use from work...because they would mistakenly set Canadian preferences or deny access because only US IPs were allowed.

It was particularly bad with Yahoo..which kept bouncing us over to yahoo.ca and then defaulting to only searching Canadian sites.

Anyways....wonder when I'll get cracking on trying to build the new 'box'. The off lease machine came with a 40G drive, but do I use it...or see if I have any other IDE drives around (probably too late to buy one).

&#58;&#104;&#109;&#109;&#58;

03/27/09

  01:17:45 pm, by The Dreamer   , 329 words  
Categories: Software, Safety & Security

Norton Antivirus 2009 is gone

Even though I still had 299 days left to my current subscription, I decided to nuke Norton Antivirus 2009 from my computer. Disabling stuff on it just so that I can use my computer was getting annoying.

First I had disable so that I can run BOINC projects on my computer, this means there's that annoying red X on the tray icon.

Today, I couldn't check my email because the inbound email scanner was broken....another thing that needed to be disabled. And, there were other quirks that seemed related, but I wasn't sure.

Of course, I don't like being unprotected. So, my employer has a site license for AntiVirus software...all on site computers are required to run it, but additionally employees and students are allowed to run it on their own computers. Once upon a time, it was Norton Antivirus that the University provided. But, a couple years ago they switched to Trend Micro. I think they just renewed for another 3 years.

So, I have installed Trend Micro. It has the annoying habit of identifying stuff that I want to run as spyware or malware and not giving any choice but to remove it....and without asking me. I had identd running on my desktop, probably left over from when I used a Windows IRC client. I vaguely recall that there was some other reason I had it, it didn't do anything dangerous...it was configured just to make whatever service that wanted to find it happy. But, during the Trend Micro installation...it silently saw it and uninstalled it from my computer.

A few years ago, it was uninstalling a home watching webcam software. It had classified it as spyware and kept removing it. Ya...it is spyware, its so I can spy on my home when I'm not home and see if anything is happening. I don't use it anymore, though I keep thinking I need to have something back again. Though I'm looking for something that is not computer dependent....

Oh well....

  10:13:44 am, by The Dreamer   , 38 words  
Categories: Software

The Next Broken Thing in Norton Antivirus

Now I can't get any email. All the accounts I access using POP3 (110) are connection refused. But, it works from other computers....

Found out its Norton that is busted. Have to disable email scanning to get email now.

&#58;&#35;&#35;

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 1 month 26 days 3 hours 8 minutes and 56 seconds until the end of time.
And, it has been 4 years 11 months 1 day 10 hours and 54 minutes since The Doctor saved us all from the end of the World!

Search

November 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
free blog tool

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime