Hi,

Bill Shupp has a patch to fix the problem.  Courier is send IPv6 instead of
IPv4, so the vipmap doesn't work.  I don't think it's in the archives
because I think he sent it directly to me.  I've included it below to make
sure it gets in this time.  (Thanks Bill!!!, hope you enjoyed that virtual
beer!)

Patches cleanly against 5.3.11 but I had to add it manually to 5.3.8

--- ../vpopmail-5.3.11/vpopmail.c       Wed Oct 23 13:01:40 2002
+++ vpopmail.c  Thu Oct 24 17:38:40 2002
@@ -1668,6 +1668,14 @@

  #ifdef IP_ALIAS_DOMAINS
    tmpstr = getenv("TCPLOCALIP");
+
+  /* courier-imap uses IPv6 */
+  if ( tmpstr != NULL &&  tmpstr[0] == ':') {
+    tmpstr +=2;
+    while(*tmpstr!=':') ++tmpstr;
+    ++tmpstr;
+  }
+
    memset(host,0,156);
    if ( vget_ip_map(tmpstr,host,156)==0 && !host_in_locals(host)){
      if ( strlen(host) > 0 ) {


Regards,

Rick

----- Original Message -----
From: "Andre Fortin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 10:27 AM
Subject: [vchkpw] IMAP + vipmap


Hi,

I have --enable-ip-alias-domains=y, and vipmap for a domain working fine via
pop3 using vchkpw.  I have courier-imapd running, and authvchkpw is being
used.  Should authvchkpw understand IP alias maps?

I've noticed this question has been asked before, but I don't see an answer
in the archives.. anyone have any more information?


-----------------
Andre Fortin, CCNA
Systems Administrator Technician
Persona Communications, Northern Division
500 Barrydowne Rd.
Sudbury, Ontario
[EMAIL PROTECTED]
Tel.: (705)560-1560 ext. 266





Reply via email to