Mail bandwidth not being counted under the correct domains

1 post / 0 new
#1 Wed, 01/08/2014 - 10:41
watermark

Mail bandwidth not being counted under the correct domains

We're running ubuntu 12.04 and installed using the install gpl version via the install script. We've had bandwidth monitoring enabled for a while and recently tried to have the bandwidth monitoring include sent email messages. I went into the bandwidth monitoring setup and set the path to the mail log. We have many virtual servers, but all of the email traffic shows up under our in house domain and not in the individual domains.

In our case, all email traffic is being sent by php (fcgi) and "Run CGI scripts as domain owner" is checked, so in the logs they are appearing as being from customer_username@inhousedomain.com. Which is probably why all of the traffic is being counted for our inhousedomain.com virtual server.

Is there someway I can make the bandwidth monitoring include the customer_username@inhousedomain.com in the customer_username virtual server and not the inhousedomain virutal server?