v22.computerking.ca > /usr/local/etc/bincimap/imap #svc -d /var/service/imap [Tue Jun 08] 02:48 AM [0] v22.computerking.ca > /usr/local/etc/bincimap/imap #telnet 127.0.0.1 143 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host
added the dashes like this to my run file but still get the same error --/usr/local/bin/checkpassword /usr/local/bin/recordio /usr/local/bin/bincimapd
What about recordio it seems to do nothing i guess it is not even running must be a script somewhere. What i do need is how to add several hostnames and ips to my imaps service so i can login both internally and externally.
The dashes after ssl must be equal to dashes before the authenticator??? ***** /usr/local/etc/bincimap/imaps
--logtype=multilog \ --conf=/usr/local/etc/bincimap/bincimap.conf --ssl -- \ /usr/local/bin/checkpassword \ /usr/local/bin/bincimapd
Andreas Aardal Hanssen wrote:
On Mon, 7 Jun 2004, RYAN vAN GINNEKEN wrote:
I did a make reinstall and a make reinstall on the port and now have
version 1.2.6 final did a svc -d and svc -u to restart the server and
still have the same problems. Got some stuff to take care of but will
be back soon to do some more experimenting. Also i my internal network
does not (ie Mozilla from 192.168.0.1) work when i set the the ip
address to my external ip 68.xx.xx.xx in the run file. Is there a way
to have more than one ip ideally one ip and one host name
computerking.ca and 192.168.0.202.
I suddenly realized - if this is what your run file looks like:
exec 2>&1
exec tcpserver -c 100 -u 0 -g 0 \ -l $(hostname) -HDRP \ 127.0.0.1 143 \ /usr/local/bin/bincimap-up \ --logtype=multilog \ --conf=/usr/local/etc/bincimap/bincimap.conf --allow-plain \ /usr/local/bin/checkpassword \ /usr/local/bin/recordio /usr/local/bin/bincimapd
Where is the double -- before checkpassword? If you look up the bincimap-up man page, you will see that this is a mandatory pair of dashes before the authenticator / checkpassword.
SYNOPSIS bincimap-up [ options... ] -- <authenticator> bincimapd [mailboxpath]
(...)
-- Marks the end of options to bincimap-up. After this comes the checkpassword compatible authentica� tor.
(...)
The following example shows how to invoke Binc IMAP using multilog, with an example /opt location for the conf file and using checkpassword as the authenticator. Notice that both the authentication stub and the authenticated daemon must both have command line arguments, and that the authenticator comes after '--'.
Considering this, I can't see why the server responds. After you do a 'svc -d' on the service, could you double-check with telnet to see if you get a connection refused error?
Andy :-)
-- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
