On Friday, November 1, 2002, at 05:54  AM, Andre Fortin wrote:

I'm still having a hard time with this..

courier imap has been recompiled, and so has vpopmail. I need to be able to
use vipmap'd domains with both POP3 and IMAP. The POP3 sessions work fine;
The problem is the imap sessions still use the --enable-default-domain
domain instead of the one specified using vipmap
and --enable-ip-alias-domains .. I've tried using Bill Shupp's patch but it
didnt change anything.. Perhaps I'm missing something that was implied but
not said?
The only problem was the IP format, and it's in the host_in_locals() function in the vpopmail library. My patch fixes it, as tested by Rick and myself. One thing you might try, for testing, is to use MySQL auth and turn on logging in MySQL. This way, you can see the query going to the database. That's how I was able to see what IP was being used in the query of the ip_alias_map table, like so:

96 Query select domain from ip_alias_map where ip_addr = ""

That should tell you exactly what's happening, and help you figure out the problem.


Bill Shupp

Reply via email to