Operating System - HP-UX
1753664 Members
6076 Online
108798 Solutions
New Discussion юеВ

Re: Problem sendmail time information

 
T G Manikandan
Honored Contributor

Re: Problem sendmail time information

What does /etc/TIMEZONE file have.
Modify the entry to the appropriate timezone.

What about the TZ information in $HOME/.mailrc

check them out
john korterman
Honored Contributor

Re: Problem sendmail time information

Hi Luk,
You have already had a number of suggestions. If you think it worth while, try this, which tries to check with which time a mail is created on the unix machine.
Create a mail to an impossible addres in order that it will not be sent, e.g.:
# echo flop | sendmail klimbim@pladder.dk

Look for a file in /var/spool/mqueue ??? the newest starting with ???q???
# ls ???ltr /var/spool/mqueue/q*

if more than one appears, it is probably the last, e.g.:
-rw------- 1 root mail 433 Maj 12 13:27 /var/spool/mqueue/qfNAA00651


Now view it, example:
# strings /var/spool/mqueue/qfNAA00651
and look for the line containing the time stamp, e.g.:
for klimbim@pladder.dk; Mon, 12 May 2003 13:27:05 +0200 (METDST)


The line should also show the TZ offset used. If correct, you should be in the clear, and I think you can safely start by looking at the next machines in the line of events. If not, the problem is on the unix machine, and you???d then better check the other suggestions once more???.

Cleanup by removing the ???q??? file in question and the ???d??? file with the same id.


Regards,
John K.
it would be nice if you always got a second chance
Luk Vandenbussche
Honored Contributor

Re: Problem sendmail time information

Problem solved