On 28.02.2009 15:33 CJ Teets wrote: > Hello, > > Im using Ubuntu 8.10 with Dovecot 1.0.10. > > I am using passwd files, not a MySQL database. > > I have 2 files, a "users" file, and a "passwd" file. > > I have added: > > allow_nets=10.1.10.1 to the end of a specific users entry in the users file. > > When that user tries to login, I get the following in the logs: > > dovecot: 2009-02-28 09:06:59 Error: IMAP(b...@mydomain.com): Ambiguous mail > location setting, don't know what to do with it: allow_nets=10.1.10.1 (try > prefixing it with mbox: or maildir:) > dovecot: 2009-02-28 09:06:59 Error: IMAP(b...@mydomain.com): Mail storage > creation failed with mail_location: allow_nets=10.1.10.1 > dovecot: 2009-02-28 09:06:59 Error: child 4174 (imap) returned error 89 > > here is the line from my users file: > > b...@mydomain.com::5000:5000::/home/vmail/ > mydomain.com/ > > here is the corresponding line from the passwd file: > > b...@oldschoolpunk.com:$1$evcHgrbC$BuyQRCspMzTpD8zkphxo0/ > > > My goal is, that I want to allow this user to check email ONLY from the IP > specified (i.e. 10.1.10.1) > > I just can't seem to get this working... > Am I going about something the wrong way?
You didn't read the end of http://wiki.dovecot.org/UserDatabase/ExtraFields Try ...:/bin/false::userdb_allow_nets=10.1.10.1 Regards, Pascal -- Ubuntu is an ancient African word meaning “I can’t install Debian.” -- unknown