Add correct timestamp to mbox when processing.
Picked from upstream. Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
parent
52a699fdc7
commit
3cb13d5a31
2 changed files with 4 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ sub process {
|
|||
} else {
|
||||
$fromline .= 'foo@bar.invalid';
|
||||
}
|
||||
$fromline .= ' ' . localtime() . "\n"; #strftime ('%a %b %d %H:%M:%S %Y', localtime) . "\n";
|
||||
$fromline .= ' ' . localtime($_->timestamp()) . "\n";
|
||||
push (@mails, $fromline . $mail);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue