e015398ff2
sync_mailbox() didn't consider MaxSize == 0 to mean "unlimited". load_config() needs to print a newline in its error messages since next_arg() kills the newline of the line that was read out of the config file.
43 lines
950 B
Plaintext
43 lines
950 B
Plaintext
# Global configuration section
|
|
# Values here are used as defaults for any following Mailbox section that
|
|
# doesn't specify it.
|
|
|
|
# by default, expunge deleted messages (same as -e on command line)
|
|
Expunge yes
|
|
|
|
# by default delete messages in the local mailbox which no longer exist
|
|
# on the server
|
|
Delete yes
|
|
|
|
# copy deleted messages to the IMAP "Trash" folder
|
|
CopyDeletedTo "Trash"
|
|
|
|
# my default username, if different from the local username
|
|
User me
|
|
#Port 143
|
|
#Box INBOX
|
|
# don't download messages larger than 200K bytes
|
|
MaxSize 200000
|
|
|
|
###
|
|
### work mailbox
|
|
###
|
|
|
|
Mailbox /home/me/Mail/work
|
|
Host work.host.com
|
|
Pass xxxxxxxx
|
|
# define a shortcut so I can just use "isync work" from the command line
|
|
Alias work
|
|
# don't auto expunge messages in this box (overridden by -e on command line)
|
|
Expunge no
|
|
|
|
###
|
|
### personal mailbox
|
|
###
|
|
|
|
Mailbox /home/me/Mail/personal
|
|
Host host.play.com
|
|
# use a non-default port for this connection
|
|
Port 6789
|
|
Alias personal
|