[Dovecot] Help With 'No SASL Authentication Mechanisms' Error

2011-08-21 Thread research
Hi,

I'm trying to configure a new server with dovecot 2.0 and postfix 2.6.6. 
My previous servers have all been dovecot 1.x. Trying to port over my
previous configurations has been a real headache.

Currently, I'm getting the following errors when trying to connect with:
openssl s_client -starttls smtp -connect localhost:25

Aug 21 19:08:46 localhost postfix/smtpd[26252]: connect from localhost[::1]
Aug 21 19:08:46 localhost postfix/smtpd[26252]: warning: SASL: Connect to
private/auth failed: Permission denied
Aug 21 19:08:46 localhost postfix/smtpd[26252]: fatal: no SASL
authentication mechanisms
Aug 21 19:08:47 localhost postfix/master[26226]: warning: process
/usr/libexec/postfix/smtpd pid 26252 exit status 1
Aug 21 19:08:47 localhost postfix/master[26226]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling

If someone could help me out I'd really appreciate it.  My Dovecot and
Postfix configuration changes are below...

Thanks,

slevytam

---

DOVECOT:
# 2.0.beta6 (3156315704ef): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-71.29.1.el6.x86_64 x86_64 CentOS Linux release 6.0 (Final)
auth_debug = yes
auth_verbose = yes
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
passdb {
  args = username_format=%u /etc/dovecot/passwd
  driver = passwd-file
}
protocols = imap lmtp
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0600
user = postfix
  }
}
service imap-login {
  inet_listener imap {
port = 143
  }
  inet_listener imaps {
port = 993
ssl = yes
  }
}
ssl_cert = 

[Dovecot] migrating from specialized qpopper

2008-08-13 Thread Cruzio Research
I'm hoping to migrate to dovecot from qpopper, with the eventual goal of 
enabling IMAP.   However, my qpopper installation is fairly specialized, 
so I thought I'd ask here to see if anyone could get me headed down the 
best path.


Here's the situation.

I'm running FreeBSD and have a virtual domains setup with an extremely 
hacked LDA to do delivery to mailboxes within hashed directories under 
each virtual domain.  Each domain also has a separate password file.  
This is NOT any virtual domain setup that you'd be familiar with, as it 
is an in-house creation that is about 9 years old now.


I have 8000 users utilizing mailboxes on these domains, so having them 
reconfigure to use realms/domains in their login isn't really an option.


With qpopper, we run it from inetd and use hosts.allow to call each 
instance with special information about the password file location, etc, 
like this:


popper: ALL : twist (/pathto/bin/popper -d -s -T 300 -h %H -p 
/pathto/www.%H/passwd -x /pathto/www.%H/spool)


This allows us to insert the domain (%H) based on what hostname the user 
is connecting to and change parameters based on that.


Would their be any easy way to do this with dovecot?

Thanks in advance for your help.

Mark