Fetch email from a remote server to a local user mailbox

Q. How do I fetch email from a remote server to a local user mailbox (localhost or desktop Linux system) ?

Advertisement

A. You need to use simple program called fetchmail. It is an utility which retrieves email from remote mailservers and delivers it to the local mail server or MTA. The fetchmail utility supports following common mail-retrieval protocols:
POP3
IMAP4
POP2 etc

You need to create a .fetchmailrc file in your home directory i.e. /home/you/.fetchmailrc and setup permission to 644.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

5 comments… add one
  • Chandrakant Dec 18, 2007 @ 10:33

    i want to configure of redhat linux server and configure so pleas help me how to configure web server and mail server and samba server ftp & telnet & scp & ssh & squide proxy & firewall with ip table and more so pleas help me and send me document off this particular topik

  • Manan patel Apr 8, 2008 @ 1:25

    How can i open file with .laf extensions in
    linux and windows?what application requires for it?

  • vinay Mar 31, 2009 @ 15:38

    I need to fetch my gmail inbox or any other inbox to my system (web site) ? Can you help me ?

  • Vivek Nov 11, 2010 @ 13:32

    hello

    I am able to fetch the mails from remote server and able to deliver to local mail-box.
    But i am unable deliver bcc emails

    Please Help Me
    Vivek

  • Anshul Mar 31, 2011 @ 11:49

    hi,

    can someone please suggest any alternative for fetchmail, i’m using fetchmail with catchall account on my hosting but its giving problem in fetching mail like delivering mails of one user to another or not fetching mails with bcc headers

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.