docker-offlineimap/head/offlineimap.conf

100 lines
3.1 KiB
Plaintext
Raw Normal View History

2002-06-20 09:40:29 +02:00
# Sample configuration file
# Copyright (C) 2002 John Goerzen
# <jgoerzen@complete.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2002-06-21 08:51:21 +02:00
##################################################
# General definitions
##################################################
2002-06-20 09:40:29 +02:00
[general]
# This specifies where imapsync is to store its metadata.
# This directory will be created if it does not already exist.
metadata = ~/.imapsync
# This variable specifies which accounts are defined. Separate them
# with commas. Account names should be alphanumeric only.
# You will need to specify one section per account below. You may
# not use "general" for an account name.
#
accounts = Test
2002-06-21 09:25:24 +02:00
# You can have imapsync continue running indefinately, automatically
# syncing your mail periodically. If you want that, specify how
# frequently to do that (in minutes) here.
# autorefresh = 5
2002-06-21 08:51:21 +02:00
##################################################
# Mailbox name recorder
##################################################
[mbnames]
# imapsync 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
# are just the empty string "".
#
# The header, peritem, sep, and footer are all Python expressions passed
# through eval, so you can (and must) use Python quoting.
enabled = no
filename = ~/Mutt/muttrc.mailboxes
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "
footer = "\n"
##################################################
# Accounts
##################################################
# This is an account definition clause. You'll have one of these
# for each account listed in general/accounts above.
2002-06-20 09:40:29 +02:00
[Test]
# Specify the remote hostname.
2002-06-21 08:51:21 +02:00
remotehost = examplehost
2002-06-20 09:40:29 +02:00
# Whether or not to use SSL.
ssl = yes
# Specify the port. If not specified, use a default port.
# remoteport = 993
# Specify the remote user name.
remoteuser = pilot
2002-06-20 09:40:29 +02:00
# Specify the remote password. If not specified, you will be
# prompted.
# remotepass = fake
# Specify local repository.
localfolders = ~/Test
2002-06-21 08:51:21 +02:00
# You can specify a folder translator. This must be a eval-able
# Python expression that takes a foldername arg and returns the new
# value. I suggest a lambda. This example will remove "INBOX." from
# the leading edge of folders (great for Courier IMAP users)
# nametrans = lambda foldername: re.sub('^INBOX.', '', foldername)