Apache Awk Bash C cftp daemontools DHCP djbdns DNS Emacs Email ezmlm Fetchmail find GDB Hardware HTML HTTP Intro ISDN less Make Math mc mirrordir MySQL Peripherals Perl PHP3 pppd qmail Regexps Shell System Tables test To do Typical ucspi-tcp Versions Index TCP/IP slides
 

fetchmail typical use

To poll a remote POP3 server and pick up all mail to a user, create a file /~.fetchmailrc as per the following example. Note that /~.fetchmailrc must be chown auser.auser and chmod 600.

poll mail.pop3server.com proto pop3 username popuser password passwd is auser here smtpaddress mail.thisserver.domain

Replacing...

Key Replaced by
mail.pop3server.com the remote pop server
popuser the user's remote account name
passwd the user's remote account password
auser the local user name
mail.thisserver.domain the local mail server

Then add the following entry to /etc/crontab:

# (minutes)  (hours)  (day of month)  (month)  (   day of week    )  (username)  (command)
# ( 0-59  )  ( 0-23)  (    1-31    )  ( 1-12)  (0-7, 0 or 7 is Sun)
0 17 * * *  auser  fetchmail

fetchmail related links

Last update: Wed, 2 Nov 2005 10:16:21 GMT