On 2006-02-06, Arno Lehmann wrote:
> Hello,
> 
> On 2/6/2006 11:11 AM, Luc MAIGNAN wrote:
> >  Hi,
> >
> >I use a Bacula feature to send me an email when a backup is done. The 
> >mail is sent to me but with a date of 01-01-1970 (the date of the smtp 
> >server seems good). I use Baucla 1.38.5.
> >
> >Any ideas ?
> 
> This has been reported before. I don't know if ever a reason was found, 
> but the workaround is rather simple: Just use another mailer, like mail 
> on your system. With minimal effort, the common 'mail' commands can do 
> what Bacula needs.
> 
> IIRC, Kern once stated that bsmtp was nothing but a last-resort mail 
> sender for systems without anything better, so I suppose bsmtp problems 
> will not have a high priority.
> 

I think bsmtp uses some date functions which are specific to the LOCAL
setting. So "Fri, 03 Mar 2006 10:37:33" becomes "Fri, 03 Mär 2006
10:37:33" in german locale, which is not a valid RFC2822 date header.
Most mail clients interprets this invalid value as 01.01.1970 .

A "unset LOCAL" before calling the bsmtp binary should fix this.

I just observed this these days, because März is the only month in
german with umlauts in its name. ;-) 

-- 
Georg


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to