Linux notebook / Fetchmail
Description: Documents various Linux or *nix programs and concepts, including qmail, djbdns, emacs, Perl, hardware, bash, TCP/IP, DNS, etc...
Keywords: find djbdns system dns typical bash less gdb daemontools mirrordir math tables mysql qmail isdn make http ezmlm shell pppd cftp regexps intro awk dhcp test hardware ucspi-tcp apache html perl php3 fetchmail versions emacs email peripherals

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 |  | top

> 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

Links | top

> fetchmail related links

> - The fetchmail Home Page

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