|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
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 > |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#4 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#5 (permalink) |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#6 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#7 (permalink) |
|
Messages: n/a
Hébergeur: |
> 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 |
|
![]() |
| Outils de la discussion | |
|
|