I have a server which hosts a number of applications mostly built with Drupal. These applications are configured to send mails and Postfix is my MTA.
Is it possible to have the applications and/or Postfix configured to identify in its log [maillog] which application or domain a mail originates from?
So for example, if I have applications/domains: a.com b.com and c.com, is it possible to show these against each mail in /var/log/maillog? Thanks.