From owner-freebsd-questions@FreeBSD.ORG Thu Jul 2 15:53:05 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 6191A1065673 for ; Thu, 2 Jul 2009 15:53:05 +0000 (UTC) (envelope-from alex@acatysmoof.com) Received: from gouda.acatysmoof.com (acatysmoof.com [24.205.141.134]) by mx1.freebsd.org (Postfix) with ESMTP id 59F1C8FC14 for ; Thu, 2 Jul 2009 15:53:04 +0000 (UTC) (envelope-from alex@acatysmoof.com) Received: from acatysmoof.com (localhost [127.0.0.1]) by gouda.acatysmoof.com (8.14.2/8.14.2) with ESMTP id n62FXfL1057499 for ; Thu, 2 Jul 2009 08:33:41 -0700 (PDT) (envelope-from alex@acatysmoof.com) From: "Alex Teslik" To: "List freebsd-questions" Date: Thu, 2 Jul 2009 08:33:41 -0700 Message-Id: <20090702143840.M99932@acatysmoof.com> X-Mailer: OpenWebMail 2.53 20090630 382 X-OriginatingIP: 192.168.4.189 (alex) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: intermittent failures with sendmail 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: Thu, 02 Jul 2009 15:53:05 -0000 I have sendmail 8.14.2 running on freebsd 7.0: [gouda:root]/var/spool/mqueue# sendmail -d0 < /dev/null Version 8.14.2 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = gouda (canonical domain name) $j = gouda.acatysmoof.com (subdomain name) $m = acatysmoof.com (node name) $k = gouda.acatysmoof.com ======================================================== [gouda:root]/var/spool/mqueue# uname -a FreeBSD gouda.acatysmoof.com 7.0-STABLE-200806 FreeBSD 7.0-STABLE-200806 #0: Mon Jun 30 03:43:40 PDT 2008 alex@XXXXXXX.com:/usr/obj/usr/src/sys/CORE2-STABLE-7 i386 mails sent out to the internet are intermittently causing these error reports in the daily run output: n5UNkYTo069809 23878 Tue Jun 30 16:46 (reply: read error from mail.OOOOOO.net.) n5ULKB0i064252* 7028205 Tue Jun 30 14:20 8BITMIME (timeout writing message to c.mx.mail.yahoo.com.: Broken pipe) n5TM36Jn012370 420 Mon Jun 29 15:03 The yahoo one is particularly puzzling. Most mails make it, but some fail. I can't figure out why. The recipient is valid and they have plenty of space in their account. Sometimes mail to them works with no problem. I checked the sendmail logs and found: Jul 2 03:35:16 gouda sm-mta[40342]: n5ULKB0i064252: SYSERR(root): timeout writing message to b.mx.mail.yahoo.com.: Broken pipe Jul 2 04:23:01 gouda sm-mta[47860]: n5ULKB0i064252: SYSERR(root): timeout writing message to e.mx.mail.yahoo.com.: Broken pipe Jul 2 07:03:05 gouda sm-mta[53788]: n5ULKB0i064252: SYSERR(root): timeout writing message to d.mx.mail.yahoo.com.: Broken pipe I thought it might be an MTU problem: http://anthony.zerosandones.co.uk/?q=node/451 I set my MTU to 1300, but that hasn't helped. [gouda:root]/home/alex/acatysmoof.com/services# ifconfig -a em0: flags=8843 metric 0 mtu 1300 options=19b ether 00:1c:c0:36:85:62 inet 24.205.141.134 netmask 0xfffffffc broadcast 24.205.141.135 media: Ethernet autoselect (100baseTX ) status: active DNS is working fine everywhere, so I don't think thats it. PTR is fine, reverse lookups work fine. I've googled my brains out. Does anyone have any ideas? Thanks, Alex