Hi! Again me with SuSE 9.3... I like to receive a system messages to the user as mail. On earlier versions this works but now i don't now how to configure. Mitja
On Sun, 2005-07-10 at 21:37 -0500, Mitja wrote:
Hi!
Again me with SuSE 9.3... I like to receive a system messages to the user as mail. On earlier versions this works but now i don't now how to configure.
Change the /etc/aliases file so that mail for root goes to you: root: YourUserName and then newaliases to rebuild the DB. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
Ken Schneider wrote:
On Sun, 2005-07-10 at 21:37 -0500, Mitja wrote:
Hi!
Again me with SuSE 9.3... I like to receive a system messages to the user as mail. On earlier versions this works but now i don't now how to configure.
Change the /etc/aliases file so that mail for root goes to you:
root: YourUserName and then newaliases to rebuild the DB.
Since I have the same problem, I checked my /etc/aliases. The alias to my user name was already there - but I still don't receive system mail... What could be the next step? solenoid
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2005-07-11 at 09:19 +0200, solenoid (lists) wrote:
Since I have the same problem, I checked my /etc/aliases. The alias to my user name was already there - but I still don't receive system mail... What could be the next step?
Same here: I receive some, not all. The packages installation mails were lost in nowhere. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFC0mUptTMYHG2NR9URAlG6AJ0U5ms2cxFpHlutrnM/7SOHEkPfLACfU6sZ imxpANM5NVP0uXUb+pPRXNc= =7wAT -----END PGP SIGNATURE-----
On Monday 11 July 2005 5:25 am, Carlos E. R. wrote:
The Monday 2005-07-11 at 09:19 +0200, solenoid (lists) wrote:
Since I have the same problem, I checked my /etc/aliases. The alias to my user name was already there - but I still don't receive system mail... What could be the next step?
Same here: I receive some, not all. The packages installation mails were lost in nowhere.
Yes, something is broken and has been for several releases now. It is not an alias issue, it's something in the YOU update script that no longer works. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
I've found that I need to create a .forward in root's home dir and enter the appropriate user's name in it. Also - you have run newaliases to update your aliases? postfix is generally quite reliable. If you are using logwatch, then I would also suggest you modify logwatch.conf in /etc/log.d/ to point to the user. Generally the .forward does the trick though. HTH, Angus On Mon, 2005-07-11 at 18:31 -0700, Scott Leighton wrote:
On Monday 11 July 2005 5:25 am, Carlos E. R. wrote:
The Monday 2005-07-11 at 09:19 +0200, solenoid (lists) wrote:
Since I have the same problem, I checked my /etc/aliases. The alias to my user name was already there - but I still don't receive system mail... What could be the next step?
Same here: I receive some, not all. The packages installation mails were lost in nowhere.
Yes, something is broken and has been for several releases now. It is not an alias issue, it's something in the YOU update script that no longer works.
Scott
-- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
On Tuesday 12 July 2005 03:31, Scott Leighton wrote:
On Monday 11 July 2005 5:25 am, Carlos E. R. wrote:
The Monday 2005-07-11 at 09:19 +0200, solenoid (lists) wrote:
Since I have the same problem, I checked my /etc/aliases. The alias to my user name was already there - but I still don't receive system mail... What could be the next step?
Same here: I receive some, not all. The packages installation mails were lost in nowhere.
Yes, something is broken and has been for several releases now. It is not an alias issue, it's something in the YOU update script that no longer works.
This was discussed a while back. Didn't my solution then work? /etc/sysconfig/suseconfig, variables MAIL_REPORTS_TO and MAIL_LEVEL If you set those to appropriate values, don't you get the mail?
On Monday 11 July 2005 6:45 pm, Anders Johansson wrote:
On Tuesday 12 July 2005 03:31, Scott Leighton wrote:
On Monday 11 July 2005 5:25 am, Carlos E. R. wrote:
The Monday 2005-07-11 at 09:19 +0200, solenoid (lists) wrote:
Since I have the same problem, I checked my /etc/aliases. The alias to my user name was already there - but I still don't receive system mail... What could be the next step?
Same here: I receive some, not all. The packages installation mails were lost in nowhere.
Yes, something is broken and has been for several releases now. It is not an alias issue, it's something in the YOU update script that no longer works.
This was discussed a while back. Didn't my solution then work?
/etc/sysconfig/suseconfig, variables MAIL_REPORTS_TO and MAIL_LEVEL
If you set those to appropriate values, don't you get the mail?
Nope, I can't recall the last time I received a report, it had to be 9.1, and I'm sure that I should have received some many times since then (plenty of rpmnew files laying around that should have been reported). Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
On Tuesday 12 July 2005 03:49, Scott Leighton wrote:
Nope, I can't recall the last time I received a report, it had to be 9.1, and I'm sure that I should have received some many times since then (plenty of rpmnew files laying around that should have been reported).
And what do you have in the file /etc/sysconfig/suseconfig ?
On Monday 11 July 2005 6:52 pm, Anders Johansson wrote:
On Tuesday 12 July 2005 03:49, Scott Leighton wrote:
Nope, I can't recall the last time I received a report, it had to be 9.1, and I'm sure that I should have received some many times since then (plenty of rpmnew files laying around that should have been reported).
And what do you have in the file /etc/sysconfig/suseconfig ?
helphand:/etc/sysconfig # grep MAIL suseconfig MAIL_REPORTS_TO="root" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" MAIL_LEVEL="all" helphand:/etc/sysconfig # Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
On Tuesday 12 July 2005 04:28, Scott Leighton wrote:
On Monday 11 July 2005 6:52 pm, Anders Johansson wrote:
On Tuesday 12 July 2005 03:49, Scott Leighton wrote:
Nope, I can't recall the last time I received a report, it had to be 9.1, and I'm sure that I should have received some many times since then (plenty of rpmnew files laying around that should have been reported).
And what do you have in the file /etc/sysconfig/suseconfig ?
helphand:/etc/sysconfig # grep MAIL suseconfig MAIL_REPORTS_TO="root" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" MAIL_LEVEL="all" helphand:/etc/sysconfig #
and with this, root gets no mail at all? Note that the rpmnew/old files aren't reported in email, they are put in /var/log/update-messages when /etc/init.d/rpmconfigcheck runs This behaviour has changed since previous versions, I'm not sure how /var/log/update-messages is presented, if at all, but it is not among the files that gets sent to you
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-07-12 at 04:42 +0200, Anders Johansson wrote:
helphand:/etc/sysconfig # grep MAIL suseconfig MAIL_REPORTS_TO="root" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" MAIL_LEVEL="all" helphand:/etc/sysconfig #
and with this, root gets no mail at all?
No, we get emails, of course, but we we don't get the notices that used to be emailed to root on certain packages installation.
Note that the rpmnew/old files aren't reported in email, they are put in /var/log/update-messages when /etc/init.d/rpmconfigcheck runs
Yes, (some of) the notices are there, but not in my email, and I'm used to that, and I want that. I don't understand why they are not emailed.
This behaviour has changed since previous versions, I'm not sure how /var/log/update-messages is presented, if at all, but it is not among the files that gets sent to you
Not the file, but each notice individually, one email each. And... that /var/log/update-messages is incomplete. Since I updated to 9.3, the only notices are: rpmconfigcheck Sat Apr 23 04:59:31 CEST 2005 rpmconfigcheck Fri May 6 18:50:00 CEST 2005 That's all there is there! That's not the file. It doesn't contain what it should! That file contains over 6000 lines of reports, but all of them pertain to previous SuSE versions, except those two above. As matter of fact, I got one email to root of the type I'm talking about, and it is not contained in that file: 154 Apr 26 root (1701) SuSEconfig: message for package krb5.1 - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFC07EFtTMYHG2NR9URAshXAJ9hYdrTkBK7OyxG9kvwMQRizVU9/wCfbvVD EwQP7Z9Zm4d7rLnJbNsgjO8= =XFH0 -----END PGP SIGNATURE-----
On Tuesday 12 July 2005 5:01 am, Carlos E. R. wrote:
The Tuesday 2005-07-12 at 04:42 +0200, Anders Johansson wrote:
helphand:/etc/sysconfig # grep MAIL suseconfig MAIL_REPORTS_TO="root" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" MAIL_LEVEL="all" helphand:/etc/sysconfig #
and with this, root gets no mail at all?
No, we get emails, of course, but we we don't get the notices that used to be emailed to root on certain packages installation.
Note that the rpmnew/old files aren't reported in email, they are put in /var/log/update-messages when /etc/init.d/rpmconfigcheck runs
Yes, (some of) the notices are there, but not in my email, and I'm used to that, and I want that. I don't understand why they are not emailed.
This behaviour has changed since previous versions, I'm not sure how /var/log/update-messages is presented, if at all, but it is not among the files that gets sent to you
Not the file, but each notice individually, one email each.
And... that /var/log/update-messages is incomplete. Since I updated to 9.3, the only notices are:
rpmconfigcheck Sat Apr 23 04:59:31 CEST 2005 rpmconfigcheck Fri May 6 18:50:00 CEST 2005
That's all there is there! That's not the file. It doesn't contain what it should! That file contains over 6000 lines of reports, but all of them pertain to previous SuSE versions, except those two above.
As matter of fact, I got one email to root of the type I'm talking about, and it is not contained in that file:
154 Apr 26 root (1701) SuSEconfig: message for package krb5.1
-- Cheers, Carlos Robinson
I didn't receive Anders original post here, which was replying to my reply (darn ISP of mine has some flakey servers that falsely throw 'no such user here' messages every once and awhile). Anyways, Carlos has hit the nail right on the head. His description is exactly what I am experiencing here. Root gets mail fine, it's just the update emails that are no longer getting delivered. If that's an intentional change on SuSE's part, then IMHO it's a step backwards... I found those emails invaluable and real timesavers. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-07-12 at 19:16 -0700, Scott Leighton wrote:
I didn't receive Anders original post here, which was replying to my reply (darn ISP of mine has some flakey servers that falsely throw 'no such user here' messages every once and awhile).
Alas, there is no such thing as a good ISP...
Anyways, Carlos has hit the nail right on the head. His description is exactly what I am experiencing here. Root gets mail fine, it's just the update emails that are no longer getting delivered. If that's an intentional change on SuSE's part, then IMHO it's a step backwards... I found those emails invaluable and real timesavers.
Not only the emails, the log doesn't contain the reports either. It could be that the emails are not generated by SuSEconfig any longer. But the contents of the emails should be inside the rpms somewhere. If that is not so, that is the problem, the maintainers are not writing the texts. If they are in the rpms, the fault is some script somewhere: that's what I guess it is happening. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFC1coitTMYHG2NR9URAmOnAJ9AupdSLKNjDMyqAXHVEfRTq7+IJgCdH9ZT ffa48Pva52upkj/mxTodATc= =TM70 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-07-12 at 03:45 +0200, Anders Johansson wrote:
This was discussed a while back. Didn't my solution then work?
I remember.
/etc/sysconfig/suseconfig, variables MAIL_REPORTS_TO and MAIL_LEVEL
If you set those to appropriate values, don't you get the mail?
They were set "years" ago: MAIL_REPORTS_TO="root" MAIL_LEVEL="warn" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" # you will only get the important mails. If you set it to "all", you will # also receive the logs. I receive mails sent to root, yes; I get the daily "logdigest" report, the security reports (daily, weekly, monthly - but broken, they are unfinished), cron reports... But I do not receive mails from rpm installed, sent by SuSEconfig. I got none when I updated from 9.1 to 9.3, and I'm sure I should have got several. I only got two later, about krb5.1 and php4-notify. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFC06z7tTMYHG2NR9URAjpWAJ9xzP8H3zzmamKsJwJcQvucoHTToACfXbbF p5uzN1Fhqalw4yMR7/hOuYA= =0GJQ -----END PGP SIGNATURE-----
Am Mon, 2005-07-11 um 04.37 schrieb Mitja:
Hi!
Again me with SuSE 9.3... I like to receive a system messages to the user as mail. On earlier versions this works but now i don't now how to configure.
From /etc/aliases: # It is probably best to not work as user root and redirect all # email to "root" to the address of a HUMAN who deals with this # system's problems. Then you don't have to check for important # email too often on the root account. # The "\root" will make sure that email is also delivered to the # root-account, but also forwared to the user "joe". # root: joe, \root
root: YourUsername, \root The Backslash indicates that root will get one copy of the systemmails. After doing this you have to run newaliases to rebuild the database See also man aliases and man newaliases
Mitja
HTH -- Peter Thill <peter_thill@web.de>
On Mon, 2005-07-11 at 09:43 +0200, Peter Thill wrote:
Am Mon, 2005-07-11 um 04.37 schrieb Mitja:
Hi!
Again me with SuSE 9.3... I like to receive a system messages to the user as mail. On earlier versions this works but now i don't now how to configure.
From /etc/aliases: # It is probably best to not work as user root and redirect all # email to "root" to the address of a HUMAN who deals with this # system's problems. Then you don't have to check for important # email too often on the root account. # The "\root" will make sure that email is also delivered to the # root-account, but also forwared to the user "joe". # root: joe, \root
root: YourUsername, \root
All this will do, if the root account is not logged into on a regular basis, is root's mail folder filling up. If the root account is rarely used only add your user name. Also, there is not that much system mail unless you have something running to create it. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
participants (9)
-
Anders Johansson
-
Angus Beath
-
Carlos E. R.
-
James Knott
-
Ken Schneider
-
Mitja
-
Peter Thill
-
Scott Leighton
-
solenoid (lists)