> I've confirmed that Postfix is providing the correct RCPT TO to lmtpd, yet 
> mail is
> still arriving in the incorrect mailbox.  Browsing through the imapd.conf 
> manpage,
> I found there are options in there for LDAP configuration which I hadn't 
> noticed
> before (after all, everything's worked correctly for the past few months!)  
> So I'm
> wondering if lmtpd, without LDAP info in imapd.conf, will just "pick" a 
> mailbox to
> deliver to if it doesn't know what "[EMAIL PROTECTED]" is.  Could this be why 
> some
> main is randomly [?] delivered incorrectly?

More findings: enabling the ldap settings in imapd.conf has no effect 
whatsoever,
lmtpd seems to just ignore them.

So the issue is that it gets one thing on RCPT to and picks some other user's
mailbox to drop the mail into.  No virtual domains.  Mail is usually delivered
correctly as far as I know, but for some users it's really bad, almost none of
their mail is correct.  Gah!

How does lmtpd determine the recipient?  Just split off %u before the 
@domain.com
and find the mailbox?

Configs:

/etc/saslauthd.conf:
ldap_servers: ldap://ldap.ivytech.edu
ldap_search_base: ou=People,dc=ivytech,dc=edu
ldap_auth_method: bind
ldap_port: 389
ldap_version: 3
ldap_verbose: on
ldap_debug: 10
ldap_filter: (&(uid=%u)(o=Mail))

/etc/imapd.conf:
configdirectory: /var/imap
partition-default: /var/imap/store
sasl_pwcheck_method: saslauthd
sasl_passwd_check: saslauthd
sasl_mech_list: PLAIN
singleinstancestore: 1
duplicatesuppression: 0
admins: cyrus
allowanonymouslogin: no
lmtp_downcase_rcpt: true
berkeley_cachesize: 10240
duplicate_db: skiplist
quota_db: skiplist
mboxlist_db: skiplist
seenstate_db: skiplist
quotawarn: 90
lmtp_over_quota_perm_failure: 1
autocreatequota: 15360
autocreateinboxfolders: Sent|Drafts|Trash
autosubscribeinboxfolders: Sent|Drafts|Trash
autosubscribesharedfolders: user.PublicFolders | user.PublicFolders.SPAM Can |
user.PublicFolders.Ham Bone
fulldirhash: 1
hashimapspool: 1
mailnotifier: mailto
notifysocket: /var/imap/socket/notify
sievenotifier: mailto
sievedir: /var/imap/sieve





-- 
John Madden
UNIX Systems Engineer
Ivy Tech Community College of Indiana
[EMAIL PROTECTED]

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to