fdm: fdm (Simple, lightweight replacement for fetc/getmail type programs)
fdm:
fdm: fdm is a program to fetch mail and deliver it in various ways depending 
fdm: on a user-supplied ruleset. Mail may be fetched from stdin, IMAP or 
fdm: POP3 servers, or from local maildirs, and filtered based on whether 
fdm: sit matches a regexp, its ize or age, or the output of a shell command. 
fdm: It can be rewritten by an external process, dropped, left on the server 
fdm: or delivered into maildirs, mboxes, to a file or pipe, or any combination.
fdm: 
fdm: homepage: fdm: http://fdm.sourceforge.net/
fdm: