PDA

View Full Version : getting pop3 emails filtered through ispconfig install


Ovidiu
19th October 2005, 08:43
sorry for the strange title of the post, I couldn't quite find a better one.
What I mean is this: I am hosting a domain where my primary email address is on, on my root server with an ispconfig installation. now I'd like to get alle my other mail accounts onto this system. so I have a single web interface and all my accounts like those on hotmails, etc. get filtered and scanned too. BUT if I use squirrelmail and its fetchmail plugin those mails will not get scanned and filtered, they simply land inside my Inbox and thats it...

for the moment I have all my other accounts forward me copies of all messages, but wouldn't it be more elegant if I could fetch them? what do you think? anyone doing something similar like this or am I just not making any sense?

falko
19th October 2005, 09:36
I don't know how the Squirrelmail plugin works, but I'd try to use fetchmail itself.
You have to create /etc/fetchmailrc, which looks like this:

# /etc/fetchmailrc for system-wide daemon mode
# This file must be chmod 0600, owner fetchmail

# Daemon configuration
# These two are set in /etc/default/fetchmail
#set daemon 300 # Pool every 5 minutes
#set syslog # log through syslog facility
set postmaster root

set no bouncemail # avoid loss on 4xx errors
# on the other hand, 5xx errors get
# more dangerous...

################################################## ########################
# Hosts to pool
################################################## ########################

# Defaults ================================================== =============
# Set antispam to -1, since it is far safer to use that together with
# no bouncemail
defaults:
timeout 300
antispam -1
batchlimit 100

poll hotmail.com protocol POP3 user "blablabla" there with password "blubbblubb" is web1_joe here fetchall