[prev in list] [next in list] [prev in thread] [next in thread] 

List:       getmail
Subject:    Re: Desperately needed: Getmail with Python 2.2 and delivery to mbox file??
From:       Charles Cazabon <getmaillist () discworld ! dyndns ! org>
Date:       2004-10-06 14:26:06
Message-ID: 20041006142606.GA24179 () discworld ! dyndns ! org
[Download RAW message or body]

Rainer Hubovsky <rainer@hubovsky.net> wrote:
> 
> I have a big problem: I use SuSE 8.0 and my installed version of python is
> 2.2.
[...]
> But there must be a version of getmail which can deliver to an mbox file.

Yes, there is a version of getmail which is both supported, and which handles
mbox files.  Do the following:

  $ wget http://www.python.org/ftp/python/2.3.4/Python-2.3.4.tar.bz2
  $ tar xjf Python-2.3.4.tar.bz2
  $ cd Python-2.3.4
  $ ./configure --program-suffix=2.3
  $ make
  [su to root]
  # make install

This will not affect your existing Python installation(s).  Then:

  $ wget http://www.qcc.ca/~charlesc/software/getmail-4/old-versions/getmail-4.2.0.tar.gz
  $ tar xzf getmail-4.2.0.tar.gz
  $ cd getmail-4.2.0
  [su to root]
  # /usr/local/bin/python2.3 setup.py install

Then use the following getmailrc file, in ~/.getmail/getmailrc:

  [options]
  verbose = 0
  readall = 0
  delete = 1
 
  [retriever]
  type = SimplePOP3Retriever
  server = mbox.sil.at
  username = *******
  password = ********

  [destination]
  type = Mboxrd
  path = ~hubovsky/Mail/inbox

Depending on how fast your system is, this whole process should take between
five and thirty minutes.

> I looked at http://www.qcc.ca/~charlesc/software/getmail-4/ but the only
> version which is able to deliver to an mbox file seems to be the version 4

I'm afraid that's not correct.  v2, v3, and v4 can all deliver to mbox files,
though some use an external MDA to effect it.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                      <getmaillist@discworld.dyndns.org>
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: getmail-unsubscribe@discworld.dnsalias.org
For additional commands, e-mail: getmail-help@discworld.dnsalias.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic