Afficher un message
Vieux 29/10/2006, 18h42   #6
Bill Cole
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Setting Time on Mail Servers

In article <1162108803.319859.159890@k70g2000cwa.googlegroups .com>,
"flaifel" <flaifel@gmail.com> wrote:

> Hello All,
>
> This is exactly what i was looking for Bill.
> Am using Solaris 9 as an OS, date is the normal date command on solaris
> "/usr/bin/date".
>
> What do you think??


I think you don't understand what /etc/TIMEZONE is, at least for
Solaris.

Read the man page (man TIMEZONE) carefully and completely, particularly
if you are on a x86 system, which has one extra issue not seen on
Solaris/SPARC.

Note that /etc/TIMEZONE and /etc/timezone may both exist and are
completely different things.




> regards,
> Flaifel
>
> Bill Cole wrote:
> > In article <1161947379.021879.26710@i42g2000cwa.googlegroups. com>,
> > "flaifel" <flaifel@gmail.com> wrote:
> >
> > > Hello All,
> > >
> > > Whats the best scenario to set the time on mail servers so emails have
> > > the right time when being sent??

> >
> > That depends on the operating system and mail client software where the
> > message is created. Different systems use different mechanisms to set
> > the time zone. Generally speaking, it is the mail user agent (e.g. pine,
> > mailx, Outlook, Eudora, etc.) that creates the Date header. A mail
> > server program, such as sendmail, won't change an existing Date header
> > on mail unless specially configured to do so.
> >
> > > i have in my /etc/TIMEZONE file "GMT-2 "
> > > when i issue the command date i get the following
> > >
> > > #date
> > > Fri Oct 27 13:06:54 GMT 2006
> > >
> > > The time is correct but what is this GMT in the date???

> >
> > For some reason, the 'date' program you are using thinks you are in GMT.
> > Some implementations of 'date' will look for $TZ in your environment,
> > and if it is defined but null will use GMT.
> >
> > Without knowing exactly what OS you are running and which implementation
> > of 'date' you're using, explaining exactly what is going on would be a
> > guessing game.
> >
> > --
> > Now where did I hide that website...


--
Now where did I hide that website...
  Réponse avec citation
 
Page generated in 0,06185 seconds with 9 queries