I tried to follow the steps mentioned in the article, but it didn't work. The URL address ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/imap-2006e-sol10-sparc-local.gz is unavailable.
I tried to look up the IMAP package in the repository (Oracle Solaris 11 Package Repository). But when I typed "imap" into the search text box and hit the button, it showed me only the following packages, none of which seems to be what I am looking for.
How do I find and install the correct IMAP package for Solaris version 11?
Thanks in advance for your help,
There is no "correct" IMAP package for Solaris. You can always try OpenCSW Solaris packages and see if they have one or more. If not then you'll need to find the source code for one or more and either compile it yourself or have someone compile it for you.
As I previously stated. SMTP (Sendmail) already comes with Solaris and for the most part doesn't need any configuring so that's already done.
So the issue is the IMAP or POP3 part of the puzzle. These are two different methods of mail reading. In either case I don't know of any servers that come with Solaris so you need to install them on your own. You can use opencsw or you can find the source and compile it yourself or have someone else compile it for you. SunFreeWare used to be a great way to get stuff like this but they started charging after Sun cut them off for funding because Oracle bought Sun and didn't want to continue the arrangement, whatever it was. As for which one, whichever one you desire. I have no favorites in this space.
If you want to build "imapd" without SSL then try:
- pkg install developer/gcc-3 system/header developer/build/make
- zcat imap.tar.Z | tar xf -
- cd imap-2007f
- edit ./src/osdep/unix/scandir.c
if ((!dirp) || (fstat (dirp->dd_fd,&stb) < 0)) return -1;
if ((!dirp) || (fstat (dirp->d_fd,&stb) < 0)) return -1;
- make soc SSLTYPE=none PASSWDTYPE=pmb
- cp imapd/imapd /usr/local/sbin/imapd
- chmod o=rwx,g=rx,o=rx /usr/local/sbin/imapd
- chown root:bin /usr/local/sbin/imapd
- cat /tmp/inetd.conf
imap stream tcp nowait root /usr/local/sbin/imapd imapd
- inetconv -i /tmp/inetd.conf
- svcs \*imap\*
STATE STIME FMRI
online 17:29:36 svc:/network/imap/tcp:default
Hope that helps,