[CentOS] how to calculate mail storage/traffic used

Mon Nov 11 02:16:40 UTC 2013
Ned Slider <ned at unixmail.co.uk>

On 07/11/13 13:21, Götz Reinicke - IT Koordinator wrote:
> Hi,
> we have to setup a server which gets a copy of all messages send and
> received by our mailserver as a 1:1 copy. Mails send to multiple
> recipients should be calculated and saved per user. (great if you
> usually have lost of mails send to groups of people.)
> So no dedublication should be used here. (e.g. save the message and
> refer the different recipients to it.)
> How can I calculate the current traffic in the best way to extrapolate
> the amount of space to be planed for the new server?
> We think to have a couples of days to be saved.
> 	Thanks for any hint or comment. Regards Götz

You don't say what MTA you are using. If it's Postfix (the default in 
RHEL6), pflogsumm can provide such information from your logs.