format of time in sendmail logs (was: Re: Date format)

Joost van Baal joostvb at logreport.org
Tue Oct 16 09:17:46 CEST 2001


Hi jibus,

[ I Cc the publicly accessible questions at logreport.org
mailinglist in my reply, I hope you do not mind. ]

On Tue, Oct 16, 2001 at 09:06:02AM +0200, lgi wrote:
> 
> Somebody can help me to understand howto change this format ???? 
> my date is : Tue Oct 16 09:01:21 CEST 2001   and I want to put this form in 
> the  Email.pm instead of 
> $it=/^(([\+\-]?[0-9]*)\+?)??([\+\-]?[0-9]+):([\+\-]?[0-9]+):([\+\-]?[0-9]+)$/) 
>   
> to avoid
> 
> mail sendmail lr_tag-20011015174335-18082 sendmail2dlf err cannot sanitize 
> 'delay', '1986', skipping
> email all lr_tag-20011015174335-18082 Lire::Email err sanitize: cannot 
> sanitize delay '4815': invalid format. should look like [dd+]hh:mm:ss

It's not the date format which causes the error.  In your sendmail log, Lire
finds '4815' in a field where it expects a delay field.  These fields
generally look like e.g. 1+23:57:50.  Did you tweak your sendmail
configuration in a non-standard way?  Is the file you use _really_ a
valid sendmail logfile?  Could you please run Lire on a small snippet of
your log, which would give the same error?  Could you please show us
this logsnippet?  (I assume no sensitive data would be in this snippet.)

BTW, what version of Lire are you using?

I am very curious to what causes this problem, and I'd very much like to
get it fixed.

Thanks for your question!

Bye,

Joost


-- 
Joost van Baal              . .           http://www.logreport.org/
                           .   .
/^LogReport$/               . .               joostvb at logreport.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20011016/9ea43350/attachment.bin 


More information about the Questions mailing list