Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2005 15:43:06 +0000
From:      Peter Risdon <peter@circlesquared.com>
To:        Madhusudan Singh <singh.madhusudan@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Need help setting up qmail / binc imap on FreeBSD
Message-ID:  <1110987786.882.161.camel@lorna.circlesquared.com>
In-Reply-To: <200503131211.25734.singh.madhusudan@gmail.com>
References:  <200503131211.25734.singh.madhusudan@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2005-03-13 at 12:11 -0500, Madhusudan Singh wrote:
> Hi
> 
>  I am trying to implement a qmail based mailserver with binc imap on FreeBSD
> 5.3-RELEASE using the instructions found on :

I don't use binc-imap, so was reluctant to answer. But nobody else has,
so:

> 
> 
> http://www.bsdguides.org/guides/freebsd/mailserver/qmail+vpopmail+qmailadmin.php
> 
>  I am using packet filter (pf) to setup the firewall. I have added the
> following rules to permit incoming traffic on ports 993 (imaps) and 465
> (smtps) :

I assume your firewall allows all connections from localhost. If so...
[...]
>  However, when I try to connect to the server using openssl :
> 
> /usr/local/ssl/bin/openssl s_client -connect <servername>:993 -crlf
> connect: Connection refused
> connect:errno=29

Maybe on the server itself try localhost for <servername> to eliminate
the firewall angle.

> 
>  I have generated a .pem file for SSL over binc imap and made the suggested
> additions to /usr/local/etc/bincimap/bincimap.conf.
> 
>  Upon consulting /var/log/qmail/current, I see a slew of messages like :
> 
>  @400000004233d471384eecb4 delivery 2: deferral:
> Unable_to_chdir_to_maildir._(#4.2.1)/
> @400000004233d4713850679c status: local 0/10 remote 0/20

So you have a permissions problem for qmail. Do you also have vpopmail
running? If so, you need very particular permissions for the
vpopmail/domains directories.

drwx------  5 vpopmail  vchkpw  512 Dec 14  2003 domains

Peter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1110987786.882.161.camel>