Monday, February 1, 2010

Install Fetchmail on Mac OS X Server to replace Small Business Serverexchange pop connector


If your switching from a windows small business server to an apple server you may notice there is no longer  an email pop connecter like windows small business server has so installing fetchmail on an apple server may be the only way to continue downloading your pop mail from your internet mail server to your apple server.

Install X11 & Xcode Tools located in the “optional installs” folder on the mac server install disk

Check for apple updates after installation

Install MacPorts http://guide.macports.org/#installing.macports

Open Terminal

Type: sudo port install fetchmail
fetchmail and dependencies will now be downloaded It may take awhile so be sure to wait for the computers username to appear so you are sure everything is downloaded.

Type: port variants fetchmail

this will give a list of available variants.  We will be installing only the fetchmailconf graphical configurator

Type: sudo port install fetchmail +fetchmailconf

Type: fetchmailconf
now you should see the fetchmail launcher pop up

Note: after you enter the outside mail server name be sure to hit enter to add it to the list, this will be followed by a pop up to enter usernames.

Also a username may be your full email address for example  example@example.com
after setup quit fetchmailconf , go back to terminal and
run fetchmail by typing: fetchmail.

Please be sure not to send your email passwords in plain text or your email account can be compromised.

3 comments:

  1. Thank you ! very usefull article,

    Great Work

    ReplyDelete
  2. I'm just guessing but it may be something with the host name needing to be a fully qualified domain name or that your ip address may not be static. Could be something with the DNS setup too. Sorry that's a pretty broad answer. Try looking in the python forums for more answerson the hostname = socket.gethostbyaddr(socket.gethostname())[0] line. Best of luck!

    ReplyDelete
  3. Why build and install fetchmail? Why not use the one Apple installed in /usr/bin?

    ReplyDelete