Slashdot Mirror


User: Matt+Perry

Matt+Perry's activity in the archive.

Stories
0
Comments
1,178
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,178

  1. Re:How I do it on How Do You Store and Reconcile Email Archives? · · Score: 1
    Does that mean you clean the spam out twice, once ad hoc while working through your daily mail in your client, then again the same spam at the end of the year out of the archives?
    Yes, but it works out fine, at least for me. I installed milter-sender on my MTA (sendmail) and that has cut my spam from 200+ messages a day down to about 2100 total in the last 12 months. It's far easier to filter when it's that few. I /dev/null any spam with a score above 11 but I want it in the archives unless a friend sends me something that would score that high and I would have otherwise missed the message. That way I can get it out of my archives. I do have people whitelisted but better safe than sorry. Most of my spam is /dev/nulled by spamassassin. I've probably had less than 300 messages that I have to clean out of my mailboxs in the last year and easily 90% of that ended up in my spam folder rather than my inbox.
  2. Re:How I do it on How Do You Store and Reconcile Email Archives? · · Score: 3, Informative
    Almost forgot. I archive my sent mail as well. This might be harder for you if you don't use a single email client on a single machine. IMAP can help with that.


    Put this in ~/bin/rotate-sent-mail.sh:

    #!/bin/bash

    # This script takes sent mail in $HOME/mail and moves them into
    # $HOME/.mailarchives/sent. It will also rename the file to have the date of
    # the log file included.

    MAILDIR=$HOME/mail
    ARCDIR=$HOME/.mai larchive/sent
    year=`/bin/date +%Y`
    month=`/bin/date +%-m`

    # updating last months mail
    month=$((month-1))

    # if this is last years mail, set the date correctly
    if [ $month -eq 0 ] ; then
    month='12'
    year=$((year-1))
    fi

    # if the month is less than 10, add the leading zero back
    if [ $month -lt 10 ] ; then
    month=0$month
    fi

    mv $MAILDIR/sent-mail $ARCDIR/sent-mail-$year$month
    touch $MAILDIR/sent-mail && chmod 600 $MAILDIR/sent-mail
    bzip2 -9 $ARCDIR/sent-mail-$year$month
    Now add the following to your crontab:

    0 0 1 * * $HOME/bin/rotate-sent-mail.sh

  3. How I do it on How Do You Store and Reconcile Email Archives? · · Score: 5, Informative
    I use a procmail recipe to archive my mail. I put it after filtering mailing lists and before I filter spam:

    OLDMAILDIR = $MAILDIR
    MAILDIR = $ARCHIVE_DIR
    :0 cW: archive.lock
    | /bin/gzip >>mailarchive-`date +%Y%m`.gz
    MAILDIR = $OLDMAILDIR

    I use grepmail to find old emails that I might need. Grepmail lets you use perl regular expressions to find messages and then outputs the entire message where a match was found. You can use grepm to open grepmail matches as a mailbox in mutt. grepine does the same for Pine, which I use.

    At the end of each year I clean the spam out of my archives using a procmail recipe and spamassassin. This recipe marks messages as deleted in the mailbox. I open these in pine, sort by deleted, and double check them. Once I'm sure they're all spam, I delete them:

    # vim:ft=procmail:

    LINEBUF = 8192
    SHELL = /bin/sh
    MAILDIR = $HOME/mail

    :0 fW: spamclean.lock
    | spamassassin -e --prefs-file=/home/matt/.spamassassin/user_prefs-s pam_clean 2>/dev/null

    # If the message was deemed to be spam, set the status to "deleted" so that
    # we can delete it easily and optionally review it.
    :0 e
    {
    :0 fhw
    * ^^rom[ ]
    | sed -e '1s/^/F/'

    :0 f: formail.lock
    | formail -I 'X-Status: D'
    }

    # Fix the mangled "From" line
    :0 fhwE
    * ^^rom[ ]
    | sed -e '1s/^/F/'

    # Remove the last of the SpamAssassin headers
    :0 f: formail2.lock
    | formail -I 'X-Spam-Checker-Version'

    # File message in temporary mailbox
    :0: sandbox.lock
    z-cleaned_mbox

    The special spamassassin config turns off bayesian filtering and sets the threshold high:

    required_hits 15
    clear_headers
    fold_headers 0
    use_bayes 0
    The rest of the spam I clean out by hand.
  4. Re:Fumble at the goalline on Mozilla Foundation's Future: No Mozilla Suite 1.8 · · Score: 1
    With ongoing maintenance of Mozilla 1.7.x, turned over to the community (not funded or directed by the old group)?
    No, according to the article Mozilla 1.7.x will continue to be maintained by the Mozilla Foundation. It'll only see security and bug fixes. New feature work and releases (Mozilla 1.8 and up) will be done by the community.
  5. Re:So? on Mozilla Foundation's Future: No Mozilla Suite 1.8 · · Score: 3, Informative
    Honest question. What does it matter? Is there some great advantage that I'm not thinking of to having a giant bundled suite of apps, rather than five or six individual downloads?
    It's not just the bundling. I use the suite but all I have installed is the browser component. I just like the suite's browser better than Firefox.
  6. Re:Dynamic Compression with Audacity on Normalizing Music? · · Score: 1

    You can also use hardware for this if you want to compress everything coming out of your computer. The linked unit is about $80 new.

  7. Re:Hmm... on Paul Graham Explains How to Start a Startup · · Score: 3, Insightful
    people will have fewer opportunities to get out from the debt they created while trying to get a business off the ground.
    I'm not trolling but I don't understand this comment. Why is this a bad thing? If someone has taken out a loan then wouldn't the honourable and correct thing be to repay that loan rather than get out of it? Allowing them to get out of it sends the message that they aren't resonsible for the actions they take.
  8. Link to Randal's Articles on Randal Schwartz's Perls of Wisdom · · Score: 5, Informative

    Since there wasn't a link to Randal's collection of articles I'm providing one here. There's some excellent stuff in there.

  9. Re:Azureus rocks... on Long-Awaited BitTorrent 4.0 Released · · Score: 3, Insightful
    I'd recommend the pure C++ BitComet.
    The fact that BitComet has downloads of MPAA movies queued in their screenshot don't help to legitimize BitTorrent. I'm not bashing BitTorrent but I am bashing the BitComet people for not putting up a less incriminating screenshot. We're having a hard enough time convincing lawmakers that there are legitimate uses of BitTorrent and that they shouldn't outlaw P2P without making their case for them.
  10. Re:Russ has gotten some heat.. on Red Hat Exec Takes Over Open Source Initiative · · Score: 0
    You can't spin away the title of the goddamned post.
    I guess that makes Bow, Nigger racist too, even though it's been twice linked to in a front page Slashdot article and held up as an example of excellent games journalism. Yes, let's judge on the title rather than the content.

    To Russ Nelson's credit he realized that the post wasn't a good idea, pulled it, and then posted a public apology. The man has already admitted that he was wrong. What more do you want?

  11. Re:You mean... on Open Source Advocacy The Right Way · · Score: 1
    you gave one of the clearest, insightful, and fair analysis of the situation I have seen.
    Thanks. It's a shame that you were modded flamebait as I do see where you are coming from in your original post. I guess I have some insight as I used to be one of those foaming at the mouth types. It took someone taking me aside and saying, "You aren't helping here" for me to wake up. It's embarassing to think back on it now. I remember one instance where I was lambasting a guy for using Cold Fusion in their company for scripting rather than taking a look at PHP 3 (which had just been released about a month before this incident). The sad thing was that this was during an interview. Needless to say I didn't get the job. Did I mention I used to be one of those zealots? :-)

    In my current job I'm finding that we have to use freely available (and that usually means open source) software more and more. Our budget keeps getting cut while were expected to do more than we have in the past. I don't know what we'd do without Nagios to monitor the network. I'm currently looking at web stats programs to replace an old copy of WebTrends eBusiness Edition which we can't afford to upgrade and which isn't giving us the info that we want now.

  12. Re:legal agreements on CentOs 4.0 Released · · Score: 1
    gee, i dunno, maybe because they're spending their time on better things, like actually releasing their distro?
    Really? It looks like they spent a lot of time creating an immature web site about "a Prominent North American Enterprise Linux Vendor" and replacing occurances of Red Hat with that phrase rather than making an effort to find a resolution.
    if the use of the trademark "Red Hat" on the CentOS website means so much to you, why don't you take the time to deal with Red Hat lawyers yourself?
    It means nothing to me but it clearly means much to CentOS. Maybe they should have taken the time to deal with the lawyers. It's their problem. They have the power to fix it.
  13. Re:You mean... on Open Source Advocacy The Right Way · · Score: 4, Insightful
    But, I don't want to be associated with the rabid fans of OSS...the ones who talk about how Microsoft is 'evil' in our planning meetings.
    This sounds like a problem in your company, not a Linux culture problem. Why don't you talk to those folks outside of the meetings and ask them to focus more on presenting the strengths of their solution rather than bashing Microsoft? You'd be helping not only them but yourself.

    If you don't want to be associated with the rabid fans of OSS then don't associate with them. I've found that the people outside of the community don't know about the rabid fanaticism of some OSS zealots. Their only exposure to OSS is via news channels such as Business Week and CNN. They see companies like IBM and Novell putting their weight behind open source software and their curiosity is piqued. Since these people know I use Linux they come to me to ask questions and it's then my responsibility to discuss their concerns and clear up misconceptions.

    In my personal experience the nut-cases are few and far between. Slashdot and usenet are about the only places that I see people foaming at the mouth about how bad Microsoft is. There are other forums where I read about how people don't like Microsoft, but those people can clearly articulate why they feel that Microsoft solutions aren't the right way to go for them. I meet plenty of people in other online forums, users groups, and computer stores who can see the benefits of OSS for what they are without being distracted by a handful of vocal teenagers.

  14. legal agreemens on CentOs 4.0 Released · · Score: 1
    We read recently about Red Hat & Centos On Name Usage, and the solution is now to link to a Prominent North American Enterprise Linux Vendor (PNAELV).
    It looks to me like CentOS got a legal letter and instead of opening a dialogue they just capitulated right away. Why didn't they talk to the Red Hat lawyers and reach an agreement on name usage? From the letter:

    "Red Hat does not authorize any person to use the RED HAT marks in association with such redistribution in any fashion, except by express agreement"

    So talk to their lawyers and work out an agreement. Call them up and say, "I understand your position but here's mine. Can we work out a deal that we can both be happy with?" Clearly there's a middle ground that can be found that allows one to say that CentOS is a derivative of RHEL but is not endorsed by or associated with Red Hat. I can't find anything on the site that indicates that they tried to reach an agreement. Going through all the effort to make a web site about "a Prominent North American Enterprise Linux Vendor" seems almost childish. People hammer out agreements daily about accepted usage of trademarks without spending a dime. There's no reason that CentOS can't do the same.

  15. Re:Maybe Linux has violations in it.. on Software Patents Could Stop EU Linux Development · · Score: 1
    Since there are no software patents in Europe right now, it would stand to reason that the Linux kernel would be prior art for any software patent filed after the inclusion of that feature in the kernel, if the ruling allowing them passes
    According to one of the patent attorneys where I work (large pharma company) the US is unique in that it awards patents to the first to invent not the first to file. In other countries, including those in Europe, the patent is awarded to the first to file so maybe prior art probably wouldn't matter.
  16. Re:Lossless compression does exist. on Build High-End Audio System w/ Hard Drive Storage? · · Score: 3, Insightful
    right, and at a 1000 cds, compresseion time certainly is a factor. even with lossless.
    Write a script or use one of the many existing tools to mass convert the files for you. That way the computer is working, not you. There are scripts already written to do this. I'm doing this with my music. I re-ripped everything to FLAC when I noticed that one of my oldest CDs was developing cracks inside of the plastic. I used the script to convert all of the FLAC files to MP3 files. If the format de jour changes I can update the script and reconvert and let my CDs rot away (which they appear to be doing anyway).
  17. Re:Clear Code on Optimizations - Programmer vs. Compiler? · · Score: 2, Insightful
    An important lesson that I wish I had learned when I was younger ;) It is crazy to start optimizing before you know where your bottlenecks are.
    It's like that saying:

    Rules of Optimization:
    Rule 1: Don't do it.
    Rule 2 (for experts only): Don't do it yet.

  18. Buy a tripod on Battlestar Galactica Season 2 This Summer · · Score: 0, Redundant

    I hope this means they can buy tripods for the cameras now. I found the constant shakey-cam, refocusing, and zooming in and out very distracting.

  19. Re:Not a new idea. on 100,000 Domains Sold for $164 Million · · Score: 1
    I grew up on Long Island, home of 1-800-FLOWERS (now 1-800-FLOWERS.com) (really), and I saw articles about the company getting pissed off at competitors who did things like this. Some competitors bought 1-800-FL0WERS (with a zero) and 1-800-FLOWER5 (with a 5).
    1-800-FLOWERS deserves whatever they get. Several years ago a friend of mine ordered flowers for his mom for mother's day. When the flowers arrived they included an AOL CD. My friend was pissed when he found out.
  20. Re:Disgraceful FUD on BBC on Euro Patent Restart Demand Repeated by Parliament · · Score: 1
    I like your letter but I have a small nitpick.
    quickly reveal that the Gnu Public License
    GPL stands for General Public License, not GNU Public License.
  21. Re:Not many companies work that way on Google Formula For Adding New Products · · Score: 1
    But you have to admit the idea of gmail invites is brilliant. Once gmail leaves the beta stage, its user base will be huge. Anyone has an idea of how big this user base is already?
    Since Google is using invites rather than a free-for-all signup, I'm hoping, and confident, that they'll wipe all the Gmail accounts after the beta. That way everyone can have a fair chance to get whatever username they want.

    Alternatively, since they are going to be a domain registrar, you could host you could register a domain with them and then host the email via gmail.

  22. NAZGULS? (nt) on Judge Slams SCO's Lack of Evidence · · Score: 1

    NAZGULS?

  23. Where is Opportunistic Encryption on Precedent for Warrantless Net Monitoring Set · · Score: 1

    So how far will things have to go before we start seeing support for opportunistic encryption in our programs?

  24. Inappropriate code comments on Why MS is Not Opening More Source Code · · Score: 2, Informative
    I like Philip Greenspun's take on inappropriate code comments. This paragraph stands out:
    Should one judge the author of this code, Cotton Seed, unprofessional because of his colorful source code (never visible to an end-user)? Or does he get credit for having made an honest effort to write a high-quality, useful piece of software and then giving it away for free, with source code so that others can build on his work?" And then further credit for calling attention to a potentially important issue with words that are unlikely to be overlooked?
    Personally, I feel that making your software freely available far outweighs any potentially shocking comments.
  25. Re:is it time for 2.0.x over 1.3.x? on Apache 2.0.53 Released, Fixes 2 Security Problems · · Score: 4, Informative

    Correction, PHP with Apache's threading module isn't recommended. PHP and any add-ons works great with the Apache 2.x prefork module. Prefork makes Apache work just like 1.3.