I run 9.1 on a box at work, 9.3 on my home box. Yesterday there was a YOU update for clamav and another package that I can't remember. On the work box (9.1), after applying the update I received a couple of emails to root advising me that certain config files were 'rpmnew'd'. On the home box, I received nothing, but a quick check reveals that those same config files were, in fact, 'rpmnew'd'. So, what's borked on my home box (9.3) that is preventing those very useful emails from being sent? I have no clue where to look, so some pointers would be most helpful. Thanks! Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
Scott Leighton wrote:
On the work box (9.1), after applying the update I received a couple of emails to root advising me that certain config files were 'rpmnew'd'.
On the home box, I received nothing, but a quick check reveals that those same config files were, in fact, 'rpmnew'd'.
So, what's borked on my home box (9.3) that is preventing those very useful emails from being sent? I have no clue where to look, so some pointers would be most helpful. Thanks!
To receive those mails you need: - to have a mailserver running, even if it's only on localhost (127.0.0.1). - localhost must have rights to send messages (postfix: mynetworks) - Also, since those mails are being sent to root, you need an alias to redirect those root messages to your real account. Sandy
On Saturday 04 June 2005 1:17 pm, Sandy Drobic wrote:
Scott Leighton wrote:
On the work box (9.1), after applying the update I received a couple of emails to root advising me that certain config files were 'rpmnew'd'.
On the home box, I received nothing, but a quick check reveals that those same config files were, in fact, 'rpmnew'd'.
So, what's borked on my home box (9.3) that is preventing those very useful emails from being sent? I have no clue where to look, so some pointers would be most helpful. Thanks!
To receive those mails you need: - to have a mailserver running, even if it's only on localhost (127.0.0.1). - localhost must have rights to send messages (postfix: mynetworks) - Also, since those mails are being sent to root, you need an alias to redirect those root messages to your real account.
All of those conditions are satisfied on both boxes. root regularly receives crontab mail and various reports (like logwatch, rkhunter, etc). In fact, I swear this _used_ to work on the 9.3 box but I don't specifically know when it stopped working. Could have stopped when I upgraded to 9.2 or even when I upgraded to 9.3, I have no clue when. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
On Saturday 04 June 2005 22:31, Scott Leighton wrote:
All of those conditions are satisfied on both boxes. root regularly receives crontab mail and various reports (like logwatch, rkhunter, etc). In fact, I swear this _used_ to work on the 9.3 box but I don't specifically know when it stopped working. Could have stopped when I upgraded to 9.2 or even when I upgraded to 9.3, I have no clue when.
What does grep root /etc/aliases output? Also, are you sure you have your email client set to monitor the local mail spool? Check /var/spool/mail/root and see if there isn't anything there
On Saturday 04 June 2005 1:52 pm, Anders Johansson wrote:
On Saturday 04 June 2005 22:31, Scott Leighton wrote:
All of those conditions are satisfied on both boxes. root regularly receives crontab mail and various reports (like logwatch, rkhunter, etc). In fact, I swear this _used_ to work on the 9.3 box but I don't specifically know when it stopped working. Could have stopped when I upgraded to 9.2 or even when I upgraded to 9.3, I have no clue when.
What does
grep root /etc/aliases
output?
root: helphand postmaster: root virusalert: root administrator: root daemon: root lp: root news: root uucp: root games: root man: root at: root postgres: root mdom: root amanda: root ftp: root wwwrun: root squid: root msql: root gnats: root nobody: root bin: root hostmaster: root faxadm: root faxmaster: root webmaster: root gnats-admin: root mailman: root
Also, are you sure you have your email client set to monitor the local mail spool? Check /var/spool/mail/root and see if there isn't anything there
helphand:~ # l /var/spool/mail/root /bin/ls: /var/spool/mail/root: No such file or directory Positive that the alias works fine, like I said in the earlier email, mailto root from various cronjobs arrives perfectly fine in my mailbox (I'm the helphand user). Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
On Saturday 04 June 2005 23:00, Scott Leighton wrote:
root: helphand
Just to be clear, this means root will never receive any mail, they will all be redirected to user 'helphand'. If you want root to receive mail you need to make it root: \root, helphand
Positive that the alias works fine, like I said in the earlier email, mailto root from various cronjobs arrives perfectly fine in my mailbox (I'm the helphand user).
OK, so it's just the suseconfig mails then. In which case, what are the settings in /etc/sysconfig/suseconfig, there are several settings in there that controls which mail are sent and to whom
On Saturday 04 June 2005 2:06 pm, Anders Johansson wrote:
On Saturday 04 June 2005 23:00, Scott Leighton wrote:
root: helphand
Just to be clear, this means root will never receive any mail, they will all be redirected to user 'helphand'. If you want root to receive mail you need to make it
root: \root, helphand
Understood, the 'root' user on this box would be me, so it is appropriate that all root mail simply forward to my helphand mailbox.
Positive that the alias works fine, like I said in the earlier email, mailto root from various cronjobs arrives perfectly fine in my mailbox (I'm the helphand user).
OK, so it's just the suseconfig mails then. In which case, what are the settings in /etc/sysconfig/suseconfig, there are several settings in there that controls which mail are sent and to whom
OK, now maybe we're getting somewhere. I'm not at work, so I can't compare the settings right now, but perhaps the warn level is the difference? helphand:/etc/sysconfig # egrep MAIL suseconfig MAIL_REPORTS_TO="root" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" MAIL_LEVEL="warn" When I go to work monday, I'll check the level on the 9.1 box there that _does_ send the mails, I bet it is set to 'all' not 'warn'. At least I have an idea where to look now, thanks Anders! Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
On Saturday 04 June 2005 4:26 pm, Scott Leighton wrote:
On Saturday 04 June 2005 2:06 pm, Anders Johansson wrote:
On Saturday 04 June 2005 23:00, Scott Leighton wrote:
root: helphand
Just to be clear, this means root will never receive any mail, they will all be redirected to user 'helphand'. If you want root to receive mail you need to make it
root: \root, helphand
Understood, the 'root' user on this box would be me, so it is appropriate that all root mail simply forward to my helphand mailbox.
Positive that the alias works fine, like I said in the earlier email, mailto root from various cronjobs arrives perfectly fine in my mailbox (I'm the helphand user).
OK, so it's just the suseconfig mails then. In which case, what are the settings in /etc/sysconfig/suseconfig, there are several settings in there that controls which mail are sent and to whom
OK, now maybe we're getting somewhere. I'm not at work, so I can't compare the settings right now, but perhaps the warn level is the difference?
helphand:/etc/sysconfig # egrep MAIL suseconfig MAIL_REPORTS_TO="root" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" MAIL_LEVEL="warn"
When I go to work monday, I'll check the level on the 9.1 box there that _does_ send the mails, I bet it is set to 'all' not 'warn'.
At least I have an idea where to look now, thanks Anders!
I've noticed the same problem, haven't gotten around to asking about it yet. Mine was set to MAIL_LEVEL="off". This apparently is the default. I changed it in yast=>etc/sysconfig editor.
On Saturday 04 June 2005 2:26 pm, Scott Leighton wrote:
On Saturday 04 June 2005 2:06 pm, Anders Johansson wrote:
On Saturday 04 June 2005 23:00, Scott Leighton wrote: OK, so it's just the suseconfig mails then. In which case, what are the settings in /etc/sysconfig/suseconfig, there are several settings in there that controls which mail are sent and to whom
OK, now maybe we're getting somewhere. I'm not at work, so I can't compare the settings right now, but perhaps the warn level is the difference?
helphand:/etc/sysconfig # egrep MAIL suseconfig MAIL_REPORTS_TO="root" # There are two levels of mailing. If you set MAIL_LEVEL it to "warn" MAIL_LEVEL="warn"
When I go to work monday, I'll check the level on the 9.1 box there that _does_ send the mails, I bet it is set to 'all' not 'warn'.
Humm, unfortunately, that was not the cause. The 9.1 box also has MAIL_LEVEL="warn", so unless the meaning of what gets mailed at the 'warn' level changed from 9.1, then this setting is not the reason I am not receiving the YOU emails on my 9.3 box. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
Scott Leighton wrote:
The 9.1 box also has MAIL_LEVEL="warn", so unless the meaning of what gets mailed at the 'warn' level changed from 9.1, then this setting is not the reason I am not receiving the YOU emails on my 9.3 box. This broke on 9.2 for me, and appears to still not work in 9.3. I asked about it a few months ago and there was one other who said it didn't work for him either, but that was all. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
On Monday 06 June 2005 8:08 pm, Joe Morris (NTM) wrote:
Scott Leighton wrote:
The 9.1 box also has MAIL_LEVEL="warn", so unless the meaning of what gets mailed at the 'warn' level changed from 9.1, then this setting is not the reason I am not receiving the YOU emails on my 9.3 box.
This broke on 9.2 for me, and appears to still not work in 9.3. I asked about it a few months ago and there was one other who said it didn't work for him either, but that was all.
Well, at least it's nice to know I'm not crazy and others are having the same issue ;) Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
participants (5)
-
Anders Johansson
-
Jim Flanagan
-
Joe Morris (NTM)
-
Sandy Drobic
-
Scott Leighton