Need help setting up qmail / binc imap on FreeBSD
Peter Risdon
peter at circlesquared.com
Wed Mar 16 07:43:21 PST 2005
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.
More information about the freebsd-questions
mailing list