POP to Postfix

Posted on 2006-07-16
Medium Priority
Last Modified: 2012-05-05

Okay this is what I want to do. One of our clients internet service provider provides mailboxes via pop. We want to download those messages using POP on our mail gateway and relay it through to our exchange server. I have no intentions of using a POP connector for our exchange server as the server is all ready burdened enough. Any ideas? Currently running Debian as our mail gateway with Postfix and a few other filtering software such as mailscanner. Is there something I can put on there to download mail via pop send it through to Postfix via SMTP and then use relaying configs i all ready have to pass it through to our exchange server?


Question by:dcarrion
  • 3
  • 2
LVL 24

Expert Comment

ID: 17119674
Hi Daniel,

You might want to check that your clients ISP mailbox has got forwarding option.  If not, fetchmail is your friend.  Use fetchmail and create .fetchmailrc as:

poll pop.isp.com with proto POP3
    user "pop_userid" with pass "pop_password"  
    smtpname "email@to.forward.com"
    is * here
    smtphost localhost

Author Comment

ID: 17120362
That sounds good. I've just run apt-get install fetchmail. Does the config file go in /etc/ ?
LVL 24

Accepted Solution

slyong earned 2000 total points
ID: 17120406
Hi Daniel,

The .fetchmailrc should go into one of the user on the system and a cron should do the trick of checking the mail now and then.  The user can be use to check multiple POP accounts.  Just keep adding the same thing above for different users to .fetchmailrc

Author Comment

ID: 17121087
Okay thank you :)
LVL 24

Expert Comment

ID: 17121096
no worries.  Thanks for the points

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question