I have a similar solution but servers are in the same node. I don´t use 
courier-pop3 but I had the same problem with courier-imap. The problem was that 
if one server was down then it appeared a message that it seemed that password 
was incorrect

In $SRC/imap/imaplogin.c  I changed tihs:
if ((fd=connect_proxy(&pi)) < 0){
free(p);
return 100;
/** return -1; */
}

and at  line 384 this

if (rc == 100){
perror("ERR: PROXY ERROR");
writes("* BYE SERVIDOR IMAP NO DISPONIBLE TEMPORALMENTE \r\n");
writeflush();
exit(1);
}


Regards

---------------------------------------------------------------------
 
Carlos García Gómez
Sistemas de Información y Comunicaciones
Fundación Integra. http://www.f-integra.org
 
Teléfono: +34 968 355161
Fax:      +34 968 355131
Correo:   [email protected]
 
----------------------------------------------------------------------
 
Este mensaje y los posibles documentos adjuntos al mismo son confidenciales y 
dirigidos exclusivamente a los destinatarios de los mismos. Si por un error de 
transmisión, o equivocación en la dirección de envío, usted ha recibido este 
mensaje y no es el destinatario de la información, por favor, notifíqueselo
al remitente y borre este mensaje, sin usar, informar, distribuir, imprimir, 
copiar o difundir el mensaje, total o parcialmente, por ningún medio. Gracias.
  ----- Original Message ----- 
  From: varad gupta 
  To: [email protected] 
  Sent: Tuesday, May 05, 2009 9:11 AM
  Subject: [Courier-imap] Courier Proxy Help


  Dear All

  I have successfully configured a multiple server homogenoue proxy on 
courier-imap.

  The office is spread across three sites which are geographically distinct.

  What is bothering us is =>

  If the link between two sites gets broken (leased line), Client PCs running 
Ms Outlook/Outlook Express display (pop-up) the authentication dialog prompting 
users to enter incorrect passwords.

  Courier is using openLDAP for authentication . Each site has an openLDAP 
server which is synced with the Primary openLDAP server.
  openLDAP stores usernames, passwords, maildirs, physical imap server address 
for a mailbox, quota and other such things.

  What we require is =>
  Can we somehow tell courier pop3d to return an error message if the link is 
down in a manner such that the outlook authentication dialog window does not 
pop-up


  Thanks in anticipations,

  Regards


  Varad Gupta 



------------------------------------------------------------------------------


  ------------------------------------------------------------------------------
  The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
  production scanning environment may not be a perfect world - but thanks to
  Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
  Series Scanner you'll get full speed at 300 dpi even with all image 
  processing features enabled. http://p.sf.net/sfu/kodak-com


------------------------------------------------------------------------------


  _______________________________________________
  Courier-imap mailing list
  [email protected]
  Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to