Re: Connection refused when setting up cyrus-imapd

2003-09-12 Thread Brian Bobowski
On Thu, 11 Sep 2003 22:47:42 -0500
Micheal Patterson [EMAIL PROTECTED] wrote:
  However, when I run imtest and point it to my localhost, it immediately
 gives me the following response:
 
  connect: Connection refused
  failure: Network initialization
 
 Not being familiar with imap that well as my organizaiton prefers pop3, I'll
 assume that it hooks into wrappers. If so, you'll need an entry in the
 hosts.allow file to allow connections to the daemon. Check out your
 /var/log/messages to see if there's any rejected connections.
 

Nothing relevant in /var/log/messages when I try using imtest. If I try connecting to 
the server with my mail client, I get no reply(positive nor negative; Sylpheed is 
uninformative that way). However, it seems like sendmail's trying to to its work:

Sep 12 21:02:59 myhostname sm-mta[22959]: h8CBWwMc020830: SYSERR(root): Could not 
connect to socket /var/imap/socket/lmtp: Connection refused by localhost

There was a defaulted setting in /etc/hosts.allow about not allowing other daemons to 
accept connections - I think - but I removed that. Still not much happening, and 
imtest still doesn't work, either. sm-mta(different PID each time) is still getting 
that error.

imapd.log is empty.

Is it not enough in this case to restart inetd? Is there a way for me to reload those 
settings without restarting the whole system?

-BB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connection refused when setting up cyrus-imapd - SOLVED

2003-09-12 Thread Veritas
On Fri, 12 Sep 2003 21:35:20 -0400
Brian Bobowski [EMAIL PROTECTED] wrote:

 On Thu, 11 Sep 2003 22:47:42 -0500
 Micheal Patterson [EMAIL PROTECTED] wrote:
   However, when I run imtest and point it to my localhost, it immediately
  gives me the following response:
  
   connect: Connection refused
   failure: Network initialization
  
  Not being familiar with imap that well as my organizaiton prefers pop3, I'll
  assume that it hooks into wrappers. If so, you'll need an entry in the
  hosts.allow file to allow connections to the daemon. Check out your
  /var/log/messages to see if there's any rejected connections.
  
 
 Nothing relevant in /var/log/messages when I try using imtest. If I try connecting 
 to the server with my mail client, I get no reply(positive nor negative; Sylpheed is 
 uninformative that way). However, it seems like sendmail's trying to to its work:
 
 Sep 12 21:02:59 myhostname sm-mta[22959]: h8CBWwMc020830: SYSERR(root): Could not 
 connect to socket /var/imap/socket/lmtp: Connection refused by localhost
 
 There was a defaulted setting in /etc/hosts.allow about not allowing other daemons 
 to accept connections - I think - but I removed that. Still not much happening, and 
 imtest still doesn't work, either. sm-mta(different PID each time) is still getting 
 that error.
 
 imapd.log is empty.
 
 Is it not enough in this case to restart inetd? Is there a way for me to reload 
 those settings without restarting the whole system?
 
 -BB

Turns out the problem was in /usr/local/etc, where cyrus.conf was in the same format 
as imapd.conf. It wasn't being told which sockets to open. I copied cyrus.conf.dist 
over it, now I'm getting something else to work through. Hopefully I'll be able to 
progress on my own.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Connection refused when setting up cyrus-imapd

2003-09-11 Thread Brian Bobowski
I've been trying to set up cyrus-imapd-2.1.14 for a while now, and though I'm sure I'd 
got farther than this before, now I keep getting stuck.

I'm using FreeBSD 5.1. The port downloaded, compiled, and installed just fine, I 
customised imapd.conf and copied one of the sample files to cyrus.conf, made the 
appropriate directories, ran mkimap, put the appropriate entries in /etc/services, and 
followed the including directions for generating an OpenSSL certificate and key. For 
good measure, I sent a HUP signal to the inetd process, and then I ran 
/usr/local/cyrus/bin/master 

However, when I run imtest and point it to my localhost, it immediately gives me the 
following response:

connect: Connection refused
failure: Network initialization

Now, I know I'm a relative newbie to this business, and this particular situation has 
me completely mystified. At one point, I was able to connect but was having trouble 
with authentication. Now it seems like the imap(s) port just isn't there or something 
like that. I haven't yet installed any firewall software that I'm aware of - I was 
afraid to do so until I got the rest up and running.

Is there something I'm likely to have missed here?

On a related note, I noticed some discussion in the cyrus-imapd docs and config files 
about mbox versus Mailbox format. The latter seemed to be preferable, being able to 
rearrange with less worry; is there any way I can make it be the storage format?

-Brian Bobowski
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]