FDM(1) | General Commands Manual | FDM(1) |
fdm
— fetch and
deliver mail
fdm |
[-hklmnqv ]
[-a account]
[-D name=value]
[-f conffile]
[-u user]
[-x account]
[fetch | poll | cache ] |
The fdm
program fetches mail from a POP3
or IMAP server or from stdin
and delivers it based
on a ruleset in the configuration file.
The options are as follows:
-a
name-D
name=value$
or
%
to specify a string or numeric macro. This
option may appear multiple times.-f
conffile-h
HOME
environment variable to ascertain
the user's home directory.-k
drop
action. Note that mails kept in this way will
be refetched by fdm
if it is run again on the same
account.-l
stderr
.-m
fdm
.-n
-q
-u
userdefault-user
option in the configuration
file.-v
-vv
will print information on configuration
(useful with -n
). -vvvv
duplicates all traffic to and from remote servers to
stdout
. This feature is disabled when using the
-l
flag.-x
name-x
options may
be specified. As with -a
, shell glob characters
may be used.fetch
|
poll
|
cache
fetch
command instructs
fdm
to fetch and deliver messages. The
poll
command polls the accounts in the
configuration file and reports a message count for each.
cache
allows fdm
cache
files to be manipulated: see the next section.The following cache manipulation commands are supported:
cache
add
path
stringcache
remove
path
stringcache
list
[path]cache
dump
pathstdout
. Each key is printed followed by a space
and the timestamp as Unix time.cache
clear
pathfdm
configuration fileNicholas Marriott <nicholas.marriott@gmail.com>
December 22, 2008 | Debian |