Note that LINUX_USERNAME should be exactly what you would get from the following command:$ echo $USER

Since your password is saved as a plain text, you will need to make sure to set read/write flags only for the owner:$ chmod 600 ~/.fetchmailrc

Now, we need to configure procmail. Create ~/.procmailrc file and edit it with the following content:# Environment variable assignmentsPATH=/bin:/usr/bin:/usr/local/binVERBOSE=off # Turn on for verbose logMAILDIR=$HOME/Mail # Where Procmail recipes deliverLOGFILE=$HOME/.procmaillog # Keep a log for troubleshooting.# Recipes:0:* ^(From).*(SOMEBODY)$MAILDIR/SOMEBODY

This configuration will have procmail filter out any mails from SOMEBODY and save the message by appending to the file ~/Mail/SOMEBODY. Make sure to create the folder where it will be saved to:$ mkdir ~/Mail

What about any other messages? They should be saved to path pointed by $MAIL, which we will need to specify. Edit ~/.bashrc to append the following line:MAIL=/var/spool/mail/$USER && export MAIL

If your message is sent from SOMEBODY, it will be saved into ~/Mail/SOMEBODY file. If not, it will be saved to /var/spool/mail/$USER file. Open up these files and see if you are receiving the messages.

Finally, to schedule fetchmail every 5 minute, do the following:

$ crontab -e

Append the following line:

*/5 * * * * /usr/bin/fetchmail &> /dev/null

By the way, if you want fetching to run system-wise, edit /etc/crontab file instead.