From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 11:50:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D084B1065676 for ; Fri, 11 Sep 2009 11:50:57 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 5207D8FC12 for ; Fri, 11 Sep 2009 11:50:56 +0000 (UTC) Received: by bwz2 with SMTP id 2so680547bwz.43 for ; Fri, 11 Sep 2009 04:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=ab/OJiXXR3vzVKlNlkyirpAfjYj4T12/rbZmFoBFgso=; b=EY9mratQ3HSn+U94Y5TSeM2+ni3CTGivGavspg4auwpv8Zifoi79+ouPKJRJLDxDYd OY/clfoI67qkJQRkJCGad0jP+meX+4PC8YxvWdEGvJZ+MCPStl1PX8BRiK/N8basI1PM N4pONt1LoUI+Id3tSJtrA/BqocN3BE6acPdck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=K5cGk/y1DCOTqpFU2u2WB4nHau4PqCRMXGJWx4K/MncBoyo2onUIRpuJ2cGLCPmDaP wZi0qEkEM5WmMBLyx/So9MMC/RBpXO+GEX4QWDEZPc72oBzKU+g+KqU0ZRaUTOb3ivqV Q1JTshuEKDISl3v/refE5Gx0QrM9m7pzpHwYo= Received: by 10.204.23.11 with SMTP id p11mr1966443bkb.29.1252668617545; Fri, 11 Sep 2009 04:30:17 -0700 (PDT) Received: from ?192.168.1.253? ([81.196.94.69]) by mx.google.com with ESMTPS id f31sm4043778fkf.38.2009.09.11.04.30.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Sep 2009 04:30:17 -0700 (PDT) Message-ID: <4AAA34CE.9060104@gmail.com> Date: Fri, 11 Sep 2009 14:30:22 +0300 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: amavisd-new "status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once)" in maillog issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 11:50:57 -0000 Hello list, I have a strange behaviour from my postfix config using amavisd-new with clamav. I have 4 messages in queue all deffered with the same problem: lost connection with 127.0.0.1. This is what i get from amavisd with log_level=5 in debug.log: *snip* Sep 11 14:15:47 mail amavis[46602]: (46602-01) run_command: [47011] /usr/local/bin/file p001 p002 p003 &1 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd0 closing, to become < /dev/null Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd1 closing, to become > &=15 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd1 dup2 from fd15 > &=15 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: source fd15 closed Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd2 closing, to become > &1 Sep 11 14:15:47 mail amavis[47011]: (46602-01) open_on_specific_fd: target fd2 dup2 from fd1 > &1 Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): p001: ASCII news text\n Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("ASCII news text") matches key "(?i-xsm:^(ASCII|text)\b)", result="asc" Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup [map_full_type_to_short_type] => true, "ASCII news text" matches, result="asc", matching_key="(?i-xsm:^(ASCII|text)\\b)" Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p001: ASCII news text; (asc) Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): p002: Microsoft Office Document Microsoft Word Document\n Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft Office Document Microsoft Word Document") matches key "(?i-xsm:^Microsoft Office Document\b)", result="doc" Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup [map_full_type_to_short_type] => true, "Microsoft Office Document Microsoft Word Document" matches, result="doc", matching_key="(?i-xsm:^Microsoft Office Document\\b)" Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p002: Microsoft Office Document Microsoft Word Document; (doc) Sep 11 14:15:47 mail amavis[46602]: (46602-01) result line from file(1): p003: Microsoft Office Document Microsoft Word Document\n Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup_re("Microsoft Office Document Microsoft Word Document") matches key "(?i-xsm:^Microsoft Office Document\b)", result="doc" Sep 11 14:15:47 mail amavis[46602]: (46602-01) lookup [map_full_type_to_short_type] => true, "Microsoft Office Document Microsoft Word Document" matches, result="doc", matching_key="(?i-xsm:^Microsoft Office Document\\b)" Sep 11 14:15:47 mail amavis[46602]: (46602-01) File-type of p003: Microsoft Office Document Microsoft Word Document; (doc) Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Decoding part p001 Sep 11 14:15:47 mail amavis[46602]: (46602-01) do_ascii: Setting sigaction handler, was 0 Sep 11 14:15:47 mail amavis[46602]: (46602-01) timer set to 320 s (was 480 s) Sep 11 14:15:47 mail amavis[46593]: Net::Server: Starting "1" children Sep 11 14:15:47 mail amavis[47012]: Net::Server: Child Preforked (47012) Sep 11 14:15:47 mail amavis[47012]: entered child_init_hook Sep 11 14:15:47 mail amavis[47012]: SpamControl: init_child on SpamAssassin done And at ~ the same time i get: pid 46602 (perl), uid 106: exited on signal 11. Don't know what to do with those 4 messages and why they are stuck in queue. I've tried sendig other messages and they get delivered ok. If someone can elighten me pls do so. Thank you.