Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] rootmail does not work, no matter what
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 27 Sep 2017 12:21:24 +0200
  • Message-id: <oqfu34$2i0$1@saturn.local.net>
stakanov wrote:

Is this still the issue of root not receiving mails sent to root?
You said you went with my proposal #3 and re-enabled IPv6 - what
happened
after that? Were you or were you not able to send an email to root?

[snip]
So, I still do not have rootmail. I enabled ipv6 and now when I send
mail I do not have any feedback, so no error message. But the mail
does not arrive in the /var/mail/root folder.

To make progress, you need to look at what happens to such a mail then.
The mail log will tell you. I would expect to see something very similar
to this:

2017-09-27T12:13:54+02:00 aznavour pickup[15929]: 46FD76109A: uid=0
from=<root>
2017-09-27T12:13:54+02:00 aznavour cleanup[16138]: 46FD76109A:
message-id=<20170927101354.46FD76109A@xxxxxxxxxxxxxxxxx>
2017-09-27T12:13:54+02:00 aznavour qmgr[15928]: 46FD76109A:
from=<root@xxxxxxxxxxxxxxxxx>, size=443, nrcpt=1 (queue active)
2017-09-27T12:13:54+02:00 aznavour local[16141]: 46FD76109A:
to=<root@xxxxxxxxxxxxxxxxx>, orig_to=<root>, relay=local, delay=0.07,
delays=0.04/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
2017-09-27T12:13:54+02:00 aznavour qmgr[15928]: 46FD76109A: removed

Also entropia does not receive. But...I found out the third user
receives and received also the error diagnostic code for entropia:
<entropia@localhost> (expanded from <root>):

I guess you have aliased root to entropia? That would explain why no
mails are delivered to root.

cannot update mailbox
/var/mail/entropia for user entropia. cannot open file: Permission
denied

[snip]
Now let us see the difference in permissions....

entropia@roadrunner:/var/mail> cd /var/mail
entropia@roadrunner:/var/mail> dir
totale 112
-rw-r--r-- 1 connectix users 11573 27 set 11.34 connectix
-rw-r--r-- 1 mercurio users 0 27 lug 21.27 entropia
-rw-rwx---+ 1 root root 97541 23 set 00.57 root
-rw-rw---- 1 tss mail 0 10 set 09.41 tss

WTF, both users have same permissions. And why does entropia not
receive mail but connectix..does. And root doesn't????? And why doe I
have user tss?? What is user tss, I googled and did not find any
answer. Still more puzzled.

entropia does not receive any mail because the 'entropia' directory is
owned by another user 'mercurio'.
connectix does receive any mail because the 'connectix' directory is
owned by 'connectix'.

I don't know where user 'tss' may have come from. I suggest you pursue
that later.



--
Per Jessen, Zürich (17.6°C)
http://www.hostsuisse.com/ - virtual servers, made in Switzerland.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References