On 02/10/12 08:11, Per Jessen wrote:
Bob Williams wrote:
On 02/10/12 07:03, Per Jessen wrote:
Malcolm wrote:
On Mon, 01 Oct 2012 21:07:15 +0100 Bob Williams
wrote: On 01/10/12 20:49, Malcolm wrote:
On Mon, 01 Oct 2012 20:21:10 +0100 Bob Williams
wrote: > Once upon a time, in the days of oS 12.1 and earlier, I used to > get system mail delivered to me. This seems to have stopped since > moving to 12.2, in spite of the fact that my user has the > 'Receive System Mail' option checked in YaST > Security and Users >> User and Group Management. > > :~> mail > No mail for bob > :~> su - > Password: > :~# mail > Heirloom mailx version 12.5 7/5/10. Type ? for help. > "/var/spool/mail/root": 17 messages 17 new > > Is there anything else I need to do? Add myself to :wheel? > > Bob Hi Edit the file /etc/postfix/aliases there is a section called 'root' add your user name, probably needs un-rem as well ;) save/quit then run newaliases command.
Malcolm,
Many thanks. Presumably YaST should have done that when I checked the 'Receive System Mail' option?
Bob
Hi Bob Hmmm it adds it to /etc/aliases by the looks.... which should also work... (needs to change old habits)
User bob is now receiving system mail :)
Bob, check if /etc/aliases contains a line like this:
root bob, \root
It does
Also check the dates of /etc/aliases and /etc/aliases.db, the latter should be newer.
It is
If those are all fine, we'll need to look at your mail log and see what happens to a mail to root.
What are we looking for?
There are some lines preceding the changes suggested by Malcolm which warn that /etc/aliases.db is older than /etc/aliases
Okay, that means that "newaliases" or "postmap /etc/aliases" wasn't run when /etc/aliases was changed.
Let's check your /etc/postfix/main.cf to make sure "alias_maps" does in fact point to /etc/aliases. Just grep for alias_maps.
:~> grep alias_maps /etc/postfix/main.cf # /etc/passwd, /etc/aliases, or the $virtual_alias_maps files. #local_recipient_maps = unix:passwd.byname $alias_maps #local_recipient_maps = proxy:unix:passwd.byname $alias_maps # The alias_maps parameter specifies the list of alias databases used #alias_maps = dbm:/etc/aliases #alias_maps = hash:/etc/aliases #alias_maps = hash:/etc/aliases, nis:mail.aliases #alias_maps = netinfo:/aliases # configuration parameter, because alias_maps (see above) may specify alias_maps = hash:/etc/aliases virtual_alias_maps = hash:/etc/postfix/virtual Bob -- Bob Williams System: Linux 3.4.6-2.10-desktop Distro: openSUSE 12.2 (x86_64) with KDE Development Platform: 4.8.5 (4.8.5) "release 2" Uptime: 06:00am up 6 days 11:53, 5 users, load average: 0.08, 0.06, 0.05 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org