The resource file should contain as many mailbox{} sections
as the number of mailboxes you want to monitor. Each section will
create a separate monitor for the given mailbox.
- "type
-
The type of the mailbox. mbox is the standard UNIX mailbox
file. maildir is the newer Maildir format.
mh is the mH mail directory format.
pop3 is for the mailboxes on POP3 servers.
imap is a mailbox on the IMAP server.
Depending on the type of the mailbox, some settings may take
effect while others will be silently ignored.
The following keywords are useful for the mbox:
file update unread-is-new
The following keywords are useful for the maildir:
file update
The following keywords are useful for the mh:
file update unread-is-new use-mh-sequences
The following keywords are useful for the pop3:
update auth server user password timeout
The following keywords are useful for the imap:
update server user password mailbox timeout persistent
- "file
-
For mbox, mh and maildir, specifies the location of the
mailbox in the filesystem.
Default: none.
Note: if no mailbox section is present in the configuration
file or no configuration file is found, the value of the environment
variable $MAIL will be used as the location of the UNIX
mailbox format mail file.
- "update
-
Specifies the period between two updates of this mailbox. The
mailbox will be updated period seconds after the previous
update is finished.
Default: 10.
- "unread-is-new
-
For mbox and mh, specifies whether the messages which are flagged
as unread are counted as new messages.
Default: no.
- "use-mh-sequences
-
For mh, specifies whether asmail should parse the .mh_sequences
file in this mH mail directory to count new messages. If this option
is set to "no", then asmail will parse every message in the mH directory
searching for "Status" headers.
Default: no.
- "auth
-
Specifies the type of authentication allowed for the POP3 service.
plain stands for the cleartext password authentication, md5
stands for the APOP authentication using MD5 hashes.
You can specify either of them or both.
If both are allowed and the server supports APOP, first APOP
will be tried.
Default: plain md5.
- "server
-
The server name to connect to.
Default: none.
- "user
-
Your user name on the server.
Default: none.
- "password
-
Your password on the server.
Default: none.
- "mailbox
-
Your mailbox on the server. This is only useful with IMAP servers,
you can specify an alternative to the standard "INBOX" value.
Default: INBOX for IMAP, none for the rest.
- "timeout
-
The connection to the server will time out after server-timeout
seconds waiting for the answer.
Default: 60.
- "persistent
-
The connection to the server can be either opened once and kept
open or the connection can be opened and closed every time we
need to check for the e-mail status, i.e. every update period
seconds. If you do not want the connection set-up and login
procedure to execute every time, set this to yes.
Default: no.