Collect mails from other accounts

From Linuxintro
Revision as of 03:20, 17 October 2008 by imported>ThorstenStaerk (→‎Configure fetchmail)

This article shows how you can collect e-mails from your accounts in the web to your local computer. It has been tested with SUSE Linux 10.3 but should work for other configurations as well.

To collect mails from pop accounts, we use fetchmail.

Install fetchmail

To install fetchmail, run:

yast -i fetchmail

Configure fetchmail

To configure it, use the file .fetchmailrc in your home directory. It should look like this:

poll pop.provider.net
        user "username@provider.net"
        pass "password"
        is localuser
        mda "/usr/bin/procmail -f fetchmail"

Replace

  • localuser with your local user on your Linux box.
  • pop.provider.net with your provider's pop server name.
  • username@provider.net with your mail address
  • password with your password at the provider

Then set the permissions for the file

chmod 710 .fetchmailrc