[Dovecot] allow_nets

CJ Teets phudgee at gmail.com
Sat Feb 28 16:33:32 EET 2009


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(bob at 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(boo at 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:

bob at mydomain.com::5000:5000::/home/vmail/
mydomain.com/:/bin/false::allow_nets=10.1.10.1

here is the corresponding line from the passwd file:

bob at 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?

Thanks!


More information about the dovecot mailing list