Phil Anslemo
2007-Jan-15 19:43 UTC
[Dovecot] FreeBSD, Postfix, Cyrus SASL, Dovecot IMAP, SquirrelMail, Active Directory
Here's an update to my configuration. I'm able to use Cyrus SASL to enable SMTP AUTH in PostFix, validate user's mail addresses in Active Directory, and store mail in maildir on FreeBSD. I am currently able to authenticate AD users with Dovecot and LDAP, but I'm getting the following error in the log: Error: IMAP(user at domain): Ambiguous mail location setting, don't know what to do with it: user at domain (try prefixing it with mbox: or maildir:) Error: IMAP(user at doman): Failed to create storage data: user at domain. Error: child xxxxx (imap) returned error 89 I double-checked dovecot.conf, and the mail_location setting is "mail_location = maildir:/usr/data/vmail/%u". I'm not sure what could be happening, but I'm thinking this is the last thing I need to get my configuration to work. Your assistance is greatly appreciated. Thanks, uxphreak ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/
Timo Sirainen
2007-Jan-19 18:26 UTC
[Dovecot] FreeBSD, Postfix, Cyrus SASL, Dovecot IMAP, SquirrelMail, Active Directory
On Mon, 2007-01-15 at 11:43 -0800, Phil Anslemo wrote:> Here's an update to my configuration. I'm able to use Cyrus SASL to enable SMTP AUTH in PostFix, validate user's mail addresses in Active Directory, and store mail in maildir on FreeBSD. I am currently able to authenticate AD users with Dovecot and LDAP, but I'm getting the following error in the log: > > Error: IMAP(user at domain): Ambiguous mail location setting, don't know what to do with it: user at domain (try prefixing it with mbox: or maildir:) > Error: IMAP(user at doman): Failed to create storage data: user at domain. > Error: child xxxxx (imap) returned error 89 > > I double-checked dovecot.conf, and the mail_location setting is "mail_location = maildir:/usr/data/vmail/%u". > > I'm not sure what could be happening, but I'm thinking this is the last thing I need to get my configuration to work.If it's not mail_location, then your userdb is returning user at domain as "mail". So you user userdb ldap? Does your user_attrs contain something=mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070119/b2922c8f/attachment.bin>