Re: Sendmail user mail file missing - Again

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

 



David Niemi wrote:
On Mon, 2005-08-08 at 12:06 +0100, Paul Howarth wrote:

David Niemi wrote:

Thanks for the tips, I tried it an the user still doesn't receive the
messages from the cron jobs via aliases.  Yes, I did verify that the
name to receive the root email is correct and I did run newaliases.

I created another user and for this user the mail file was automatically
created when the user was created.

Any other ideas?

Is there a .procmailrc file in the home directory of the "problem" user? If so, what does it contain?


There is no .procmailrc file in the home directory (/home/daven) of the
user, nor is there in the FC3 backup of the user folder.  Once the user
was created and I was finally able to log in I only copied over the user
files and the .evolution and the .mozilla directories. I was leary of
copying anything else forward unless I found I needed it.

Run this command:

$ Mail -s "test message" root < /etc/fedora-release

Wait a few seconds, then look at the end of /var/log/maillog to see what happened to the message.


Aug  8 07:14:37 Jenny sendmail[31172]: j78BEbAq031172: from=daven,
size=63, class=0, nrcpts=1,
msgid=<200508081114.j78BEbAq031172@xxxxxxxxxxxxxxx>,
relay=daven@localhost
Aug  8 07:14:38 Jenny sendmail[31173]: j78BEb04031173:
from=<daven@xxxxxxxxxxxxxxx>, size=356, class=0, nrcpts=1,
msgid=<200508081114.j78BEbAq031172@xxxxxxxxxxxxxxx>, proto=ESMTP,
daemon=MTA, relay=Jenny.daveshome [127.0.0.1]
Aug  8 07:14:38 Jenny sendmail[31172]: j78BEbAq031172: to=root,
ctladdr=daven (500/500), delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=30063, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(j78BEb04031173 Message accepted for delivery)
Aug  8 07:14:38 Jenny sendmail[31174]: j78BEb04031173:
to=<root@xxxxxxxxxxxxxxx>, ctladdr=<daven@xxxxxxxxxxxxxxx> (500/500),
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30575, dsn=2.0.0,
stat=Sent

So it looks like the message isn't being forwarded.  I su'd and sent a
message the same way to daven and it was received.  I then went to /etc,
checked the aliases file and the last line has the person to receive
root's e-mail as daven, and reran newaliases, and got the expected
output.  as daven I tried the mail again and it wasn't received.

What's the output of:
# praliases | grep root | sort

There should be a line:

root:daven

if you've set up the alias properly.

If it's not there, what's the output of:
# grep daven /etc/aliases

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux