[Postfixbuch-users] amavisd-new-2.7.0-pre4: amavisd-milter failed + patch

Andreas Schulze andreas.schulze at datev.de
Mo Apr 26 14:42:48 CEST 2010


Am 25.04.2010 04:24 schrieb Mark Martinec:
> A pre-release of amavisd-new-2.7.0 is available at:
>  http://www.ijs.si/software/amavisd/amavisd-new-2.7.0-pre4.tar.gz
> ...
> Testing and feedback is welcome

Hello,

amavisd-milter failed with amavisd-new-2.7 new introduded response "log_id"

Apr 26 15:03:51 amavis11 amavisd-milter[2378]: DCA19479BA: version_server=2
Apr 26 15:03:51 amavis11 amavisd-milter[2378]: DCA19479BA: unknown amavisd response log_id=02393
Apr 26 15:03:51 amavis11 amavisd-milter[2378]: DCA19479BA: close amavisd communication socket

I wrote a small patch for amavisd-milter-1.4.1 to correct this malfunction.

-- 
Andreas Schulze
Internetdienste | P532

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen

-------------- nächster Teil --------------
Index: dv-amavisd-milter-1.4.1/amavisd-milter/mlfi.c
===================================================================
--- dv-amavisd-milter-1.4.1.orig/amavisd-milter/mlfi.c	2010-04-26 14:22:53.000000000 +0200
+++ dv-amavisd-milter-1.4.1/amavisd-milter/mlfi.c	2010-04-26 14:33:38.000000000 +0200
@@ -1467,6 +1467,10 @@
 	    /* ignore legacy exit_code */
 	    logqidmsg(mlfi, LOG_DEBUG, "%s=%s", name, value);
 
+	/* Amavisd-new 2.7 intrduced log_id */
+	} else if (strcmp(name, "log_id") == 0) {
+	    logqidmsg(mlfi, LOG_NOTICE, "%s=%s", name, value);
+
 	/* Unknown response */
 	} else {
 	    logqidmsg(mlfi, LOG_ERR, "unknown amavisd response %s=%s",


Mehr Informationen über die Mailingliste Postfixbuch-users