X-Git-Url: https://code.th-h.de/?p=usenet%2Fusevote.git;a=blobdiff_plain;f=UVreadmail.pm;h=0a1f98f7fe56b58f17d862fde657c3a516c5c3ed;hp=ac1b84348649852fd8a2f1d5c8d5b5598bcc4cb4;hb=b4bfb234881080210ca8d019b8aa317b3a709d56;hpb=98343f2272a7c8ad7bdd2054b6028eb3b5a9252d diff --git a/UVreadmail.pm b/UVreadmail.pm index ac1b843..0a1f98f 100644 --- a/UVreadmail.pm +++ b/UVreadmail.pm @@ -145,6 +145,7 @@ sub process { access => 'rw', type => $config{mailboxtype}, expand => 'LAZY', + remove_when_empty => 0, ); }; die UVmessage::get("READMAIL_NOMAILFILE", (FILE => $readfilename)) . "\n\n" if $@; @@ -161,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); } }