Courier (lankoski) Mac OS
This is a short write up for an easy way to install Courier-IMAP on a machine running Mac OS X client (and probably just the Darwin core as well)
- Courier (lankoski) Mac Os Download
- Courier (lankoski) Mac Os X
- Courier (lankoski) Mac Os Catalina
- Courier (lankoski) Mac Os 11
- Download Free Fonts. Collection of most popular free to download fonts for Windows and Mac. This free fonts collection also offers useful content and a huge collection of TrueType face and OpenType font families categorized in alphabetical order.
- The Happy Mac icon was the normal bootup screen of the Macintosh, it was also used on floppy disks of System softwares. The Mac OS logo and rebranding marks it's debut on version 7.5.1. Released on March 23, 1995. This logo was used for the Mac OS X v10.0, code-named 'Cheetah', and v10.1, code-named 'Puma'. These versions were preceded by the Mac OS X Public Beta, code-named 'Kodiak'.
Double-click the font in the Finder, then click Install Font in the font preview window that opens. After your Mac validates the font and opens the Font Book app, the font is installed and available for use. Courier allows you to share files, images, photos, movies, and more with all your favourite online services. Our seven built-in plugins mean you'll be able to start sharing in under 30 seconds - and with Amazon S3, Ember, Flickr, Facebook, FTP / SFTP, Vimeo and YouTube support, we've got the most-requested services in the bag! Explore the world of Mac. Check out MacBook Pro, MacBook Air, iMac, Mac mini, and more. Visit the Apple site to learn, buy, and get support.
Target
I wanted to have my own IMAP-server both for archival purposes (on my own machine I have practilcally unlimited space to save e-mail) as well as a mean to collect mail I receive on other accounts into one unified storage. Furthermore I want a better way to handle mail than common e-mail clients like AppleMail, Thunderbird or Eudora offers - currently I am looking into Zoë (Google you e-mail) and Mulberry (the superior, with a good margin, IMAP-client)
I will do this step by step and update this document as I progress:
- Install Courier-IMAP
- Arrange a simple ugly setup to fetch and filter mail
- Make Courier use (x)inetd
- Setup a stable mail fetching function, probably with fetchmail or something similar
- Install server side filtering (sieve)
- Install server side anti-spam means
- Setup an LDAP-server that cooperates with the Address Book in Mac OS X, the server side anti-spam functionality and the e-mail clients built in address books.
- Enable SSL-support.
Courier (lankoski) Mac Os Download
Purposes
- »Unlimited» space on an IMAP-server
- Robust server side filtering
- Tight integration between MUA:s, address books and IMAP-server
- Improved (faster and cheaper) e-mailhandling when you are on using a mobile setup (in my case I frequently use slow and expensive GPRS-connections when I am abroad). With this setup you can user server side filtering of mail and when you are on the road you just setup your MUA to ignore less important mailboxes.
- Install DarwinPorts
- Note how you got a new Startup Item in
/Library/StartupItems
- Use DarwinPorts to install courier
port install courier-imap
- Now you have a lot of courier-stuff in your
/opt/local
. The following are of interest:- in /opt/local/bin/
- imapd
- maildirmake
- in /opt/local/etc/courier-imap/
- imapd
- in /opt/local/libexec/
- imapd.rc
Before we begin to dissect these we first have to understand something else:
DarwinPorts StartupItem
The DarwinPorts StartupItem basically runs all items in (typically) /opt/local/etc/rc.d/ with the verb start
. With that in mind we can look into the start up procedure of Courier-IMAP and its startup scripts:
imapd-sh/imapd-ssl.sh
When you install Courier-IMAP the following script are stored in /opt/local/etc/rc.d/ and are therefore executed(with the verb start) when the computer boots:
- imapd-ssl.sh
- imapd.sh
These scripts are quite similar, they source
/opt/local/etc/courier-imap/imapd
(and imapd
-ssl) and then execute /opt/local/libexec/imapd.rc start (imapd-ssl.rc)
. Now that we know this we can go back to the files of interest mentioned above. We begin with last of the two files the start scripts uses, the run command files:
imapd.rc/imapd-ssl.rc
These run command files set up some environment variables and then launches the executable with a few switches.
imapd/imapd-ssl in /opt/local/etc/courier-imap/
These are the setting files for Courier-IMAP. They are fairly well documented/commented. I made a few changes:
ADDRESS
I changed its value from 0 to 127.0.0.1. This way you can have a secure setup without having to mess with the SSL-setup1 at the moment since you only allow connections from localhost which forces clients to tunnel their traffic to the machine where Courier-IMAP is running, e.g., by SSH. If the tunnel is setup as it should then this method is perfectly safe.
IMAP_EMPTYTRASH=Trash:7
I commented this setting to make the server behave more like regular MUA:s, i.e., not deleting messages in the trash automatically.
Note that these configration files have the same names as the executables in /opt/local/bin/.
imapd in /opt/local/bin/
This is the actual IMAP-server executable. You can, but I advise against it, start this directly from the command line. It has an extensive man-page.
maildirmake
You have to run this for each user before they can log in. I have only tried to log in with Mozilla Thunderbird without first running maildirmake for a certain user and at least Thunderbird gives an error message indicating, incorrectly, that your password is erroneous if you don't do this. Simply cd to each user's home directory and run maildirmake Maildir
and it will create a directory called Maildir
with three sudirectories, cur
, new
and tmp
.
You can give another name as argument to maildirmake but then, in my experience, you can not login. It seems as Courier-IMAP has hard coded the name of the mail directory because I can not find any setting for it either. If you know anything about this, please let me know.
Start the server [an error occurred while processing this directive]
If you reboot the server will start automatically but easier is just to runt the startup script in /opt/local/etc/rc.d/. Since we , for the moment, re happy with just using the plain text imapd simply start the server from the command line:
/opt/local/etc/rc.d/imapd.sh start
If you take a look with top you will notice a few new processes, e.g., imapd, courierlog, couriertcp, authdemon and maybe a few more. You can verify that the server is running with
Courier (lankoski) Mac Os X
telnet localhost 127.0.0.1 143
You should see something like this:
telnet localhost 143
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information.
You can also make sure that you are secure by logging into another computer and try to telnet from that computer to your IMAP-server on port 143.
Now create a new account in your MUA and set it up for your new IMAP-server and play around (try to transfer som junk mail from already existing accounts/mailboxes to your new IMAP-server, create a few folders on the server etc).
This is a very simple step that you probably don't need to have documented if you have gone this but anyway...
This is how I did it: create a filter with the highest/first priority in your regular MUA. Make that filter transfer a copy (it is important that it is a copy or elsewise you might lose mail if the setup proves to be unstable or unreliable) of every received mail to some folder on your IMAP-server.
Footnotes
- adjust the values in /opt/local/etc/courier-imap/imapd.cnf to match your name, location etc.
- run /opt/local/sbin/mkimapdcert as root. It does not take any arguments. This will generate a certificate that works for IMAP and is stored in /opt/local/share/courier/imapd.pem
Note that the ssl-version won't start without this certifcate. Also note that you can run SSL and clear text versions of courier-imap in parallell.
According to a WhoIs and trace route search, that address does indeed belong to Apple, Inc. There are a lot of mail exchange links associated with it. You probably have Mail set to grab push data, which it will do rather continuously throughout the day.
Courier (lankoski) Mac Os Catalina
In their punny humor, one of the returns gave this 'Star Wars' line:
This is not the nameserver you are looking for.
Courier (lankoski) Mac Os 11
Funny guys. 🙂 Anyway, find and deselect any options for push content.
Push content can also come from Safari, or other web browser. In Safari, go to the preferences and click on the RSS tab. Change Check for Updates to Never.Click the Remove Now button to remove reams of garbage that is on your hard drive if RSS was on.
Nov 23, 2012 7:26 AM