euglug.org

[작성자:] admin

  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Jeff_WFri Jul 23 19:27:07 PDT 2004

    Yes, but fetchmail appears more exploitable:
    (from the NetBSD Package Collection; ftp.netbsd.org/pub/NetBSD/packages/ )
    
    The following security vulnerabilities are known for mail/fetchmail at Jul 20 01:30
       :
         * fetchmail<5.8.8       has      a      remote-user-access      exploit      (see
           http://www.securityfocus.com/vdb/?id=2877 for more details)
         * fetchmail<5.8.17       has      a      remote-user-shell      exploit      (see
           http://www.securityfocus.com/frames/?content=/templates/archive.pike%3Flist%3D1
           %26mid%3D203165 for more details)
         * fetchmail<5.9.10      has      a      remote-user-access      exploit      (see
           http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0146 for more details)
         * fetchmail<=6.0.0      has      a     remote-code-execution     exploit     (see
           http://security.e-matters.de/advisories/032002.html for more details)
         * fetchmail<6.1.0       has       a      remote-user-shell      exploit      (see
           http://online.securityfocus.com/bid/5825 for more details)
         * fetchmail<6.1.0       has       a      denial-of-service      exploit      (see
           http://online.securityfocus.com/bid/5826 for more details)
         * fetchmail<6.1.0       has       a      remote-user-shell      exploit      (see
           http://online.securityfocus.com/bid/5827 for more details)
         * fetchmail<6.2.0      has      a      remote-code-execution     exploit     (see
           http://security.e-matters.de/advisories/052002.html for more details)
         * fetchmail<6.2.4nb2      has      a      denial-of-service      exploit     (see
           http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0790 for more details)
    
    
    The following security vulnerabilities are known for mail/getmail at Jul 20 01:30 :
       (no vulnerabilities known)
    
    Of course fetchmail is more widely used so there's that many more eyes 
    looking at it.
    
    Ralph Zeller <ralph at zellercpa.com> wrote:
    
    > On 07/23/04 02pm, Jason Van Cleve wrote:
    > > If anyone prefers fetchmail to getmail, please say why.
    >
    > Fetchmail is more time tested and proven?
    >
    > <quoting from getmail-4/CHANGELOG>
    >
    > Version 4.0.0a1
    > 14 June 2004
    >
    >   -first alpha release of getmail version 4
    >
    > Changes since getmail version 3
    > -------------------------------
    > -complete rewrite
    >
    > </quote>
    
    --
            new smaller signature here
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Jason Van CleveFri Jul 23 16:10:07 PDT 2004

    Quoth Ralph Zeller, on Fri, 23 Jul 2004 15:26:19 -0700:
    
    > Fetchmail is more time tested and proven?
    > 
    > <quoting from getmail-4/CHANGELOG>
    > 
    > Version 4.0.0a1
    > 14 June 2004
    > 
    >   -first alpha release of getmail version 4
    > 
    > Changes since getmail version 3
    > -------------------------------
    > -complete rewrite
    > 
    > </quote>
    
    Good answer!  I'm not installing on a server, but still, sheesh!  Do you
    suppose v3 is stable?
    
    --Jason
    
    --
    Drive-by troubleshooting!
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Ralph ZellerFri Jul 23 15:26:19 PDT 2004

    On 07/23/04 02pm, Jason Van Cleve wrote:
    > If anyone prefers fetchmail to getmail, please say why.
    
    Fetchmail is more time tested and proven?
    
    <quoting from getmail-4/CHANGELOG>
    
    Version 4.0.0a1
    14 June 2004
    
      -first alpha release of getmail version 4
    
    Changes since getmail version 3
    -------------------------------
    -complete rewrite
    
    </quote>
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Jason Van CleveFri Jul 23 14:14:40 PDT 2004

    A propos,
    
    I've just read the getmail FAQ, which claims that fetchmail sucks.  It
    also says that, not only can getmail deliver directly to an MDA, it can
    even save to maildir or mboxrd files.  I'll want to use procmail, but
    this is the level of simplicity and directness I'm about.
    
    If anyone prefers fetchmail to getmail, please say why.
    
    Muchas thanks,
    
    --Jason V. C.
    
    --
    Jesus is coming!  Look busy.
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Rob HudsonFri Jul 23 14:12:09 PDT 2004

    If you know Perl, this is a fun way to write your own fetchmail and mail
    sort routines...
    http://www.perl.com/pub/a/2001/07/17/mailfiltering.html
    
    I had this running for a little while.  And it's nice to sort mail with
    regular expressions in Perl.  :)
    
    -Rob
    
    On 20040723.1414, Jason Van Cleve said ...
    
    > A propos,
    > 
    > I've just read the getmail FAQ, which claims that fetchmail sucks.  It
    > also says that, not only can getmail deliver directly to an MDA, it can
    > even save to maildir or mboxrd files.  I'll want to use procmail, but
    > this is the level of simplicity and directness I'm about.
    > 
    > If anyone prefers fetchmail to getmail, please say why.
    > 
    > Muchas thanks,
    > 
    > --Jason V. C.
    > 
    > --
    > Jesus is coming!  Look busy.
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Jason Van CleveFri Jul 23 13:43:37 PDT 2004

    Quoth Ralph Zeller, on Fri, 23 Jul 2004 10:22:12 -0700:
    
    > http://mutt.blackfish.org.uk/storage/
    
    This document is illustrative.  I've learned from it, for one thing,
    that the system spool file can be read directly as an "inbox folder" by
    MUAs.  That blew my mind, since I had presumed the spool file is the
    domain of the MTA alone.  (Postfix, I have noticed, will sometimes mv
    that file and save an empty one in its place, temporarily; which seems
    likely to trip up an MUA that happens to be reading it just then.)  But
    this would obviate the need for a local POP server, which is good.
    
    I'm also learning that, while the terms MUA, MDA, etc., are fairly
    straightforward per se, their implementations don't always fit into any
    one of those boxes.  It seems fetchmail and procmail, for example, are
    not best thought of strictly as an MRA and an MDA, respectively, but
    rather as general components in a "mail delivery chain".  If fetchmail
    can pass emails to procmail (bypassing the "MTA"), then its relation to
    procmail is that of an MTA.
    
    Sorry if I've been a trifle loquacious.  As an end user, I don't find
    these email systems all that simple; and as a Web developer, I find them
    significantly more difficult than Web server software.  But I'm
    learning.
    
    --Jason V. C.
    
    --
    I finally beat the Internet.  The end guy is hard.
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Jason Van CleveFri Jul 23 10:25:44 PDT 2004

    Quoth Bob Miller, on Thu, 22 Jul 2004 17:56:19 -0700:
    
    > You can configure fetchmail to poll a pop server and write the mail to
    > one of several places.  One of those places is into procmail, using
    > 
    > 	... mda "/usr/bin/procmail -d %T" ...
    > 
    > in your .fetchmailrc .
    
    Voila!  That's what I wanted to know.
    
    > You'd then have to set up your .procmailrc to write messages to your
    > mailbox, whatever/wherever it is.
    
    >From your explanation, I'm using the "mh" format.
    
    > I think they're the same.  Read the fetchmail man page (RTFM (-: ).
    
    Right.  I just wanted to make sure it's the right tool for the job,
    first.  Many thanks for the knowledge, Mr. Miller.
    
    --Jason Van Cleve
    
    --
    Tarred for her pleasure, gzipped for yours.
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Ralph ZellerFri Jul 23 10:22:12 PDT 2004

    > There's a ton of Web pages on installing/configuring these app's for
    > specific purposes, but none explains the basic relationships between
    > them, which I consider preliminary knowledge.
    
    Jason,
    
    You have A LOT of questions, and you might find the answers faster and 
    easier yourself by looking at this website:
    
    http://mutt.blackfish.org.uk/storage/
    
    Although it's oriented toward the "Mutt" MUA, this website provides a
    pretty good overview regarding how email works, and what options you
    have along the way to setting up an email system.  Mutt can easily be
    used in conjuction with Mozilla-Mail or Evolution, or other MUA's, so
    don't worry about learning Mutt if you don't want to.  You could likely
    get people to offer their opinions and answers to specific questions on
    this list, but you might as well get a broader perspective by studying
    the basics yourself first.
    
    I hope this helps!
    
    Ralph
    
  • [Eug-lug] Fetchmail, Procmail, And How It All Relates



    Jason Van CleveFri Jul 23 09:36:19 PDT 2004

    Quoth Cory Petkovsek, on Thu, 22 Jul 2004 16:54:20 -0700:
    
    > > Am I only dreaming?
    > No, set it up as I described.  It will run without maintenance and
    > you'll learn something too.
    > 
    > 
    >   .===========.
    >   v          ||
    > POP3 ---> fetchmail ---> postfix ---> procmail ---> maildir
    > inet	  local/root     local/root   local/user    ~/maildir
    
    Okay, but wait.  A few crevices remain in my brain.  How does postfix
    connect to procmail?  I actually run postfix on my server, where it is a
    system daemon serving as an SMTP as well as a POP3 service.  In your
    system, then, would I simply configure my MUA to make its POP requests
    to the local postfix daemon?  And what does postfix do to invoke
    procmail, or is that the MUA's responsibility?  How would I integrate
    procmail?
    
    At any rate, installing postfix wasn't that easy (better than sendmail,
    I know, but still "interesting").  It's just not something I want have
    to do on my workstations.
    
    Isn't there a way to do this without the need for a local MTA?  It just
    seems like an unnecessary middleman.  Sylpheed tends to hog my resources
    when it's busy retrieving mail, and I want to use procmail for
    filtering.  So what I need is something that will run as a daemon, grab
    my mail from the remote POP server, and hand it over to procmail for
    filtering and distribution.  I thought that's what fetchmail did, but
    apparently not:  so I'm not much closer to my objective.  (Sigh!)
    
    How 'bout this:  can procmail do what I want all by itself?  Can it
    access a POP server in daemon mode?  (I suppose now I AM dreaming.) 
    Alternately, is there any SINGLE daemon application that can retrieve
    mail and give it to procmail, as opposed to fetchmail and sendmail
    together?
    
    . . . Sheesh, this stuff really is contorted, or I am dull.  I quote the
    fetchmail man page, "fetchmail is a mail-retrieval and forwarding
    utility; it fetches mail from remote mailservers and forwards it to your
    local (client) machine's delivery system.  You can then handle the
    retrieved mail using normal mail user agents such as mutt(1), elm(1) or
    Mail(1)."  Great, but "normal mail user agents" can also retrieve from
    the remote server, directly:  so what the heck does fetchmail buy me?
    
    Ha!  Riddle me that.
    
    --Jason V. C.
    
    --
    The day Microsoft makes something that doesn't suck is probably the day
    they start making vacuum cleaners. --Ernst Jan Plugge
    
  • [Eug-lug] keyboard strangeness



    Bob CrandellFri Jul 23 08:29:10 PDT 2004

    You confused the motherboard.
    
    Mr O (notanatheist at yahoo.com) wrote:
    >
    > Why would my PS/2 keyboard suddenly stop working? No response
    > from it whatsoever and it was working fine just an hour ago.
    > Grab my USB keyboard and I can type away just fine.
    >
    > Wait!! Here's the strange one, I just flipped over to a VC and
    > back with the USB keyboard and now the PS/2 works fine! I'm
    > scratching my head on this one.
    >
    > Anyone got a clue as to why it would happen?
    >
    >
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > Vote for the stars of Yahoo!'s next ad campaign!
    > http://advision.webevents.yahoo.com/yahoo/votelifeengine/
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    >
    
    --
    Assured Computing, Inc.
    When you need to be sure.
    http://www.assuredcomp.com/
    P.O. Box 40814
    Eugene, OR 97404
    Voice - 541-868-0331
    FAX - 541-463-1627