Incorrect time


Incorrect time showing in search UI


Email timestamps are recorded in UTC format in MailArchiva, and translated for display in the search interface according to Java's time zone conversion data. An email's archive time is stamped by the MailArchiva server. It's sent time is stamped by the sender mail server. Its received time is stamped by the receiving mail server. Of course, its normal for archive, sent and received times to be slightly different due to the fact that time is stamped by different servers at different times. As a first step, ensure that system time is set correctly on all these servers + the client workstation.


Update Java timezone info (Linux)

It is possible that Java's time zone conversion data needs an update. To perform the update of time zone info on Linux systems, save the contents of the below to a file called 


export JAVA_HOME="/opt/mailarchiva/jre64/"
export PATH="$JAVA_HOME/bin:$PATH"
echo "Downloading tzupdater"
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie"
cd tzupdater-2.3.2
echo "Downloading latest tzdata"
wget -O /tmp/tzdata-latest.tar.gz
sha512sum /tmp/tzdata-latest.tar.gz | cut -c -128 > /tmp/tzdata-latest.tar.gz.sha512
echo "Apply update"
java -jar tzupdater.jar -v -u -l file:/tmp/tzdata-latest.tar.gz


Run the following commands on the Linux terminal (from the same directory as file written above):


chmod +x
systemctl restart mailarchiva


© 2005 - 2024 ProProfs

Found this information useful? Visit to learn more about MailArchiva.