On Thu, Aug 03, 2006 at 06:23:36PM +0100, Mike Cardwell wrote: > There are a *large* amount of users on another mail system that I am > trying to migrate in at the moment, but they're used to using > usernames without the "@domain" bit. They're all in fact on the same > domain. > > I was hoping to provide a different ip address for these new users and > to allow them to continue using their same login details. I would get > the load balancers to forward imap connections to a different port on > the imap server cluster boxes, and then use the port the connection was > coming in on as part of the MySQL query in the courier config... ... > I could of course, set a default domain to be the > newcustomers.generic.domain, however I will be migrating accounts from > other mail systems in the near future and there are certain to be > username conflicts.
You can have different default domains depending on the IP address they connect to, which I think this is what you want. Do this by setting DEFDOMAIN using the couriertcpd -access and -accesslocal options. See man 1 couriertcpd; you can set these options in the TCPDOPTS setting. HTH, Brian. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
