LinuXelite
Programmer
Hi,
We developt a web-based CRM software. We designed something similar to gmail or horde.
We need to retreive our customer's email from their POP3 server.
At this moment, we programmed a JAVA deamon that get Email from their POP3 server and store it into a MySQL table.
However we have many issues:
- Javamail does not like weird encoding (RTF, spam, MS encoding);
- We need a anti-spam solution and anti-virus solution;
- Our deamon has few segfault and memory leak.
I'm thinking of another (better) solution and I'd like to know if my logics is correct.
I'm going to install a qmail server. For each user, I'll create a local account (user@customer.mydomain.com). Then, I'll use Fetchmail to retreive his email from a POP3 account. Our software will use the IMAP server to retreive and manage email instead of a mysql database.
I'd be easy to add a anti-spam feature within qmail with SpamAssassin.
My question: Can I use qmail/fetchmail (and maybe procmail?) to store and get email from many POP3 servers? Is there a good HOWTO somewhere?
We developt a web-based CRM software. We designed something similar to gmail or horde.
We need to retreive our customer's email from their POP3 server.
At this moment, we programmed a JAVA deamon that get Email from their POP3 server and store it into a MySQL table.
However we have many issues:
- Javamail does not like weird encoding (RTF, spam, MS encoding);
- We need a anti-spam solution and anti-virus solution;
- Our deamon has few segfault and memory leak.
I'm thinking of another (better) solution and I'd like to know if my logics is correct.
I'm going to install a qmail server. For each user, I'll create a local account (user@customer.mydomain.com). Then, I'll use Fetchmail to retreive his email from a POP3 account. Our software will use the IMAP server to retreive and manage email instead of a mysql database.
I'd be easy to add a anti-spam feature within qmail with SpamAssassin.
My question: Can I use qmail/fetchmail (and maybe procmail?) to store and get email from many POP3 servers? Is there a good HOWTO somewhere?