The fetchmail program can gather mail from servers supporting any of the common mail-retrieval protocols: POP2, POP3, IMAP2bis, and IMAP4. It can also use the ESMTP ETRN extension. (The RFCs describing all these protocols are listed at the end of this manual page.)
While fetchmail is primarily intended to be used over on demand TCP/IP links (such as SLIP or PPP connections), it may also be useful as a message transfer agent for sites which refuse for security reasons to permit (sender-initiated) SMTP transactions with sendmail.
As each message is retrieved fetchmail normally delivers it via SMTP to port 25 on the machine it is running on (localhost), just as though it were being passed in over a normal TCP/IP link. The mail will then be delivered locally via your system's MDA (Mail Delivery Agent, usually sendmail(8) but your system may use a different one such as smail, mmdf, exim, or qmail). All the delivery control mechanisms (such as .forward files) normally available through your system MDA and local delivery agents will therefore work.
If the program fetchmailconf is available, it will assist you in setting up and editing a fetchmailrc configuration. It runs under X and requires that the language Python and the Tk toolkit be present on your system. If you are first setting up fetchmail for single-user mode, it is recommended that you use Novice mode. Expert mode provides complete control of fetchmail configuration, including the multidrop features. In either case, the `Autoprobe' button will tell you the most capable protocol a given mailserver supported, and warn you of potential problems with that server.
| POP3 Server | pop3.grape-info.com |
|---|---|
| User Accont Name | hogeuser |
| Password | hogepassword |
poll POP Server Name
proto Protocol
user User Account Name
pass Password
poll pop3.grape-info.com
proto POP3
user hogeuser
pass hogepassword
Your mail messages are comming your e-mail spool
$ chmod 0600 ~/.fetchmailrc
$ crontab -e
0-59/15 * * * * /usr/bin/fetchmail -s
$ fetchmail -d 300
Copyright © [- SroNey / JohN -]. All rights reserved