LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Web email server from private email server (https://www.linuxquestions.org/questions/linux-server-73/web-email-server-from-private-email-server-614131/)

guy_ripper 01-16-2008 09:06 PM

Web email server from private email server
 
Hi Everyone,

I have a question regarding email replication. We have an email service which is hosted from second party company. We are able to get our messages by either web access or by a client-email technology. We have installed a new postfix server and I want it to link email from second party on to our new postfix server. Is that possible? If it is going to be possible, how would I do it?

Thanks everyone in advanced...

billymayday 01-17-2008 03:14 AM

If by client-email technology you mean Outlook, Evolution or something of that ilk, then have a look at fetchmail - it will collect email using pop3 and deliver it to Postfix for you. Very simple to use, and you can set it in daemon mode.

I run it from my user account's cron to collect emails from a couple of ISP accounts (not only for my user) - fetchmail doesn't like being run as root. Use something like
@reboot fetchmail -d 600 > /dev/null 2>&1
in your crontab (this checks every 600 seconds)

Aaronk 01-17-2008 06:58 AM

I would say your least preferable but most guaranteed to work solution would be to setup "secondary email addresses" (or domain), and have all user's accounts setup to froward to your postfix server. From there you could parse the headers based on originally intended mailbox and deliver based on that. I've seen it work before but its awfully complex and custom driven to setup (read = a REAL PITA). I would definitely try to steer you to a fetchmail or similar solution first.


All times are GMT -5. The time now is 03:01 PM.