[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why syslog is not rotating?



On Tue, 5 Nov 2013, Dan Ritter wrote:

On Mon, Nov 04, 2013 at 06:18:42AM -0700, Paul E Condon wrote:

On 20131104_105718, Itay wrote:

root mail box has daily messages like this starting at june 2010
(yes, I know, bad me)

A lot has changed since I was skilled at Debian install, but I
remember that there was a way to automatically forward all emails
that are sent to root to some other mailbox, like your own user
mailbox. That way you would have become aware of your problem
back in june 2010. Whatever you do to fix logrotate problem, don't
forget to root mail forwarding to a place where you regularly
read your mail. Do this by adding a line to /etc/aliases (I think)

Yes. In /etc/aliases, make sure that there is a line like this:

root: debian@itayf.fastmail.fm

(use whatever address is desired.)

and then, as root:

# newaliases

Then send an email to root to check that mail is going where you
want it to go.

It seems that exim4 is not configured, on my machine, to deliver mail to external domains. I will have to read how to do it.

Thanks.

Itay


This method works for machines running exim (Debian default),
postfix, and sendmail. If you run something else, you are
expected to be able to figure it out from the documentation.

-dsr-





Reply to: