>> I currently want to set IP restrictions for POP3 access. >> For example: >> user1 can only POP access from IP1 >> user2 can only POP access from IP2 >> ..... >> >> Is there a way to do this in dbmail? > > Yes if you're on IPv4. Take a look at README.usermap.
Thank you. I'm on IPv4. I read some old archive like http://old.nabble.com/Restricting-Access-tp7809620p7809623.html http://old.nabble.com/client-ip-tp7803230p7803231.html http://old.nabble.com/multiple-dbmail-server-setup-tp7804035p7804037.html And I tried to understand README.usermap. I just thought the usermap table is used for mapping users or IP based virtual hosting. As I understand, dbmail will deny all connections to socket which matches sock_deny field in usermap. Otherwise, it will return result base on the best score while checking sock_allow. It means we can only set the socket which client (pop client) will use to connect to. And it is server's IP address (inet:serverIP:port) where dbmail is running. But I want to restrict the pop client's IP address. I mean, dbmail will deny all except connections from some IPs. My situation is: There are 2 domains in dbmail. 1. Users of domain1 can check their mails using POP3 from anywhere. 2. Users of domain2 can only check their mails at their office which has a static IP. (They cannot get mails when they come home) _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
