List of received emails.

abhishekgirme

Member
Aug 24, 2021
39
1
8
43
I am looking for a way to export list of emails received by PMG and successfully forwarded to mail server.

Tracking center has limited records display. Is there any command through which i can export these logs?
 
do you only want the amount, or the detailed from/to etc. ?
for the latter you'd have to either parse the mail.log yourself or use the 'pmg-log-tracker' cli tool (this is also the tool behind the tracking center)

note that if your log is large, it may tax your system to run the tool (that's the reason why it's limited on the gui)

see 'pmg-log-tracker --help' for the cli options
 
do you only want the amount, or the detailed from/to etc. ?
for the latter you'd have to either parse the mail.log yourself or use the 'pmg-log-tracker' cli tool (this is also the tool behind the tracking center)

note that if your log is large, it may tax your system to run the tool (that's the reason why it's limited on the gui)

see 'pmg-log-tracker --help' for the cli options
mail.log contains recent conversations only. I would like to fetch details for at least 3 months.
 
you can check if the statistics contain the info you want, but aside from that you'd have to modify your log rotation, since we don't save that information elsewhere