Hi Larry H Please check the last post of > http://www.gossamer-threads.com/lists/dbmail/users/29658?search_string=usermap;#29658 I posted a patch to do pop restrictions.
When users login, after authentication, it will check the restriction table and deny if users is not allowed. It has a bug for network address whose subnet are not 0, 8, 16, 24, 32. Please use the IP only, or network with subnet is multiple of 8. I wrote for my current running system (~2100users with dbmail 2.2.13 ~300GB of postgresql). (Deployed already) And it's working well :) 2010/10/13 Larry H. <[email protected]>: > > Just out of curiosity is there anything in development to restrict which > subnet (ie. LAN) or ip address a user can check their mail from (source ip > address). I read the following post: > > http://www.gossamer-threads.com/lists/dbmail/users/29658?search_string=usermap;#29658 > > But I can't wrap my head around using iptables and the usermap table to do > something like the following: > > user1 can only check imap from LAN > user2 can check imap from anywhere > > Is this a feature that already exist maybe in 2.3 ? > -- > View this message in context: > http://old.nabble.com/Imap-or-POP3-restrictions-tp29947980p29947980.html > Sent from the dbmail users mailing list archive at Nabble.com. > > _______________________________________________ > DBmail mailing list > [email protected] > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail > -- Hoang Nam _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
