Space Courier 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)

  1. Free Up Space Mac Os
  2. Space Courier Mac Os Catalina
  3. Space Courier Mac Os X
  4. Mac Os Desktop Spaces

Check the Space Used by the Mac Mail App? Beachhead 2020 mac os. To access Mail app folder you need to hold Option key after tapping on the finder Go menu. Once you see the Mail folder, right click on that and then tap on Get Info. Here you can see the size and space used by the Mail app. ”Parallels Desktop is the easiest, fastest, and most tightly integrated app for running Windows apps or the Windows desktop in Apple OS X.”Edward Mendelson, PCMag.com “The latest version of Parallels, the popular Windows virtualization tool for Mac OS X, almost feels like its trolling Apple.”Engadget.

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. Slotland casino no deposit bonus codes 2018. 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:

  1. Install Courier-IMAP
  2. Arrange a simple ugly setup to fetch and filter mail
  3. Make Courier use (x)inetd
  4. Setup a stable mail fetching function, probably with fetchmail or something similar
  5. Install server side filtering (sieve)
  6. Install server side anti-spam means
  7. 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.
  8. Enable SSL-support.

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.
  1. Install DarwinPorts
  2. Note how you got a new Startup Item in /Library/StartupItems
  3. Use DarwinPorts to install courier
    port install courier-imap
  4. 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:

Space courier mac os catalina

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

Free Up Space Mac Os

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

Space courier mac os download

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. Polygon wars mac os. 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

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).

Space Courier Mac Os Catalina

This is a very simple step that you probably don't need to have documented if you have gone this but anyway..

Space Courier Mac Os X

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.

Mac Os Desktop Spaces

Dark train (itch) mac os. Footnotes

  1. adjust the values in /opt/local/etc/courier-imap/imapd.cnf to match your name, location etc.
  2. 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.