[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] console messages & postfix time
And Lo! The Great Prophet "Bill Best" uttered these words of wisdom:
> Thanks for everyone's help on this list - I'm very much a newbie and am
> still wrestling with d(a)emons for now but I'll quieten down eventually.
>
> So, has anybody got any idea about these two totally unrelated queries:
>
> 1) I'm getting what looks to be /var/log/messages being echoed to my server
> console, like this:
...[snip]...
man klogd ... look at the parameter "-c". I'm not sure how much attention
klogd pays to syslog.conf
>
> So, I don't know why this is the case.
>
> 2) Emails from this server have a 5 hour discrepancy on the timestamp. The
> system time is sert to UTC but (I don't know) part of postfix seems to be
> set 5 hours earlier. See this from /var/log/maillog which relates to one
> message:
>
> Mar 5 12:50:51 media1 postfix/local[2071]: 9561D4046:
> to=<root [at] xxx.xxx.org>, relay=local, delay=0, status=sent (forwarded as
> A78E24049)
> Mar 5 07:50:51 media1 postfix/nqmgr[2064]: A78E24049:
> from=<root [at] xxx.xxx.org>, size=476, nrcpt=1 (queue active)
> Mar 5 07:50:52 media1 postfix/smtp[2072]: A78E24049:
> to=<bill [at] commedia.org.uk>, relay=mail.gn.apc.org[213.55.2.205], delay=1,
> status=sent (250 Ok: queued as D7AEB14B683)
When the mails are delivered, have a look at the headers - what dates/times
are there on the Received: headers? Read them from the bottom upwards to
make sense (MTAs tag a Received line on the beginning of messages as a
message passes through them).
Postfix seems to be okay looking at that log (short of the seven hour time
jump). Do syslog messages after the last postfix one have the correct date/
time? Is this being logged through syslog or does postfix have its own
logging capabilities? If syslog, are those timestamps in your example above
as they are in the messages file? If so (lots of if's :) ), then that's
syslog that adds the timestamp and not postfix. More info about how syslog
seems to be working generally would probably help :)
Chris...
--
\ Chris Johnson \ NP: Leftfield - 10. Open Up
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.