SYNOPSISfdm -words [-hklmnqv ] [-a account ] [-D name = value ] [-f conffile ] [-u user ] [-x account ] [fetch | poll ]
DESCRIPTIONThe 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
Process only the specified account.
This option may appear multiple times.
The account name may include shell glob characters to match multiple accounts.
- -D name = value
- This option defines a macro for use when parsing the configuration file. The macro name must be prefixed with $ or % to specify a string or numeric macro. This option may appear multiple times.
- -f conffile
Specify the configuration file location.
if that doesn't exist.
- Look at the HOME environment variable to ascertain the user's home directory.
- Keep all mail after delivery, regardless of whether it matches a drop action. Note that mails kept in this way will be refetched by fdm if it is run again on the same account.
rather than to
- Ignore the lock file and run regardless of other instances of .
Do not process any accounts, just verify the configuration file syntax and exit.
Quiet mode. Only print errors.
- -u user
Specify the default user for delivery.
This overrides the
option in the configuration file.
Request verbose logging.
This option may be specified multiple times.
will print information on configuration (useful with
duplicates all traffic to and from remote servers to
This feature is disabled when using the
- -x name
Exclude the named account.
options may be specified.
shell glob characters may be used.
- fetch | poll | cache
to fetch and deliver messages.
command polls the accounts in the configuration file and reports a message
count for each.
cache files to be manipulated: see the next section.
CACHE COMMANDSThe following cache manipulation commands are supported:
- cache add path string
- cache remove path string
- Add or remove string as a key in the cache at path
- cache list [path ]
- List the number of keys in the specified cache, or if path is omitted, in all caches declared in the configuration file.
- cache dump path
- Dump the contents of the cache path to stdout. Each key is printed followed by a space and the timestamp as Unix time.
- cache clear path
- Delete all keys from the cache at path
- default fdm configuration file
- default system-wide configuration file
- default lock file
- lock file for root user
AUTHORSAn Nicholas Marriott Aq [email protected]