Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Getting Cyrus imap server (OS X Server) to retrieve POP mail from other server

Getting Cyrus imap server (OS X Server) to retrieve POP mail from other server
Thread Tools
Mac Enthusiast
Join Date: Jan 2001
Location: Leesburg, Virginia
Status: Offline
Reply With Quote
Mar 7, 2005, 10:05 AM
 
At work we are a satellite operation of a company headquartered half-way across the country. Headquarters runs an Exchange server with POP enabled. We have a Mac OS X Server (Panther) box on which I can turn on a Cyrus imap server.

What I would like this server to do (ideally have the Cyrus process do) is periodically check my local users' POP accounts on the Exchange server, retrieve new mail, and store it in the imap mail storage.

Can this be done? If so, how?

Dominik Hoffmann
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Mar 7, 2005, 06:56 PM
 
This is a job for fetchmail. Don't use it myself but I know it does pretty much what you want; fetches remote mail via POP (or whatever), and then forwards it via SMTP on localhost, so your Cyrus server receives it.
     
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status: Offline
Reply With Quote
Mar 8, 2005, 09:03 AM
 
Squirrelmail can do this - it's a web front end for cyrus written in php. You can set it up to download new mail from any pop account on log in.

It's kind of roundabout but you could have a cron job get the 'check my mail' page with lynx.

Or if you want to get fancy you can dig through the php code, find the bit that downloads the pop mail and call that directly. php can be run like a shell script.
     
Mac Enthusiast
Join Date: Jan 2001
Location: Leesburg, Virginia
Status: Offline
Reply With Quote
Mar 8, 2005, 10:25 AM
 
Originally posted by Mithras:
This is a job for fetchmail.
Thank you very much! It is currently working very well for my own account. I now have to figure out, how I can automate the launching of a fetchmail daemon session on server startup. I'd love to have a startup script step through the list of users (without feeding this information to the script explicitly) and run their .fetchmailrc files, if they have them.

Dominik
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:48 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2