Difference between revisions of "Fetchmail"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
  
 
= Schedule it =
 
= Schedule it =
To schedule fetchmail, e.g. to fetch your mail all 5 minutes, use cron.
+
To schedule fetchmail, e.g. to fetch your mail all 5 minutes, use cron. To make sure fetchmail knows your password, create a file in your home folder named .fetchmailrc like this:
 +
 
 +
poll your.provider.org
 +
  user "yourusername"
 +
  pass "yourpassword"
  
 
= See also =
 
= See also =
* [http://man-wiki.net/index.php/1:fetchmail fetchmail's man page]
+
* [http://fetchmail.berlios.de/fetchmail-man.html fetchmail's man page]

Latest revision as of 09:08, 22 April 2014

Fetchmail is a command that allows you to fetch mail from a mail account onto your computer. It is useful when setting up a mail server.

Install it

To install fetchmail, find out your distribution and proceed accordingly

SUSE Linux 12.1 x64

To install fetchmail under SUSE Linux 12.1 x64, open a console as root and enter

killall packagekitd
yast -i fetchmail

Use it

fetchmail -p pop3 -u 131313 -v pop.gmx.net

Asks for a password and fetches the mail of user 131313 from the pop3 server pop.gmx.net.

Schedule it

To schedule fetchmail, e.g. to fetch your mail all 5 minutes, use cron. To make sure fetchmail knows your password, create a file in your home folder named .fetchmailrc like this:

poll your.provider.org
  user "yourusername"
  pass "yourpassword"

See also