Strictly Programming

Setting up fetchmail in Ubuntu 8.0.4

Posted in Uncategorized by sqllyw on 11/26/2008

Setting up fetchmail in UbuntuYou should have a smtp server setup before installing fetchmail as the latter uses smtp to delivery the messages to the local accounts.

=Configuring_Fetchmail_Ubuntu_Gutsy

Install fetchmail in Ubuntu 8.04

sudo apt-get install fetchmail

Adding system user `fetchmail’ (UID 110) …
Adding new user `fetchmail’ (UID 110) with group `nogroup’ …
Creating home directory `/var/lib/fetchmail’ …

create a fetchmailrc in the /etc with following contents:

set syslog;
set daemon 90;
set postmaster “postmaster@example.com”;
poll “example.com” with protocol pop3 user “user@example.com” password “password” is “user” here

sudo chown fetchmail fetchmailrc
sudo chmod 0600 fetchmailrc

edit /etc/default/fetchmail

start fetchmail

sudo /etc/init.d/fetchmail start

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: