Niblett, David A wrote:
> So it's nice using DBMail so that just in one place do I have > to define the IP <-> suffix mapping. Agreed. > At this point like I said, I'm only working with 2.0.4, so I > think you have it under control for 2.1, I'm just going to keep > on my present course for people that want to stay with 2.0 but > would like virtual domains. Fine by me :-) > I'll try and take a look at 2.1 on my home box. Are your changes > in the CVS? Not yet. It still needs finishing, and I also want domain mappings in there which requires dynamic strings expansion: login | sock_allow | sock_deny | userid ------+------------------------+------------------+------------------- ANY | inet:10.1.1.1:143 | | [EMAIL PROTECTED] ANY | inet:10.1.1.2:143 | | [EMAIL PROTECTED] ANY | unix:/tmp/dm_imapd.sock| inet:0.0.0.0:143 | [EMAIL PROTECTED] userA | inet:10.1.1.3:110 | inet:0.0.0.0:143 | [EMAIL PROTECTED] userA | inet:10.1.1.4:110 | ANY | [EMAIL PROTECTED] where %s is of course replaced with the login. When that is done we'll have usermaps and domain maps all in one. The matching on the sock_allow and sock_deny columns is done using strncmp() for now. That still leaves room for future improvement by using cidr matching on the IP adressessing. -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl
