- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem sendmail time information
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 05:08 AM
тАО05-09-2003 05:08 AM
Problem sendmail time information
In my case I have a TIMEZONE, TZ=WET0WETDST (for Belgium).
I don't use TimeZoneSpec in the file sendmail.cf
When I send a mail from my unix server at 15:03 (output of command date, exact time) to my exchange mailbox, in the file mail.log, the the mail is send at 13:03
When I look in my client mailbox, the arrival time is 15:03, but the send time in my mailbox, the time is 16:03.
How can I solve this problem? Who can explain this time difference?
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 05:13 AM
тАО05-09-2003 05:13 AM
Re: Problem sendmail time information
1. Specify a timezone in the /etc/mail/sendmail.cf file
in the following manner:
O TimeZoneSpec=GMT0BST
2. Execute the following commands to stop and re-start sendmail:
A. cd /sbin/init.d
B. ./sendmail stop
C. ./sendmail start
3. Send a test message.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 05:13 AM
тАО05-09-2003 05:13 AM
Re: Problem sendmail time information
echo \$Z | /usr/sbin/sendmail -bt -d
it will give you all your sendmail configs.
sendmail get its time from the system clock.
/etc/TIMEZONE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 05:28 AM
тАО05-09-2003 05:28 AM
Re: Problem sendmail time information
I performed a test : no difference.
Dony,
Which values says i am using my local timezone ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 06:09 AM
тАО05-09-2003 06:09 AM
Re: Problem sendmail time information
O TimeZoneSpec=
This will then get the TZ variable same way as every other programs and daemons.
Then restart sendmail daemon...
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2003 06:15 AM
тАО05-09-2003 06:15 AM
Re: Problem sendmail time information
Problem is still the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2003 01:52 PM
тАО05-10-2003 01:52 PM
Re: Problem sendmail time information
Try using /sbin/set_parms timezone to set the timezone for the machine, make sure that the /etc/profile has the correct timezone in it, and check to see that your and/or the client's .profile don't have a timezone setting in them.
If you use set_parms, you're going to have to reboot before it will take effect.
Good luck!
Seth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2003 06:27 PM
тАО05-10-2003 06:27 PM
Re: Problem sendmail time information
Suggestion:
Make sure all machines involved are in synch with time. That includes local pc's.
This can be insured in hp-ux by having consistent time zone info on ALL machines as noted earlier.
This can be enhanced by connectiing to a time server on the Internet with the ntp.conf an xntpd daemon.
http://www.ntp.org/
http://developer.novell.com/research/appnotes/1999/july/03/02.htm
Included in the above site is a free program for any windows machines involved.
Here is some refernce material for HP-UX.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x3cf0e822e739d711abdc0090277a778c,00.html
Configuring ntp hp.docs
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/63-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/63-toc.html&searchterms=ntp&queryid=20030510-202545
Preparation(11.x)
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B5158-90019/B5158-90019_top.html&con=/hpux/onlinedocs/B5158-90019/00/00/32-con.html&toc=/hpux/onlinedocs/B5158-90019/00/00/32-toc.html&searchterms=ntp&queryid=20030510-202545
Troubleshooting
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90110/B2355-90110_top.html&con=/hpux/onlinedocs/B2355-90110/00/00/71-con.html&toc=/hpux/onlinedocs/B2355-90110/00/00/71-toc.html&searchterms=ntp&queryid=20030510-202545
Advanced ntp
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/65-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/65-toc.html&searchterms=ntp&queryid=20030510-202545
Good Luck
Prott-man
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2003 01:45 AM
тАО05-12-2003 01:45 AM
Re: Problem sendmail time information
To find out which system thinks what the time is, take a look at the received message on the Exchange box. Examine the header information. This will show when the hosts (involved in the route) think they handled the mail. It is usually relative to GMT
Received: from
Received: from
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2003 01:52 AM
тАО05-12-2003 01:52 AM