Gordon Messmer wrote:
I still get 'Connection refused' -- even after a full reboot. Any
other ideas?
Is IMAPDSTART=YES in the imapd configuration file?
Yes, it's the last line. There are also these (among others):
...
Should I comment these last two, and add instead:
IMAP_CAPABILITY="$IMAP_CAPABILITY AUTH=PLAIN"
If your TLS settings are referencing "$IMAP_CAPABILITY", then that
setting is probably defined earlier in the file.
If it's configured to start (which it appears to be), I'd trace
execution of the rc script and check the listening ports afterward.
Start by running your rc script under "sh -x", like so:
/usr/local/libexec/imapd.rc stop
sh -x /usr/local/libexec/imapd.rc start > /tmp/imaprc.txt 2>&1
Then, as Malcolm suggested, check your ports. If you're using a GNU
system:
netstat -tlnp | grep courier
Finally, if you don't see :143 listed, check your logs for errors.
I'm not sure how large the script output is going to be, so you can
email it directly to me if you don't see :143 listed as an open port.
I guess I should mention that if I wind up reconfiguring IMAP to allow
non-TLS connections, then I need it to also allow TLS, because all the
users are setup with either 'use TLS if available' or 'force TLS'
I've established that Courier is not listening on 143. The question is:
How do I setup Courier to allow both 143 non-SSL/TLS (for imapcopy to
work), and 993 TLS so that my users aren't left high and dry as I move a
few people to another server.
Oh, and can anyone help me with imapsync config file? I can't seem to
make it happy. (If I exclude '-s' then it doesn't do anything.) Can it
sync these servers?
-------------------------------
$ mailsync -s -d -v -f .mailsync courier-imap
Only simulating
Listing store "courier-imap"
Opening {imap.mycompany.com/user=test/ssl/novalidate-cert/norsh} with
options 66
[Trying IP address [NON-IP]]
[Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See
COPYING for distribution information.]
Authorizing against {mail.mycompany.com/imap}
Items in store "courier-imap":
{imap.mycompany.com:993/imap/ssl/novalidate-cert/readonly/user="test"}<no_mailbox>{imap.mycompany.com}INBOX.Sent,
marked
Delimiter for store "courier-imap" is '.'
Using driver imap for store courier-imap
Sent
-------------------------------
$ cat .mailsync | grep -v ^#
store courier-imap {
server {imap.mycompany.com/user=test/ssl/novalidate-cert/norsh}
ref {imap.mycompany.com}
pat INBOX.*
prefix INBOX.
passwd secret
}
-------------------------------
Thanks all -- you sure are patient with me...
-Jaz
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users