A very nice person told me to use fetchmail. What I read is exactly what I want done. eg. user1@extmailserver -> user1@intmailserver -> pop client user2@extmailserver -> user2@intmailserver -> pop client no problem, but what now? I searched, but didn't quite find what I was looking for... PS: This will run as an internal mail server, they have broadband they just want a bit less congestion and a bit more mail filtering. My Config is as follows: OS: CentOS 4.4 32bit ISPConfig for them to get their mail from and a running system
You must configure /etc/fetchmailrc next and restart fetchmail. http://www.howtoforge.com/forums/showpost.php?p=34140&postcount=2
The moment I run fetchmail from the console it just says this happened after I edited the /etc/fetchmailrc
How do you run fetchmail? Did you start the fetchmail daemon: Code: /etc/init.d/fetchmail start or did you simply run Code: fetchmail on the shell?
It seems that I found what might be causing it, I am just not sure how to go about fixing it... So it doesn't seem to be there where it is suppose to be, but I can run the fetchmail on it's own. Any ideas?
So from your answer I assume that you simply ran Code: fetchmail and not the fetchmail daemon. In that case, you don't need /etc/fetchmailrc, but must place a file .fetchmailrc (that looks like /etc/fetchmailrc) in the user's homedir.
Let's say that I do WANT fetchmail to run as a deamon. Since it is for a couple of accounts 60, I kinda want it as automated as possible.
I don't know if there's a fetchmail daemon for CentOS (I know there's one for Debian). But you could create a cron job for each user that fetches mails every 5 minutes or so: Code: crontab -e (must be run as the user for which you want to fetch mails) Code: */5 * * * * /usr/bin/fetchmail