/head: changeset 39

Completed name change to offlineimap
This commit is contained in:
jgoerzen 2002-06-21 11:01:10 +01:00
parent cf52b56246
commit 292df13aec
10 changed files with 18 additions and 18 deletions

View File

@ -22,10 +22,10 @@
[general]
# This specifies where imapsync is to store its metadata.
# This specifies where offlineimap is to store its metadata.
# This directory will be created if it does not already exist.
metadata = ~/.imapsync
metadata = ~/.offlineimap
# This variable specifies which accounts are defined. Separate them
# with commas. Account names should be alphanumeric only.
@ -35,7 +35,7 @@ metadata = ~/.imapsync
accounts = Test
# You can have imapsync continue running indefinately, automatically
# You can have offlineimap continue running indefinately, automatically
# syncing your mail periodically. If you want that, specify how
# frequently to do that (in minutes) here.
@ -47,7 +47,7 @@ accounts = Test
[mbnames]
# imapsync can record your mailbox names in a format you specify.
# offlineimap can record your mailbox names in a format you specify.
# You can define the header, each mailbox item, the separator,
# and the footer. Here is an example for Mutt.
# If enabled is yes, all six setting must be specified, even if they

View File

@ -17,15 +17,15 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from imapsync import imaplib, imaputil, imapserver, repository, folder, mbnames
import re, os, os.path, imapsync, sys
from offlineimap import imaplib, imaputil, imapserver, repository, folder, mbnames
import re, os, os.path, offlineimap, sys
from ConfigParser import ConfigParser
ui = imapsync.ui.TTY.TTYUI()
ui = offlineimap.ui.TTY.TTYUI()
ui.init_banner()
config = ConfigParser()
configfilename = os.path.expanduser("~/.imapsyncrc")
configfilename = os.path.expanduser("~/.offlineimaprc")
if not os.path.exists(configfilename):
sys.stderr.write(" *** Config file %s does not exist; aborting!\n" % configfilename)
sys.exit(1)

View File

@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from Base import BaseFolder
from imapsync import imaputil, imaplib
from offlineimap import imaputil, imaplib
import rfc822
from StringIO import StringIO

View File

@ -19,7 +19,7 @@
from Base import BaseFolder
import os
magicline = "IMAPSYNC LocalStatus CACHE DATA - DO NOT MODIFY - FORMAT 1"
magicline = "OFFLINEIMAP LocalStatus CACHE DATA - DO NOT MODIFY - FORMAT 1"
class LocalStatusFolder(BaseFolder):
def __init__(self, root, name):

View File

@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from Base import BaseFolder
from imapsync import imaputil
from offlineimap import imaputil
import os.path, os, re, time, socket
class MaildirFolder(BaseFolder):
@ -25,7 +25,7 @@ class MaildirFolder(BaseFolder):
self.name = name
self.root = root
self.sep = '.'
self.uidfilename = os.path.join(self.getfullname(), "imapsync.uidvalidity")
self.uidfilename = os.path.join(self.getfullname(), "offlineimap.uidvalidity")
self.messagelist = None
def getfullname(self):

View File

@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from imapsync import imaplib, imaputil
from offlineimap import imaplib, imaputil
class IMAPServer:
def __init__(self, username, password, hostname, port = None, ssl = 1):

View File

@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from Base import BaseRepository
from imapsync import folder, imaputil
from offlineimap import folder, imaputil
import re
class IMAPRepository(BaseRepository):

View File

@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from Base import BaseRepository
from imapsync import folder
from offlineimap import folder
import os
class LocalStatusRepository(BaseRepository):

View File

@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from Base import BaseRepository
from imapsync import folder, imaputil
from offlineimap import folder, imaputil
from mailbox import Maildir
import os

View File

@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from imapsync import repository
from offlineimap import repository
import re, time
class UIBase:
@ -45,7 +45,7 @@ class UIBase:
def init_banner(s):
"Display the copyright banner."
s._msg("""imapsync
s._msg("""offlineimap
Copyright (C) 2002 John Goerzen. All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.""")