PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > Wrong date & time Mail Delivery System's mails
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Wrong date & time Mail Delivery System's mails

Réponse
 
LinkBack Outils de la discussion
Vieux 08/03/2006, 12h16   #1 (permalink)
Gunnar_Frenzel@web.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Wrong date & time Mail Delivery System's mails

Hello,
I have a FreeBSD 6.0 system with Postfix v2.2.5 and Courier-IMAP. All
is working fine so far, but the mails from the Mail Delivery System
(e.g. undelivered mail notifications etc.) has a date of 1.1.1980.
Where do I have to configfure postfix to get the right date and time
information in these mails?
Thanks in advance.
Gunnar

  Réponse avec citation
Vieux 08/03/2006, 23h06   #2 (permalink)
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Wrong date & time Mail Delivery System's mails


Gunnar,

Is the time/date displayed correctly with the system "date" command?

If yes, then usually the only other thing you have to worry about
with Postfix, is the case where Postfix is configured to run chroot'ed: there needs to be
a copy of /etc/localtime in the chroot'ed etc directory (and perhaps some other
supporting items in the chroot'ed lib, bin, or etc).

If all that is okay, it's probably a software bug somewhere. Kind of weird
that it's displaying the UNIX Epoch date of 1-1-1980.

--
Greg


Gunnar_Frenzel@web.de wrote:
> Hello,
> I have a FreeBSD 6.0 system with Postfix v2.2.5 and Courier-IMAP. All
> is working fine so far, but the mails from the Mail Delivery System
> (e.g. undelivered mail notifications etc.) has a date of 1.1.1980.
> Where do I have to configfure postfix to get the right date and time
> information in these mails?
> Thanks in advance.
> Gunnar
>

  Réponse avec citation
Vieux 09/03/2006, 09h09   #3 (permalink)
Gunnar_Frenzel@web.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Wrong date & time Mail Delivery System's mails

Hi,

the date command returns the correct date and time, all other
application (that I use so far) are also working with the correct date.
Even with all components in master.cf set to chrooted n the problem
with 1.1.1980 persists.
So I have no idea where to look for the problem.

Gunnar

  Réponse avec citation
Vieux 09/03/2006, 22h14   #4 (permalink)
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Wrong date & time Mail Delivery System's mails

Gunnar_Frenzel@web.de wrote:
> Hi,
>
> the date command returns the correct date and time, all other
> application (that I use so far) are also working with the correct date.
> Even with all components in master.cf set to chrooted n the problem
> with 1.1.1980 persists.
> So I have no idea where to look for the problem.
>
> Gunnar
>


Someone mentioned that with FreeBSD it might be an issue with the
CMOS clock not being synced with the kernel clock, as controlled by adjkerntz:


adjkerntz -- adjust local time CMOS clock to reflect time zone changes
and keep current timezone offset for the kernel

http://www.freebsd.org/cgi/man.cgi?q...SD+7.0-current

--
Greg
  Réponse avec citation
Vieux 10/03/2006, 17h18   #5 (permalink)
Gunnar_Frenzel@web.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Wrong date & time Mail Delivery System's mails

adjkerntz is running from crontab daily from 0 to 5 a.m. any half an
hour. Does this sync the clocks properly or are there any additional
settings necessary? If the clocks aren't synced shouldn't that just
lead to a difference from a couple of hours depending on the local time
zone?
When any message has the time stamp 1.1.1980 01:00 this seem to be an
default because looking up the current date and time failed, right? In
case of a sync problem the time shouldn't be always the exactly same
minute or am I getting something wrong?

  Réponse avec citation
Vieux 17/03/2006, 18h11   #6 (permalink)
Gunnar_Frenzel@web.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Wrong date & time Mail Delivery System's mails

Hmm, looks like the problem is not with my webserver. I tried with
sending emails to non existent users on my mailserver from my mail
account on http://gmx.net When I use any other provider the date is
correct and also when I sent to non existent mail addresses from on
other mail servers from my gmx account I get the 1.1.1980. So it looks
like there's a problem with gmx's qmail and not with my FreeBSD/postfix
system.
Thanks for your anyway.
Gunnar

  Réponse avec citation
Vieux 08/04/2006, 07h37   #7 (permalink)
Michael Hearne
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Wrong date & time Mail Delivery System's mails

> Gunnar_Frenzel@web.de wrote:
>
>> Hello,
>> I have a FreeBSD 6.0 system with Postfix v2.2.5 and Courier-IMAP. All
>> is working fine so far, but the mails from the Mail Delivery System
>> (e.g. undelivered mail notifications etc.) has a date of 1.1.1980.
>> Where do I have to configfure postfix to get the right date and time
>> information in these mails?
>> Thanks in advance.
>> Gunnar
>>

Greg Hackney wrote:
>
> Gunnar,
>
> Is the time/date displayed correctly with the system "date" command?
>
> If yes, then usually the only other thing you have to worry about
> with Postfix, is the case where Postfix is configured to run chroot'ed:
> there needs to be
> a copy of /etc/localtime in the chroot'ed etc directory (and perhaps
> some other
> supporting items in the chroot'ed lib, bin, or etc).
>
> If all that is okay, it's probably a software bug somewhere. Kind of weird
> that it's displaying the UNIX Epoch date of 1-1-1980.
>
> --
> Greg
>
>


The UNIX Epoch date is 1-1-1970. The 1-1-1980 date would refer to an IBM
XT BIOS from the very beginning of the PC. I'm sure the OP isn't using
an 8088, but that date was used until the early i586/Pentium I releases
(about 1994).

He may have a dead cmos battery on an older mainboard or he may just
need to set the system/hardware time.

More on date:

http://www.penguin-soft.com/penguin/...tion.date.html

Michael

--
RLU #352695
35.14N - 101.50W
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h17.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13110 seconds with 15 queries