From owner-freebsd-stable@FreeBSD.ORG Fri May 4 05:09:22 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5A1A106566B for ; Fri, 4 May 2012 05:09:22 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 565C58FC0C for ; Fri, 4 May 2012 05:09:22 +0000 (UTC) Received: by obcni5 with SMTP id ni5so4417544obc.13 for ; Thu, 03 May 2012 22:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to; bh=sWJiLUC8ggPcnvUhydb/NIcqiurzabuN5usa1UZyqxo=; b=OumfL4Ni+WNSjFTThsm0u1k2v2xd+MqvYBb02ilNgCZ817xSm4TJEY7tR2xb71b69V BntNbyKO8SUo6GMvlu7FS5o3y5SCp0gTJiy42fM8R0Jo5AoH6K42BF/PhidrIE98KXST O/sOlNPD6ve4xrx4lpO4+aECRuEBgRNtNOmO8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:x-gm-message-state; bh=sWJiLUC8ggPcnvUhydb/NIcqiurzabuN5usa1UZyqxo=; b=P1h8v+wuLbC4Yl2dQpBX0KiaK/lXiUkhmRZwCFjQYyx+A+htPBwPJZeGyjXwi9u0Cj 0T5ADxjmvDdfU2QXSIX7QzGj2prV/m6To7nKtb63fA4I1AIYDl3NvQ6hnPCmpwX/4HDj iFrZHDh70iIBbR06PiU/yTV97nIyanyFGcevHi4xYbFXWonFRowo4YJz64jeenx8Opks 0x/V0108RBkRtYxvdf4LVwYacWLOUiaUf59BjUxzwRLMYWQgGTuSRmFHYdmsFKZ96M32 dgU9p5D/1osk3CMpgteNHEeYd51NGPE3FUFPNU+nb5GOUvlrCh60H1pTuRmZH29yO7r4 qJlA== Received: by 10.50.89.200 with SMTP id bq8mr296817igb.12.1336108161584; Thu, 03 May 2012 22:09:21 -0700 (PDT) Received: from DataIX.net ([99.181.155.184]) by mx.google.com with ESMTPS id t3sm3924611igb.16.2012.05.03.22.09.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 May 2012 22:09:21 -0700 (PDT) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q4457k8K074800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 May 2012 01:07:47 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Received: (from jhellenthal@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q4457kFC073812; Fri, 4 May 2012 01:07:46 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Date: Fri, 4 May 2012 01:07:46 -0400 From: Jason Hellenthal To: =?iso-8859-1?Q?Efra=EDn_D=E9ctor?= Message-ID: <20120504050746.GB3940@DataIX.net> References: <20120504050505.GA3940@DataIX.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120504050505.GA3940@DataIX.net> X-Gm-Message-State: ALoCoQngRv5n0HAYD8hVZEOmiyX+ATut+FmE5/SKReRfubos5YcOxjwijAzYyvxxpdjR63/M03vn Cc: freebsd-stable@freebsd.org Subject: Re: User root can't get email X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 05:09:22 -0000 And possibly /etc/mtree/BSD.sendmail.dist On Fri, May 04, 2012 at 01:05:05AM -0400, Jason Hellenthal wrote: > > > On Thu, May 03, 2012 at 06:02:35PM -0500, Efraín Déctor wrote: > > Hello. > > > > I have a FreeBSD Server 8.2, the past few days I’ve noticed that the user root was not recieving email. I ran a test simply by using: > > > > mail root > > > > Then in /var/log/messsages I got this message: > > > > May 3 22:47:56 edh sendmail[74022]: q3RFM513074022: SYSERR(root): Cannot reopen ./dfq3RFM513074022: No such file or directory > > May 3 22:47:56 edh sendmail[74022]: q3RFM514074022: SYSERR(root): putbody: Cannot open ./dfq3RFM513074022 for MAILER-DAEMON from root: No such file or directory > > > > Im not using this server as a email server, but it is very important to me because I have some scripts running by cron that send the output by email to the user that is running them, in this case root. > > > > If you have recently been working on upgrading your system in any way I > would check the perms on all the directories in /var and possibly other > systems as can be advised in a upgrade procedure within the handbook. > > You may also attempt the following which may fix it but it comes with a > disclaimer and you should know how to fix it if it breaks. > > mtree -deU -f /etc/mtree/BSD.var.dist > > > Before doing the above, I would seriously ask myself... What did I do in > those last few days or week or so... and at least attempt to backtrack > to a conclusive result. > > > Good luck. > > -- > > - (2^(N-1)) -- - (2^(N-1))