Date: Fri, 4 May 2012 17:14:50 -0500 From: =?UTF-8?Q?Efra=C3=ADn_D=C3=A9ctor?= <efraindector@motumweb.com> To: <freebsd-stable@freebsd.org> Subject: Re: User root can't get email Message-ID: <E51F34035F664E67BA7FA3FF28C4E37B@CMOTUM25PC> In-Reply-To: <714B9C65D2454FBFB6677D6AAA74A8AC@CMOTUM25PC> References: <CA5E07D8EE3B4DF8B60EE828F3BEDD7C@CMOTUM25PC> <20120504050505.GA3940@DataIX.net> <20120504050746.GB3940@DataIX.net> <714B9C65D2454FBFB6677D6AAA74A8AC@CMOTUM25PC>
next in thread | previous in thread | raw e-mail | index | archive | help
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))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E51F34035F664E67BA7FA3FF28C4E37B>