imap-2004a
downlaod from ftp://ftp.cac.washington.edu/mail/
ed src/osdep/unix/env_unix.c
32c
static char *mailsubdir = ".mail"; /* mail subdirectory name */
.
wq
make osx
cp ipopd/ipop3d imapd/imapd /usr/local/libexec/
cp /etc/pam.d/chkpasswd /etc/pam.d/imap
cat > /etc/xinetd.d/imaps
service imaps
{
disable = no
socket_type = stream
wait = no
user = root
groups = yes
server = /usr/local/libexec/imapd
flags = NOLIBWRAP
only_from = localhost
log_on_success += DURATION USERID
log_on_failure += USERID
}
cat > /etc/xinetd.d/pop3s
service pop3s
{
disable = no
socket_type = stream
wait = no
user = root
groups = yes
server = /usr/local/libexec/ipop3d
flags = NOLIBWRAP
only_from = localhost
log_on_success += DURATION USERID
log_on_failure += USERID
}
cat > services
imaps 993/tcp
pop3s 995/tcp
niload services . < services
mkdir -p /usr/local/imap-2004/include /usr/local/imap-2004/lib
cp src/c-client/*.h /usr/local/imap-2004/include/
cp src/c-client/*.c /usr/local/imap-2004/lib/
cp c-client/linkage.h /usr/local/imap-2004/include/
cp c-client/c-client.a /usr/local/imap-2004/lib/libc-client.a
cp src/osdep/unix/os_osx.h /usr/local/imap-2004/include/osdep.h
cp src/osdep/unix/os_osx.c /usr/local/imap-2004/lib/osdep.c
cp src/osdep/unix/env_unix.h /usr/local/imap-2004/include/
cp src/osdep/unix/env_unix.c /usr/local/imap-2004/lib/
chmod 644 /usr/local/imap-2004/include/*.h /usr/local/imap-2004/lib/*.c
ranlib /usr/local/imap-2004/lib/libc-client.a
pine (4.61)
download from ftp://ftp.cac.washington.edu/pine/
./build osx
cp bin/pine bin/pilot bin/pico /usr/local/bin/
cat > /usr/local/lib/pine.conf.fixed
mail-directory = .mail
|