# cat /etc/timezone
Etc/UTC
# pmgsh get /statistics/mail -starttime 1618185600 -endtime 1618272000
200 OK
{
"avptime" : 1.45419465135408,
"bounces_in" : 7,
"bounces_out" : 9,
"bytes_in" : 44981912,
"bytes_out" : 71711384,
"count" : 573,
"count_in" : 464,
"count_out" : 109,
"glcount" : 0,
"junk_in" : 280,
"junk_out" : 0,
"pregreet_rejects" : 248,
"rbl_rejects" : 27,
"spamcount_in" : 5,
"spamcount_out" : 0,
"spfcount" : 0,
"viruscount_in" : 0,
"viruscount_out" : 0
}
# pmgsh get /statistics/spamscores -starttime 1618185600 -endtime 1618272000
200 OK
[
{
"count" : 155,
"level" : "0",
"ratio" : 0.82010582010582
},
{
"count" : 11,
"level" : "1",
"ratio" : 0.0582010582010582
},
{
"count" : 18,
"level" : "2",
"ratio" : 0.0952380952380952
},
{
"count" : 0,
"level" : "3",
"ratio" : 0
},
{
"count" : 1,
"level" : "4",
"ratio" : 0.00529100529100529
},
{
"count" : 0,
"level" : "5",
"ratio" : 0
},
{
"count" : 1,
"level" : "6",
"ratio" : 0.00529100529100529
},
{
"count" : 1,
"level" : "7",
"ratio" : 0.00529100529100529
},
{
"count" : 1,
"level" : "8",
"ratio" : 0.00529100529100529
},
{
"count" : 0,
"level" : "9",
"ratio" : 0
},
{
"count" : 1,
"level" : "10",
"ratio" : 0.00529100529100529
}
]