On Sat, Aug 02, 2014 at 12:16:31AM -0500, Bruce Dubbs wrote:
> Ken Moffat wrote:
> >  I'm just updating my build scripts.  For years I have used a simple
> >script to do log rotation, so now I am going to try the logrotate
> >package.  Looking at the creation of /etc/logrotate.conf we have the
> >following:
> >
> ># Don't send mail to anybody
> >nomail
> >
> >  I read that comment as "logrotate should not send mail about its
> >operation to anybody", which is not necessarily what I want
> >(although I think I'm going to get a report from fcron).  But looking
> >at an online manpage, and the link to techrepublic.com, the command
> >appears to mean "Do not mail old logs (which are about to be deleted)
> >to anybody" and that is proobably what I want.
> >
> >  Am I right that the comment is misleading, or have I misunderstood
> >it ?
> 
> I'm not sure if the mail command is for mailing files before deleting or
> just a status of operation.  We don't generally go into the details of
> configuration files but instead give a fairly minimal config file that
> works.
> 
> The man page says it is used to send files.  See also the mailfirst and
> maillast directives.
> 
>   -- Bruce
> 
 I'm believing the man page (I have not even built the package),
which is why I would prefer the comment to say
# Don't mail logs to anybody

ĸen
-- 
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to