From owner-freebsd-stable@FreeBSD.ORG Fri May 4 22:15:08 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 976941065678 for ; Fri, 4 May 2012 22:15:08 +0000 (UTC) (envelope-from efraindector@motumweb.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB9B8FC22 for ; Fri, 4 May 2012 22:15:08 +0000 (UTC) Received: by obcni5 with SMTP id ni5so5835496obc.13 for ; Fri, 04 May 2012 15:15:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:from:to:references:in-reply-to:subject:date:organization :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:importance:x-mailer:x-mimeole:x-gm-message-state; bh=XHNaO+gXPGkW2RQX21ZW6SVPUZKe+ZQyRFo6MOuACsA=; b=VoNZkCgll0oX1mndtkoNNhTSiwnaF7miC7GMRnmosjwJFLvPTmT1r3HsqsExvNXRZC d8heN6/cp0GaQZRpiSZO0d+V4lVyF/mq94jeccdlu9eIEx20ftdAuCwb1HjGy6syK/gX 2T7+S521YfEV9f9r3dnhA/xVQUYfnYLmpPg+GHN51AMRzrSDq7bbk9ozs2uNuOs9ew2a cepBJpvtsN86sLDDedLugK+wE1OB6jh/2raS7k+uIJo3QpFJ9B+mZOH9T57JCarEqVa5 PxFkoX3Akoh+A3+QQCNCWW/WDlk8QKWiN5KYZ98nLlXKU17f7C4a1uvx1+1BYakRSsSd kyyw== Received: by 10.182.187.42 with SMTP id fp10mr1181170obc.30.1336169707586; Fri, 04 May 2012 15:15:07 -0700 (PDT) Received: from CMOTUM25PC ([189.130.119.176]) by mx.google.com with ESMTPS id v5sm10346882obl.11.2012.05.04.15.15.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 May 2012 15:15:06 -0700 (PDT) Message-ID: From: =?UTF-8?Q?Efra=C3=ADn_D=C3=A9ctor?= To: References: <20120504050505.GA3940@DataIX.net> <20120504050746.GB3940@DataIX.net> <714B9C65D2454FBFB6677D6AAA74A8AC@CMOTUM25PC> In-Reply-To: <714B9C65D2454FBFB6677D6AAA74A8AC@CMOTUM25PC> Date: Fri, 4 May 2012 17:14:50 -0500 Organization: =?UTF-8?Q?HESA_T=C3=A9cnica?= MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-Gm-Message-State: ALoCoQkxpOjyvVK1VsUwa9Gpxekl3O7j/V3At2PR6FSoWFXNYM26CJXID2vEY2eD8m2ek+OYOXpL 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 22:15:08 -0000 Hello. Silly me didn't tought about doing a service sendmail onerestart before sending this email. Executing that command solved my problem. Thank you. -----Mensaje original----- From: Efraín Déctor Sent: Friday, May 04, 2012 5:13 PM To: Jason Hellenthal Subject: Re: User root can't get email Hello. Silly me didn't tought about doing a service sendmail onerestart before sending this email. Executing that command solved my problem. Thank you. -----Mensaje original----- From: Jason Hellenthal Sent: Friday, May 04, 2012 12:07 AM To: Efraín Déctor Cc: freebsd-stable@freebsd.org Subject: Re: User root can't get email 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))