Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 572 #598
i
i
i
i
i
i
i
i
Mail/ is a subdirectory of the user’s home directory that contains e-mail
folders, including the folder saved-messages. If mailsync is started
with mailsync -m saved-messages, it lists an index of all messages
in saved-messages. If the following definition is made
store localdir {
pat Mail/*
prefix Mail/
}
the command mailsync -m localdir lists all messages stored under
Mail/. In contrast, the command mailsync localdir lists the folder
names. The specifications of a store on an IMAP server appear as follows:
store imapinbox {
server {mail.edu.harvard.com/user=gulliver}
ref {mail.edu.harvard.com}
pat INBOX
}
The above example merely addresses the main folder on the IMAP server.
A store for the subfolders would appear as follows:
store imapdir {
server {mail.edu.harvard.com/user=gulliver}
ref {mail.edu.harvard.com}
pat INBOX.*
prefix INBOX.
}
If the IMAP server supports encrypted connections, the server specification
should be changed to
server {mail.edu.harvard.com/ssl/user=gulliver}
or, if the server certificate is not known, to
server {mail.edu.harvard.com/ssl/novalidate-cert/user=gulliver}
The prefix is explained later.
Now the folders under Mail/ should be connected to the subdirectories on
the IMAP server:
channel folder localdir imapdir {
msinfo .mailsync.info
}
572
23.7. Introduction to mailsync