/etc/mailname and cron
tony B
tandj at netins.net
Sat Apr 29 23:31:32 UTC 2006
On Sat, 2006-04-29 at 11:46 +0100, Tony Arnold wrote:
> Tony,
>
> I'm surprised you don't have mail. I thought it was installed by default
> on breezy. And indeed I thought cron would depend on it, but I've just
> checked and cron depends on postfix or mail-transport-agent.
I'm running Dapper Beta. I forgot to include that in my original post,
but did mention it in a follow-up.
>
> I think I suggested earlier that you try mailing root and checking the
> postfix logs. They are in /var/log/mail.log and /var/log/mail.err. Both
> these files may give you a clue about what is happening to mail to root.
Yes, I thought I responded to that, but apparently didn't. The root
gets sent to the isp root account. Log entries:
Apr 22 07:35:46 aurora postfix/qmgr[4769]: 63F196D:
from=<root at netins.net>, size=487, nrcpt=1 (queue active)
Apr 22 07:35:46 aurora postfix/smtp[31721]: 63F196D:
to=<root at netins.net>, orig_to=<root>,
relay=mx.netins.net[167.142.226.65], delay=0, status=sent (250 921989121
message accepted for delivery)
Apr 22 07:35:46 aurora postfix/qmgr[4769]: 63F196D: removed
>
> But it looks to me like cron/anacron is sending mail to your local root
> user, but a config error is causing this to be delivered to your ISP and
> not your local machine. You could send me your postfix config file and
> I'll take a quick look at them, if you like. The file to send is
> /etc/postfix/main.cf. It shouldn't contain anything sensitive such as
> passwords, but feel free to mask these out if any are there. Can you
> also remind me what is in /etc/mailname again. I'm losing track!
Agreed. I will send along the info later. I'm having a lot of
un-anticipated interruptions, and I won't be able to get to it utnil
later. Also, I've tried reconfiguring as suggested by derek, but that
has not worked yet, and the config file may be somewhat different than
originally.
I'll follow-up to this again with a few more comments later, but I'm
just looking in for a second before I have to leave.
Much thanks to you Tony and to derek also.
Best,
tony (too)
More information about the ubuntu-users
mailing list