[Postfix espanol] PATCH: Postfix >= 20020610 loops on malformed address

Wietse Venema wietse en porcupine.org
Dom Jul 14 02:48:37 CEST 2002


Postfix experimental release postfix-1.1.11-20020610 introduced a
bug in the trivial-rewrite daemon, so that addresses consisting
solely of @ and . characters caused the Postfix address resolver
client to loop while logging a warning message every 10 seconds.

The patch below undoes the change that caused the problem.

	Wietse

*** ./src/trivial-rewrite/resolve.c-	Mon Jun 10 19:27:40 2002
--- ./src/trivial-rewrite/resolve.c	Sat Jul 13 20:31:42 2002
***************
*** 193,199 ****
  	if (saved_domain) {
  	    tok822_sub_append(tree, saved_domain);
  	    saved_domain = 0;
! 	} else if (tree->head) {
  	    tok822_sub_append(tree, tok822_alloc('@', (char *) 0));
  	    tok822_sub_append(tree, tok822_scan(var_myhostname, (TOK822 **) 0));
  	}
--- 193,199 ----
  	if (saved_domain) {
  	    tok822_sub_append(tree, saved_domain);
  	    saved_domain = 0;
! 	} else {
  	    tok822_sub_append(tree, tok822_alloc('@', (char *) 0));
  	    tok822_sub_append(tree, tok822_scan(var_myhostname, (TOK822 **) 0));
  	}
-
Para ENVIAR mensajes a esta lista tienes que estar SUSCRITA a ella.
.
Envía la linea "unsubscribe postfix-espanol" en el cuerpo de un mensaje
a majordomo en WL0.org para quitarte de la lista.



Más información sobre la lista de distribución Postfix-es