GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FDM(1) FreeBSD 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:

name
Process only the specified account. This option may appear multiple times. The account name may include shell glob characters to match multiple accounts.
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.
conffile
Specify the configuration file location. Default is ~/.fdm.conf, or /usr/local/etc/fdm.conf 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.
Log using syslog(3) rather than to stderr.
Ignore the lock file and run regardless of other instances of fdm.
Do not process any accounts, just verify the configuration file syntax and exit.
Quiet mode. Only print errors.
user
Specify the default user for delivery. This overrides the default-user option in the configuration file.
Request verbose logging. This option may be specified multiple times. -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.
name
Exclude the named account. Multiple -x options may be specified. As with -a, shell glob characters may be used.
| |
The 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:
add path string
 
remove path string
Add or remove string as a key in the cache at path.
list [path]
List the number of keys in the specified cache, or if path is omitted, in all caches declared in the configuration file.
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.
clear path
Delete all keys from the cache at path.

~/.fdm.conf
default fdm configuration file
/usr/local/etc/fdm.conf
default system-wide configuration file
~/.fdm.lock
default lock file
/var/db/fdm.lock
lock file for root user

mail(1), fdm.conf(5), sendmail(8)

Nicholas Marriott <nicholas.marriott@gmail.com>
December 22, 2008 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.