1.Please check whether the lineHello,
I'm trying to achieve the same but in the tracking center, i don't see any subject being logged. Also, is it possible to export the tracking center output to CSV ?
$self->log (3, "$queue->{logid}: Subject: %s", PMG::Utils::rfc1522_to_html($entity->head->get ('subject', 0)) || 'No Subject');
is really inserted under “PHASE 2” part in the "/usr/bin/pmg-smtp-filter" file.
Then...
systemctl restart pmg-smtp-filter
2. Direct export is not possible.
But you can maybe use the "/var/log/mail.log" file.