Postfix - Logging mail size for a certain domain

Discussion in 'Server Operation' started by oninea, Nov 1, 2007.

  1. oninea

    oninea New Member

    Hi, I am new to Postfix and humbly need help with logging. I need to be able to derive the total size (meaning the size in MB as opposed to the count or number) of mails a certain domain receives. My idea is this can be done through logging. Is it even possible to log the size of emails to a given domain? If so, how can I accomplish this?

    If not, is there any other way to achieve this goal?

    Thank you in advanced for the help / direction.

    BTW, I am using Postfix on a FreeBSD machine. c:
  2. falko

    falko Super Moderator ISPConfig Developer

    You could write a procmail recipe that checks the size of each incoming mail (just as ISPConfig does to calculate the email traffic).

Share This Page