Howto: Configure Fetchmail Linux or UNIX client program to fetch emails

Fetchmail is a utility or command for Unix-like (Linux) systems used to retrieve e-mail from a remote POP3, IMAP, ETRN or ODMR mail server to the user’s local system.

From fetchmail site, “Fetchmail is a one-stop solution to the remote mail retrieval problem for Unix machines, quite useful to anyone with an intermittent or dynamic-IP connection to a remote mailserver, SLIP or PPP dialup, or leased line when SMTP isn’t desired. Fetchmail can collect mail using any variant of POP or IMAP and forwards to a the local SMTP (via TCP socket) or LMTP (via TCP or Unix socket) listener or into an MDA program, enabling all the normal forwarding/filtering/aliasing mechanisms that would apply to local mail or mail arriving via a full-time TCP/IP connection.”

How do I install fetchmail?

If you are using Debian Linux, type the command:

# apt-get install fetchmail

If you are using Fedora core/Cent OS Linux, type the command:

# yum install fetchmail

If you are using Ubuntu Linux, type the command:

# sudo apt-get install fetchmail

Configuration file name

The user configuration file is stored in your home directory i.e. /home/you/.fetchmailrc

How do I configure fetchmail to retrieve mail from ISP mail server?

Open .fetchmailrc file:

$ cd; touch .fetchmailrc
$ chmod 600 .fetchmailrc
$ vi .fetchmailrc

Append following text:

poll pop3.net4india.com with proto POP3
user d12356 there with password “password” is “vivek” here

Where,

  • pop3.net4india.com – My POP3 server
  • proto POP3 – You are using POP3 protocol
  • d12356 – POP3 username
  • “password” – POP3 password
  • “vivek” – Local mailbox name

To fetch mail or to run fetchmail type command:

$ fetchmail

For more information please see offical fetchmail web site.

Change the location of where Firefox saves the downloaded file

Q. How do I change the location of where Firefox, the web browser, save the downloaded files?

A. By default file is saved to your desktop.

To change the default location of where Firefox saves the downloaded files:

  • Open the Firefox web browser
  • Click on edit menu
  • Select preferences option
  • Select Downloads – This panel controls how Firefox handles different file types such as applications, compressed files, multimedia, etc.
  • Now you can configure where the downloads will be saved for every download (Save all files to this folder option) – This is the default option. It allows you to specify a default folder where all downloads will be saved to, such as the My Downloads folder (windows XP). You can browse to a specific folder by selecting Other… from the drop-down list of available folders. To show the folder, click the Show Folder button, which will open the folder in the default file manager (e.g. Windows Explorer or Nautilus under Linux).

Ubuntu Linux shutdown the X server

Recently someone asked me a question – “How do I shutdown the X server, so that I have a command line prompt on the console?

Well answer is very simple use script located at /etc/init.d/ directory. If you are using KDE desktop type the command (make sure you save all the work as following command does not ask confirmation):

sudo /etc/init.d/kdm stop

Within few seconds you should be dropped to a command line prompt on the console. To start GUI type command:

sudo /etc/init.d/kdm start

If you are using GNOME:

sudo /etc/init.d/gdm stop

Again to start GNOME desktop:

sudo /etc/init.d/gdm start

Another way – You can change the current runlevel

From a command line, you can use the init command to go immediately into runlevel 1, which is also known as single user text mode. Open terminal and type the following command:

sudo init 1

Again get back to GUI with init 2 command:

sudo init 2

When you type init 1 command your session will then begin to shut down and bring you into single user text mode. When you type init 2 command your session will then begin to shut down and bring you into GUI mode :)

Pretty easy ahh?

So what are GDM and KDM?

  • GDM (the GNOME Display Manager) provides an alternate display manager for the X Window System.
  • KDM (the KDE Display Manger) provides an alternate display manager for the X Window System.
  • In short, both of them are a graphical login interface for computers using Linux or Unix-like operating systems.

Download Intel Processor or CPU Identification Utility

Intel Processor or CPU Identification Utility

I had already written about find out CPU speed and type in Windows or Linux system. Now Intel has released an updated version of its Processor or CPU Identification Utility. This utility can be used to verify that you have purchased correct CPU.

The Intel Processor Identification Utility was developed by Intel Corporation to identify the processor inside a system, assuring the processor contains intended technologies and is operating at the tested and rated frequency intended by Intel Corporation.

There are two versions of the utility available. The Windows version of the utility can be used with systems that support the Windows operating system environment. The “Bootable” version of the utility does not require an operating system. You can boot from computer floppy disk.

Download

Visit Intel website to download this utility

Official Debian GNU/Linux version 4.0 for AMD 64 architecture

Debian GNU/Linux is a free and high quality operating system. Now GNU/Linux project announced December 2006 as the date for the next release aka version 4.0 (etch). This will be the first official release to include the AMD64 architecture. The distribution will be released synchronously for 11 architectures in total.

Read more at Debian Linux news site