Strange Rambling And More
 
 
 

ARCHIVES
June 2007
September 2006
August 2006
April 2006
January 2006
December 2005
March 2005
February 2005
November 2004
September 2004
August 2004
LINKS
  • www.alizandscott.com
  • www.se3.org
  • Kickass Chat


  • Mbox to MailDir Conversion

    When I set-up our internal server I was in experienced with sendmail and how mailboxs are handled. So I relied on the expertise of others turns out they were just as inexperienced as me. We left all the mailboxs as the default MBox format an granted it's ran pretty good for the last year or so. Recently our mail usage skyrocketed and we started to have problems with large mailboxes. Because the nautre of our business I couldn't tell users to stop send 40 to 50 MB files. So I consulted the oracle (google) and discovered sendmail loads the entire mbox file into memory (not good). So I found the answer Maildir but how to get all my old mail from MBox to MailDir? I did some more digging and came up with this script: http://batleth.sapienti-sat.org/projects/mb2md/

    The fall back is I have 100+ users on the server and the script must be run from the users home directory as the user. Well the sudo command works well but you need to tell the script where the mbox for the user is.

    sudo -u [username] perl /home/[username]/mb2md.pl -s /var/spool/mail/[username]

    Still that's alot of time consuming typing. So I did more digging and found user data stored in the passwd file delimited by ":".

    So I wrote a script to pull those users and run the sudo command for each.

    http://www.se3.org/freestuff/1,6,19,0


    Posted by scott at 12:47 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Dovecot 1.0.0-11, Sendmail 8.14.1-1 and Poprelay or Fedora core 2

    My problems started when I ran yum to update dovecot from .99 to 1.0. My install of poprelay stopped working. Found this on dovecots wiki:

    http://wiki.dovecot.org/PopRelay

    But it was still wrong, my log looked like this and the example splits the line by ": ". Returning "dovecot" for "$service" not "pop3-login" like it's suppose to.

    Jun 7 09:54:53 mail dovecot: pop3-login: Login: user=<user>, method=PLAIN, rip=[IP Address], lip=[IP Address]

    To fix this I did this:
    ($crap, $info, $string)=split(/\: /,$line);

    Next problem my remote users IP is "rip=[IP Address]" in the logs. To fix this I did the following:
    ($ip) = $line=~/\, rip\=(\d+\.\d+\.\d+\.\d+)/;

    That's all, and it works now!!


    Posted by scott at 10:22 AM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Platform-independent web applications becoming the norm?

    Well if you looked at my se3.org site you may have read that I've been developing web applications for about 5 years now. In that time I've written a little bit of everything, PHP,ASP, ColdFusion and even some Perl. For many years there has always been a demand for ASP or ASP.NET applications. In the last few years I have more demands for Applications that are more Paltform-Independent. Many Clients are finding it more cost effective to change their servers to Linux or Unix. Because of this they are finding their old ASP applications aren't very friendly to Linux and Unix.

    PHP seems to be the language in demand these days. Unlike many language PHP is easy to install and configure. PHP is avaliable for many flavors of Linux and Unix, and for you Microsoft nuts, even Windows. PHP works well with many Databases, most notably MySql, a robust opensource database. PHP also works with popluar Server software such as Apache and IIS.


    Posted by scott at 10:47 AM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Bad things :(

    My grandmother was admited to the hospital the other day with very low potasium levels and a little bit of dehydration. My grandmother has always been a very strong healthy person and it was so weird seeing her in a hospital bed. After losing My grandfather it was very hard to see her that way. I know Grandpa will be looking over her even if not in a physical form.


    Posted by scott at 04:30 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Burnt out on boxes!!

    I've been building websites for a long time and it seems every where I go I get stuck in the same rut. Everyone, may be unconsciously, puts at least one or more boxes in there designs. Yes this site is one of them, I know it's been a long time since I did a redesign. But I have made a decision in every new design I create I will not in any way use a box. No I'm not talking about one of those big ugly circle sites, we all know what a disaster they turn out to be. I hope some of you other designers take the initiative to remove boxes from your designs and maybe we can get rid of them once and for all.


    Posted by scott at 01:01 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Comment Spammers Suck

    Still I get more spam from these goofballs who I think, think they might get some benefit from posting there wang enhancement links on my site. I don't get any traffic, don't believe download the google toolbar and look at my page rank. Please stop I have better crap to do than delete you stuff all day and believe me it doesn't stay up long enough for the 3 people who occassionally visit this site to see.


    Posted by scott at 04:04 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Flash Actionscript update

    I finally wrote a VB application to launch files from a flash presentation. You can download it here:

  • http://www.se3.org/freestuff/1,2,19,0

    This application will open files in the associated applications. You can also specify a optional installer incase the user does not have the required application to open your file. You can do this globally using a text file or by individual file. Download to find out how..


    Note: Tested in Windows 2000 and Windows XP


    Posted by scott at 03:32 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Damn comments!!

    These idiots keep posting comments on my site apparently they haven't figured out I don't get any traffic and none of the forms send e-mail so it's a big waste of time. But they probally downloaded some stupid bot that just posts to any form it finds, RETARDS.


    Posted by scott at 03:26 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    After

    Well Christmas went well My sister and Family were down. We got to see their daugter for the first time and they got to see ours for the first time. We got lots of useful gifts for us and Sara.


    Posted by scott at 02:28 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
    Christmas is coming

    Well I'm ill prepared this Christmas but still excited it being my daughters first Christmas and all. We've had nothing but bad luck latley. It started with Aliza's car breaking down on thruway. Of course I had to go crawl under it in the nasty cold, I don't know how my family did it for so many years in the garage business. Then I got a Tree and when all the snow melted off I realized it was all crooked. When we tried to put it up the tree stand broke. Then the next day while we were gettng Aliza's car it fell over on our coffee table. Luckly nothing was broke. So now we are waiting for some good luck there must be some out there he he.


    Posted by scott at 01:06 PM | Comments (0)
    ––––––––––––––––––––––––––––––––––––––––––––
  •