imapproxyd set up

n dhert ndhertbsd at
Thu Sep 16 14:35:59 UTC 2010

A user asked to set up IMAP proxy server
I installed it from the ports, then
# cp /usr/local/etc/imapproxyd.conf.sample /usr/local/etc/imapproxyd.conf
# vi /usr/local/etc/imapproxyd.conf
and changed server_hostname ...  to contain my imap server
and listen_port 143  to listen_port 993 (it's an SSL imap server)
and server_port 143 to server_port 993
Then added in /etc/rc.conf

# /usr/local/etc/rc.d/imapproxyd start
which responds
Starting imapproxyd.
/usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd
For a short time, a
# ps -jaxw | grep imap     showed:
root       62092 57397 62092 64240    1 I+     1    0:00.02 /bin/sh
/usr/local/etc/rc.d/imapproxyd start
root       62098 62092 62092 64240    1 S+     1    0:00.01

Am I doing something wrong here?
the file /var/log/imapproxy_protocol.log is empty
/var/log/maillog says    Connection to server failed

or could this be a firewall protecting the imap server??

More information about the freebsd-questions mailing list